sibtracker/templates/default/login.tpl
2019-05-18 13:46:03 +08:00

47 lines
1.7 KiB
Smarty

[not-group=5]
<div class="usermenu">
<div class="col" style="padding-left:10px; padding-top:5px;">
<a href="{profile_link}"><strong>{profile_name}</strong></a>
</div>
<div class="col">
<a href="{profile_link}">Ìîé ïðîôèëü</a><br />
<a href="{pm_link}">Ñîîáùåíèÿ ({new-pm}|{all-pm})</a>
</div>
<div class="col">
<a href="/statistics.html">Ñòàòèñòèêà ñàéòà</a><br />
<a href="{addnews_link}">Äîáàâèòü íîâîñòü</a>
</div>
<div class="col">
<a href="{fav_link}">Çàêëàäêè ({fav_count})</a><br />
<a href="{newsposts_link}">Íåïðî÷èòàííîå</a>
</div>
<div class="col" style="padding-right:0px;">
<a href="{logout_link}" ><img src="{THEME}/images/button_out.png" onclick="log_out(); return false;" alt="Âûéòè" /></a>
</div>
</div>
[/not-group]
[group=5]
<div class="loginpanel">
<form style="float:left" method="post" onsubmit="javascript:showBusyLayer()">
<input type="button" onclick="alert('Âðåìåííî îòêëþ÷åíî');" value="OpenID" class="button_site" />
<input type="text" name="login_name" class="field" value="Ëîãèí" onblur="if(this.value==''){this.value='Ëîãèí';}" onfocus="if(this.value=='Ëîãèí'){this.value='';}" />
<input type="password" name="login_password" class="field" value="Ïàðîëü" onblur="if(this.value==''){this.value='Ïàðîëü';}" onfocus="if(this.value=='Ïàðîëü'){this.value='';}" />
<input name="login" type="hidden" id="login" value="submit">
<input class="button_site" onclick="submit();" type="submit" value="Âîéòè">
</form>
<div style="width:auto; padding-left:10px; position:relative; top:-2px; float:left; font-size:10px">
<a href="{reg_link}">Ðåãèñòðàöèÿ!</a><br />
<a href="{lost_link}">Çàáûëè ïàðîëü?</a>
</div>
</div>
[/group]