[not-group=5]
<div class="logindate">
<ul>
<li style="border: 0pt none ; text-align: center; background: transparent;"><img src="{foto}"></li>
<li><b><script language="JavaScript">
var h=(new Date()).getHours();
if (h > 3 && h < 12) document.writeln("Good morning, {login}!");
if (h > 11 && h < 18) document.writeln("Good afternoon, {login}!");
if (h > 17 && h < 24) document. writeln("Good night, {login}!");
if (h > 23 || h < 4 ) document. writeln("{login}, Have not sleep?");
</script ></b></li>
<li> [admin-link]<a href="{admin-link}" target="_blank">Admin Panel</a>[/admin-link]</li>
<li><a href="{addnews-link}">Add News</a></li>
<li><a href="{profile-link}">Profile</a></li>
<li><a href="{stats-link}">Statistics</a></li>
<li><a href="{pm-link}">Messages ({new-pm} | {all-pm})</a></li>
<li><a href="{favorites-link}">My Bookmark</a></li>
<li><a href="{newposts-link}">Latest News</a></li>
<li><a onclick="javascript: showBusyLayer()" href="{logout-link}"><b>Logout</b></a></li>
</ul>
</div>
[/not-group]
[group=5]
<form name="loginForm" method="post" onsubmit="javascript:showBusyLayer()" action="">
<ul>
<li class="lfield">
<div><input type="text" name="login_name" value="Username" onfocus="login_focus(this);" onblur="login_blur(this);" /></div>
</li>
<li class="lfield">
<div>
<input id="p1" type="text" name="top_password" value="Password" onfocus="login_focus(this);" onblur="login_blur(this);" />
<input id="p2" style="display: none;" type="password" name="login_password" value="Password" onfocus="login_focus(this);" onblur="login_blur(this);" />
</div>
<script type='text/javascript'>
function login_focus(elm){
if(elm.value=='Username' || elm.value=='Password'){
if(elm.value=='Password'){
document.getElementById('p1').style.display='none';
document.getElementById('p2').style.display='';
document.getElementById('p2').focus();
}
elm.value = '';
}
}
function login_blur(elm){
if(elm.value=='') {
if(elm.type=='password') {
document.getElementById('p1').style.display='';
document.getElementById('p2').style.display='none';
document.getElementById('p1').value = 'Password';
document.getElementById('p2').value = '';
} else elm.value = 'Username';
} else if(elm.type=='password') document.getElementById('p1').value = document.getElementById('p2').value;
}
</script>
</li>
<li class="submit">
<input name="login" type="hidden" id="login" value="submit" />
<input class="btn" onclick="submit();" onmouseover="this.className='btnhover'" onmouseout="this.className='btn'" name="image" value="�����" type="image" src="{THEME}/images/spacer.gif" />
<div><a href="/index.php?do=register" title="Register">Register</a></div>
<div><a href="/index.php?do=lostpassword" title="Lost Password?">Lost Password?</a></div>
<div class="clr"></div>
</li>
</ul>
</form>
[/group]