View file template/m/index.tpl

File size: 1.7Kb
<!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>{$_title}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<style type="text/css">
{include file="$css"}
</style>
</head>
<body>
<div id="main">
<div id="header">
<img src="{$img}logo.png" style="float:left" alt=""/>
{if $userlog}<a style="float:right; padding-top: 10px; padding-right: 10px;" href="{$selfurl}?ac=lgu&amp;sid={$sid}"><input type="button" class="green" value="{lng p="logout"}"/></a>{/if}
</div>
{if $userlog}
<div id="nav">
<ul>
  <li><a href="{$selfurl}?ac=hme&amp;sid={$sid}">{lng p="home"}</a></li>
  <li><a href="{$selfurl}?ac=prf&amp;id={$userlog.id}&amp;sid={$sid}">{lng p="profile"}</a></li>
  <li><a href="{$selfurl}?ac=fnd&amp;sid={$sid}">{lng p="friends"}</a></li>
  <li><a href="{$selfurl}?ac=msg&amp;sid={$sid}">{lng p="messages"}{if $UnreadCount} <b>{$UnreadCount}</b>{/if}</a></li>
  <li><a href="{$selfurl}?ac=on&amp;sid={$sid}">{lng p="online"}</a></li>
</ul>
</div>
{/if}
{include file="$page"}
{if $userlog}
<div class="shader">
<a href="#top"><input type="button" class="green" value="^"/></a>
</div>
<form id="search" action="{$selfurl}" 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="{lng p="search"}"/>
  <input type="hidden" name="sid" value="{$sid}"/>
 </div>
</form>
{/if}
<div id="copyright"> &copy; {$_title} </div>
</div>
</body>
</html>