Izveidojam jaunu global block ievietojam tajā kodu un liekam bloku kur gribam redzēt profilu.
KODS.
Code
<?if($USER_LOGGED_IN$)?>
<center><strong><br> </strong></center>
<br>
<center><?if($USER_AVATAR_URL$)?><img src="$USER_AVATAR_URL$" border="0"><?else?><img src="http://test4ucoz.ucoz.lv/skripti/profils/noava.png" border="0" alt="Avatārs nav"/><?endif?></center>
<center>
<br>Sveiks, <strong>$USERNAME$</strong> <li class="m">Tava grupa:<b> $USER_GROUP$</b></li>
<li class="m">Tev ir: <b>$UNREAD_PM$</b> vēstules.</li>
<li class="m">Tavs IP: <b>$IP_ADDRESS$</b></li><hr>
<a href="$PERSONAL_PAGE_LINK$" target="_blank"><img src="http://test4ucoz.ucoz.lv/skripti/profils/profile.png" align="absmiddle" border="0"></a> <a href="$PM_URL$" target="_blank"><img src="http://test4ucoz.ucoz.lv/skripti/profils/message.png" align="absmiddle" border="0"></a> <a href="/index/11" target="_blank"><img src="http://test4ucoz.ucoz.lv/skripti/profils/setting.png" align="absmiddle" border="0"></a> <a href="$LOGOUT_LINK$" target="_blank"><img src="http://test4ucoz.ucoz.lv/skripti/profils/exit.png" align="absmiddle" border="0"></a>
<?else?>
<hr>$LOGIN_FORM$<?endif?></center>
Kods © Eazy.