<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php print $page_title; ?></title>
	
	<link rel="shortcut icon" href="/favicon.ico" />
	<link type="text/css" rel="stylesheet" media="all" href="/css/style.css" />
	<?php if (is_file("./css/$include_keyword.css")): ?>
	<link type="text/css" rel="stylesheet" media="all" href="/css/<?php print $include_keyword; ?>.css" />
	<?php endif; ?>
	<link type="text/css" rel="stylesheet" media="all" href="/js/ui/css/redmond/jquery-ui-1.8.16.custom.css" />
	<link type="text/css" rel="stylesheet" media="all" href="/js/searchabledd/sh/shCore.css" />
	<link type="text/css" rel="stylesheet" media="all" href="/js/searchabledd/sh/shThemeDefault.css" />
	<link type="text/css" rel="stylesheet" media="all" href="/js/lib/fancybox/jquery.fancybox-1.3.4.css" />
	
	<script type="text/javascript">
		if (typeof console == "undefined") var console = { log: function() {} }; 
	</script>
	<script type="text/javascript" src="/js/ui/js/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="/js/lib/fancybox/jquery.fancybox-1.3.4.js"></script>
	<script type="text/javascript" src="/js/ui/js/jquery-ui-1.8.16.custom.min.js"></script>
	<script type="text/javascript" src="/js/ui/js/jquery.ui.datepicker-sl.js"></script>
	
	<!--script type="text/javascript" src="/js/lib/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script >
	
	<script type="text/javascript" >
	tinyMCE.init({
			mode : "textareas",
			editor_selector : "tinymce",
			theme : "simple"   //(n.b. no trailing comma, this will be critical as you experiment later)
	});
	</script -->
	
	<script type="text/javascript" src="/js/ui/js/jquery-ui-timepicker-addon.js"></script>
	<script type="text/javascript" src="/js/ui/js/jquery-ui-timepicker-sl.js"></script>
	<script type="text/javascript" src="/js/lib/jquery.tinysort.min.js"></script>
	
	<!--script type="text/javascript" src="/js/jquery.columns.js"></script>
	<script type="text/javascript" src="/js/jquery.equalheights.js"></script-->
	<script type="text/javascript" src="/js/lib/jquery.form.js"></script>
	<!--script type="text/javascript" src="/js/lib/jquery.scrollTo.js"></script-->
	<script type="text/javascript" src="/js/searchabledd/sh/shCore.js"></script>
	<script type="text/javascript" src="/js/searchabledd/sh/shBrushJScript.js"></script>
	<script type="text/javascript" src="/js/searchabledd/jquery.searchabledropdown-1.0.7.min.js"></script>
	<script type="text/javascript" src="/js/lib/jquery.quicksearch.js"></script>
	<!--script type="text/javascript" src="/js/jquery.fixedtableheader-1-0-2.min.js"></script-->
	<script type="text/javascript" src="/js/lib/jquery.ui.combobox.js"></script>
	<script type="text/javascript" src="/js/functions.js"></script>
	<!--script type="text/javascript" src="/js/jquery.equalwidths.js"></script-->
	
	<script type="text/javascript" src="/js/custom_common.js"></script>
	
	<?php if (is_file("./js/$include_keyword.js")): ?>
	<script type="text/javascript" src="/js/<?php print $include_keyword; ?>.js"></script>
	<?php endif; ?>
</head>
<body>
	<?php if (!isset($no_page_wrapper) || !$no_page_wrapper): ?>
<div class="page_wrapper">
	<div id="header">
		<div class="left_side"><h1><?php print $page_title; ?></h1></div>
		<?php if ($oUser->simpleUserInfo['user_mail'] != ''): ?>
		<div class="user_data">
			<p title="Zadnjič prijavljen <?php print date("d.m.Y \ob H:i",strtotime($oUser->simpleUserInfo['last_login'])); ?>"><b>Prijavljen uporabnik:</b> <?php print $oUser->simpleUserInfo['user_name']." ".$oUser->simpleUserInfo['user_surname']?> [<?php print $oUser->simpleUserInfo['user_mail']?>]</p>
		</div>
		<?php endif; ?>
		<ul class="user_menu">
			<li class="<?php if (empty($REQUEST_URI[0])): ?>active<?php endif; ?>"><a href="/">Izračun</a></li>
			<li class="<?php if (trim($REQUEST_URI[0],'/') == 'administracija'): ?>active<?php endif; ?>"><a href="/administracija/">Administracija</a></li>
			<li class="<?php if (trim($REQUEST_URI[0],'/') == 'logout'): ?>active<?php endif; ?>"><a href="/logout/">Logout</a></li>
		</ul>
	</div>
	<?php if (isset($_MESSAGES)) print showActionInfo($messages); ?>
	<div class="wrapper">
	
	<?php endif; ?>