• Lappuse 1 no 1
  • 1
Forums » uCoz sistēma » Skripti (HTML & CSS) » Lietotāja informācija blokā (Savs profils)
Lietotāja informācija blokā
HTML
Datums: Sestdiena, 05.01.2013, 20:38 | Ziņa # 1
Grupa: Lietotājs
Foruma posti: 87
Reputācija: 9
Nosaukums: Lietotāja informācija blokā
Kategorija: HTML skripti
Gads: 2012

Apraksts:
Ievietojot šo skriptu blokā, tas ļaus jums ātri apskatīt savus lietotāja datus.

Uzstādīšana:
1. Ieslēdz konstruktoru;
2. Izveido jaunu bloku;
3. Spied "Pieeja";
4. Atzīmē visu;
5. Saglabā;
6. Atver bloku;
7. Spied "HTML";
8. Aizstāj visu ar šo:

<!-- <bc> --><!-- <bc> --><div align="center"><strong>$WDAY$ $DATE$ <br><br></strong>       
<?if($USER_AVATAR_URL$)?><img style="border: 1px solid rgb(169, 169, 169);" alt="" class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" align=""><?else?><script src="http://html.ucoz.lv/skripti/html/user_info_block/js/user_info.js" type="text/javascript"></script><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="http://html.ucoz.lv/avatari/no_avatar.jpg" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://html.ucoz.lv/skripti/html/user_info_block/pic/logged_out.png" border="0"><?endif?><?endif?>       

<?if($USER_LOGGED_IN$)?>       

<div align="center"><br><div align="left"><span style="font-size: 8pt; color: rgb(105, 105, 105);"><b><span style="font-family: Arial; font-size: 8pt; color: rgb(105, 105, 105);">Lietotājs: <font color="#00bfff"><strong>$USERNAME$</strong></font><br>IP adrese: <font color="#00bfff"><strong>$IP_ADDRESS$</strong></font><br>Grupa: <font color="#00bfff"><strong>$USER_GROUP$</strong></font><br>Ziņas: <font color="#00bfff"><strong>$UNREAD_PM$</strong></font></span></b></span></div>       

</p>       
<input class="buttonprofile" onclick="document.location.href='/index/8'; return false;" value="Profils" type="button">       

<input class="buttonprofile" onclick="window.open('/index/14','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="PZ" type="button">       

<input class="buttonprofile" onclick="document.location.href='/index/10'; return false;" value="Iziet" type="button">       
</div>       

<?if($IS_NEW_PM$)?><script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml2','')",500)</script><?endif?>       

<script language=javascript type=text/javascript>       
       function openonclick(client_type)       
       {       
       if(client_type=="mail")clientWindow = window.open("$PM_URL$","pmw","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Atslēgt!");       
       if(client_type=="send")clientWindow = window.open("/index/14-999-0-1","pms","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Atslēgt!");       
       if(client_type=="options")clientWindow = window.open("/index/11","options","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Atslēgt!");       
       if(client_type=="users")clientWindow = window.open("$USERS_LIST_URL$","users","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Atslēgt!");       
       if(client_type=="rules")clientWindow = window.open("/rules.html","rules","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Atslēgt!");       
       }       
</script>       
<?else?>       
<br> <br><a href="$LOGIN_LINK$"><img src="http://html.ucoz.lv/skripti/html/user_info_block/pic/login.gif" border="0" alt="" /></a>       
<?endif?></div>

Piezīmes:
Nav!

Iznākums:
Ielogojies:


Viesis:


Avots:
http://html.ucoz.lv/



Ziņu rediģēja - HTML - Sestdiena, 05.01.2013, 20:39
Forums » uCoz sistēma » Skripti (HTML & CSS) » Lietotāja informācija blokā (Savs profils)
  • Lappuse 1 no 1
  • 1
Meklēšana: