<?php /* Smarty version Smarty3-b8, created on 2013-03-08 12:15:57
compiled from "template/m/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:73875139d67d029905-83129201%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'61f6aad6ccac56dc9c0d5dfa2d52b3a7cc90b0dc' =>
array (
0 => 'template/m/index.tpl',
1 => 1362744953,
),
),
'nocache_hash' => '73875139d67d029905-83129201',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $_smarty_tpl->getVariable('_title')->value;?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_smarty_tpl->getVariable('charset')->value;?>
" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<style type="text/css">
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('css')->value), $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
</style>
</head>
<body>
<div id="main">
<div id="header">
<img src="<?php echo $_smarty_tpl->getVariable('img')->value;?>
logo.png" style="float:left" alt=""/>
<?php if ($_smarty_tpl->getVariable('userlog')->value){?><a style="float:right; padding-top: 10px; padding-right: 10px;" href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=lgu&sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><input type="button" class="green" value="<?php echo Lang(array('p'=>"logout"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/></a><?php }?>
</div>
<?php if ($_smarty_tpl->getVariable('userlog')->value){?>
<div id="nav">
<ul>
<li><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=hme&sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"home"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a></li>
<li><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&id=<?php echo $_smarty_tpl->getVariable('userlog')->value['id'];?>
&sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"profile"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a></li>
<li><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=fnd&sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"friends"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a></li>
<li><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg&sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"messages"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php if ($_smarty_tpl->getVariable('UnreadCount')->value){?> <b><?php echo $_smarty_tpl->getVariable('UnreadCount')->value;?>
</b><?php }?></a></li>
<li><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=on&sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"online"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a></li>
</ul>
</div>
<?php }?>
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('page')->value), $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php if ($_smarty_tpl->getVariable('userlog')->value){?>
<div class="shader">
<a href="#top"><input type="button" class="green" value="^"/></a>
</div>
<form id="search" action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
" method="get">
<div class="shader">
<input type="hidden" name="ac" value="srh"/>
<input type="text" name="q" maxlength="32"/>
<input type="submit" class="login" value="<?php echo Lang(array('p'=>"search"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/>
<input type="hidden" name="sid" value="<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"/>
</div>
</form>
<?php }?>
<div id="copyright"> © <?php echo $_smarty_tpl->getVariable('_title')->value;?>
</div>
</div>
</body>
</html>