12-12-17, 12:09
uCozer
uCozer (Member)
  • Репутация: 100
  • Форум: 101
DalVeR
DalVeR (Admin)
  • Репутация: 2000
  • Форум: 38
masterlv
masterlv (Member)
  • Репутация: 2
  • Форум: 4
Lappuse 1 no 11
uCozer.uCoz.Lv - Forums » uCoz sistēma » Vizuālie skripti » Lietotāja personīgā lapa v1
Lietotāja personīgā lapa v1
uCozerДата: Trešdiena, 30-01-13, 11:55 | Сообщение # 1
Member
  • Сообщений: 101
  • Репутация:
  • Замечания: 0%
1. Dodamies: CP -> Customize design -> User's personal page -> kur doto aizstājam ar šo:

Code
<html>     
     <head>     
     <title>Informacija par $_USERNAME$</title>     
     <link type="text/css" rel="StyleSheet" href="/_st/my.css" />     

     <link id="dyncss" rel="stylesheet" type="text/css" href="http://webo4ka.ru/Ucoz5/webo4ka_percona/1.css">     
     <script type="text/javascript">     
     function setDynCSS(url) {     
     if (!arguments.length) {     
     url = (url = document.cookie.match(/\bdyncss=([^;]*)/)) && url[1];     
     if (!url) return '';     
     }     
     document.getElementById('dyncss').href = url;     
     var d = new Date();     
     d.setFullYear(d.getFullYear() + 1);     
     document.cookie = ['dyncss=', url, ';expires=', d.toGMTString(), ';path=/;'].join('');     
     return url;     
     }     
     setDynCSS();     
     </script>     
     </head>     
     <body>     
     <?substr($ADMIN_BAR$,0,0)?>     

     <div id="blok_perconal_ctranicha_webo4ka">     
     <div id="blok_text_webo4ka" style="float: right; padding-right:2%;">     

     <?if($USER_ID$=0)?><a href="$LOGIN_LINK$"><img src="http://webo4ka.ru/Ucoz5/webo4ka_percona/24-security-key.png" style="width:16px;height:16px;" border="0" ></a><?endif?>     
     <img src="http://webo4ka.ru/Ucoz5/webo4ka_percona/date.png" style="width:16px;height:16px; cursor:help" border="0" title="$TIME$" />     
     <a onclick="$('#redaktirovanie_dizaina_webo4ka').fadeIn();"><img src="http://s39.ucoz.net/img/icon/dsg.png" border="0"></a>     
     <?if($IS_NEW_PM$)?><a onclick="$('#moi_coobchenii_webo4ka').slideToggle('fast')"><img src="http://s39.ucoz.net/.s/img/icon/mf.png"border="0"></a><?endif?>     
     <?if($_PM_READ_URL$)?><?else?><?if($USER_ID$=0)?><?else?><a onclick="$('#moi_stranica_webo4ka').slideToggle('fast')"><img src="http://s39.ucoz.net/.s/img/icon/us.png" border="0"></a><?endif?><?endif?>     
     </div></div>     

     <div id="moi_coobchenii_webo4ka" style="position:absolute; right:0%; display:none;">     
     <div id="blok_perconal_ctranicha_webo4ka"><div id="blok_text_webo4ka"><span style="float: right; padding-right:5px;"><a onclick="$('#moi_coobchenii_webo4ka').fadeOut();" style="cursor: pointer">X</a></span>Manas zinas</div></div>     
     <div id="konteiner_perconal_ctranicha_webo4ka" style="padding:3px;">     
     <script type="text/javascript">$(document).ready(function(){$.get("$PM_URL$", function(data){var polu4um = $("#pmdform", data).html(); if (polu4um == null) {var polu4um = '';} $("#coobchenii_webo4ka").html(polu4um);});});</script>     
     <span id="coobchenii_webo4ka"></span>     
     </div></div>     

     <div id="redaktirovanie_dizaina_webo4ka" style="width:150px; position:absolute; right:0%; display:none;">     
     <div id="blok_perconal_ctranicha_webo4ka"><div id="blok_text_webo4ka"><span style="float: right; padding-right:5px;"><a onclick="$('#redaktirovanie_dizaina_webo4ka').fadeOut();" style="cursor: pointer">X</a></span>Настройки</div></div>     
     <div id="konteiner_perconal_ctranicha_webo4ka" style="padding:3px;"><center>     
     <img src="http://s39.ucoz.net/img/wd/1/sample.gif" style="cursor:pointer;" border="0" onclick="setDynCSS('http://webo4ka.ru/Ucoz5/webo4ka_percona/4.css'),document.getElementById('perezagryzi_stranichy').style.display = 'inline'">     
     <img src="http://s39.ucoz.net/img/wd/2/sample.gif" border="0" style="cursor:pointer;" onclick="setDynCSS('http://webo4ka.ru/Ucoz5/webo4ka_percona/3.css'),document.getElementById('perezagryzi_stranichy').style.display = 'inline'">     
     <img src="http://s39.ucoz.net/img/wd/3/sample.gif" border="0" style="cursor:pointer;" onclick="setDynCSS('http://webo4ka.ru/Ucoz5/webo4ka_percona/1.css'),document.getElementById('perezagryzi_stranichy').style.display = 'inline'">     
     <img src="http://s39.ucoz.net/img/wd/4/sample.gif" border="0" style="cursor:pointer;" onclick="setDynCSS('http://webo4ka.ru/Ucoz5/webo4ka_percona/6.css'),document.getElementById('perezagryzi_stranichy').style.display = 'inline'">     
     <img src="http://s39.ucoz.net/img/wd/5/sample.gif" border="0" style="cursor:pointer;" onclick="setDynCSS('http://webo4ka.ru/Ucoz5/webo4ka_percona/5.css'),document.getElementById('perezagryzi_stranichy').style.display = 'inline'">     
     <img src="http://s39.ucoz.net/img/wd/6/sample.gif" border="0" style="cursor:pointer;" onclick="setDynCSS('http://webo4ka.ru/Ucoz5/webo4ka_percona/2.css'),document.getElementById('perezagryzi_stranichy').style.display = 'inline'">     
     <div id="perezagryzi_stranichy" style="display: none">Pārlādēt lapu</div>     
     </center></div></div>     

     <div id="moi_stranica_webo4ka" style="position:absolute; right:0%; display:none;">     
     <script>$(function () {     
     $('#moi_stranica_webo4ka').click(function () {     
     $('#moi_stranica_webo4ka').fadeIn(300);     
     });     
     $('#moi_stranica_webo4ka').hover(function () {     
     $('#moi_stranica_webo4ka').fadeIn();     
     }, function () {     
     $('#moi_stranica_webo4ka').fadeOut(3000);     
     });     
     });     
     </script>     

     <div id="blok_perconal_ctranicha_webo4ka"><div id="blok_text_webo4ka">Mana lapa</div></div>     
     <div id="konteiner_perconal_ctranicha_webo4ka">     

     <table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody>     
     <tr>     
     <td id="border_webo4ka">Status:</td>     
     <td id="border_webo4ka2"><b><font color="#32cd32">Online</font></b></td>     
     </tr>     
     </tbody></table>     

     <div id="border_ava_webo4ka"> <center><?if($USER_AVATAR_URL$)?><img border="0" src="$USER_AVATAR_URL$"><?else?><img src="http://webo4ka.ru/Ucoz2/profil_webo4ka2/net_avatara.png" border=0 style="padding:2px; border:1px solid #e4e4e4; background-color:white;"><?endif?><center></div>     

     <table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody>     
     <tr><td id="border_webo4ka">Mana lapa:</td><td id="border_webo4ka2"><a href="/index/8-$USER_ID$">$USER_ID$</a></td></tr>     
     <tr><td id="border_webo4ka">Labot profilu:</td><td id="border_webo4ka2"><a href="/index/11">red.</a></td></tr>     
     <tr><td id="border_webo4ka">Lasit zinas:</td><td id="border_webo4ka2"><a href="/index/14"><b>$UNREAD_PM$</b></a></td></tr>     
     </tbody></table>     

     </div></div>     

     <br><br><br><table style="width:70%; margin-left:17%;">     
     <tr valign="top"><td>     
     <div style="margin-right:6px;">     
     <div id="blok_perconal_ctranicha_webo4ka"><div id="blok_text_webo4ka"><span style="float: right; padding-right:5px;">ID:$_USER_ID$</span>$_USERNAME$ personīgā lapa.</div></div>     
     <div id="konteiner_perconal_ctranicha_webo4ka" style="padding:0px;">     

     <table style="margin-bottom:0px;" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody>     
     <tr><td id="border_webo4ka">Lietotajvards:</td>     
     <td id="border_webo4ka2"><a href="javascript://" rel="nofollow" onclick="prompt('Адрес профиля данного пользователя','$_PROFILE_URL$')"><b>$_USERNAME$</b></a></td></tr>     

     <tr><td id="border_webo4ka">Grupa:</td>     
     <td id="border_webo4ka2"><b><?if($MODER_PANEL$)?>$MODER_PANEL$<?else?>$_GROUP_NAME$<?endif?></b></td></tr>     

     <tr><td id="border_webo4ka">Vards:</td>     
     <td id="border_webo4ka2"><b>$_NAME$</b></td></tr>     

     <?if($_GENDER_NAME$)?><tr><td id="border_webo4ka">Dzimums:</td>     
     <td id="border_webo4ka2"><b><?if($_GENDER_NAME$)?>$_GENDER_NAME$<?endif?></b></td></tr><?endif?>     

     <?if($MODER_PANEL$)?><tr><td id="border_webo4ka">Registracijas IP:</td>     
     <td id="border_webo4ka2"><a href="http://www.ripe.net/perl/whois?$_IP_ADDRESS$" target="_blank">$_IP_ADDRESS$</a></td></tr><?endif?>     

     <?if($_REG_TIME$)?><tr><td id="border_webo4ka">Registracijas datums:</td>     
     <td id="border_webo4ka2"><b>$_REG_TIME$</b></td></tr><?endif?>     

     <?if($_LOG_TIME$)?><tr><td id="border_webo4ka">Ieejas datums:</td>     
     <td id="border_webo4ka2"><b>$_LOG_TIME$</b></td></tr><?endif?>     

     <?if($_BIRTHDAY$)?><tr><td id="border_webo4ka">Dzimsanasdiena:</td>     
     <td id="border_webo4ka2">$_BIRTHDAY$ [ <b>$_AGE$</b> $_ZODIAC$ ]</td></tr><?endif?>     

     <tr><td id="border_webo4ka">E-pasts:</td>     
     <td id="border_webo4ka2"><?if($_IS_OWN_PROFILE$)?>$_EMAIL$ <?if($_EMAIL_IS_HIDDEN$)?><span style="font-size:7pt">(Adrese slepta)</span><?endif?><?else?><?if($MODER_PANEL$)?><a href="mailto:$_EMAIL$">$_EMAIL$</a><?if(!$_EMAIL_IS_VERIFIED$)?> <span style="color:red;" title="Not verified e-mail">*</span><?endif?><?else?><?if($_SEND_EMAIL_URL$)?><a href="$_SEND_EMAIL_URL$">Sūtīt e-pastu uz lietotāja</a><?else?><i>Adrese slepta</i><?endif?><?endif?><?endif?><?if($_EMAIL_VERIFICATION_URL$)?>[ <b><a href="$_EMAIL_VERIFICATION_URL$"><span style="color:red">Apstipriniet e-pastu</span></a></b> ]<?endif?></td></tr>     

     <?if($_ICQ$)?><tr><td id="border_webo4ka">ICQ:</td>     
     <td id="border_webo4ka2">$_ICQ$</td></tr><?endif?>     

     <?if($_WWW$)?><tr><td id="border_webo4ka">Adrese:</td>     
     <td id="border_webo4ka2">$_WWW$</td></tr><?endif?>     
     </tbody></table>     
     </div>     

     <?if($USERS_LIST_URL$)?>     
     <div id="border_poick_webo4ka">     
     <form method="post" action="/index" name="fuser" style="margin:0px"><table border="0" cellpadding="4" cellspacing="1" width="100%" id="usch"><tr><td align="center"><input type="button" class="allUsersBtn" style="width:150px;" onclick="window.location.href='/index/15-1'" value="Biedru saraksts" /> <input type="text" class="uSearchFl" name="user" style="width:240px;text-align:center;" size="20" value="Meklet..." onclick="if (this.value=='Meklet...'){this.value='';}" maxlength="25" /> <input type="submit" class="uSearchFlSbm" style="width:150px;" value="Atrast lietotājus" /></td></tr></table><input type="hidden" name="a" value="15" /></form>     

     <?if($USER_ID$='1')?>     
     <!--IP-->     
     <script language="JavaScript">     
     /*Функции для быстрой смены типа поиска     
     По e-mail или по IP адресу     
     Copyright 2010 L1nuX     
     Specialy for MEGAsoft Portal     
     */     
     function mail()     
     {     
     document.memform.user.value='$_EMAIL$';     
     }     
     function ip()     
     {     
     document.memform.user.value='$_IP_ADDRESS$';     
     }     
     </script>     
     <div align="left" class="userSchFrm">     
     <form method="post" style="margin:0px" name="memform" action="/forum/" onsubmit="this.subm.disabled=true;">     
     <input type="hidden" name="ban" value="0" title="Только заблокированные пользователи" >     
     <input type="text" name="user" size="25" style="width:80px;" title="Checker by L1nuX" value="$_IP_ADDRESS$" maxlength="25" />     
     <select title="Выберите тип поиска" size="1" name="w"><option onClick="ip();" value="1" selected>Pēc IP adreses</option><option onClick="mail();" value="2" >По e-mail</option></select>     
     <input type="submit" value="Meklet..." name="subm" />     
     <input type="hidden" name="a" value="35" /><input type="hidden" name="s" value="1" />     
     </form>     
     </div>     
     <!--IP-->     

     <?endif?>     
     </div><?endif?>     

     <?if($_SIGNATURE$)?><br>     
     <div id="blok_perconal_ctranicha_webo4ka"><div id="blok_text_webo4ka">Paraksts</div></div>     
     <div id="konteiner_perconal_ctranicha_webo4ka" style="padding:4px; font-size: 12px;">$_SIGNATURE$</div><?endif?>     

     <?if($_BANNED_TILL$)?><br>     
     <?if($_BANNED_TILL$="1")?>     
     <div id="blok_bann_webo4ka"><div style="margin-top:4px; margin-left:5px; color: #bf5656; font-family: Verdana; font-size: 11px; font-weight: 700; text-shadow: 1px 1px 0px rgb(255, 255, 255);"/>Забаннен</div></div>     
     <div id="konteiner_bann_webo4ka"><div id="blockBanned" style="text-align:center;padding:3px;"><b style="color:red;">Aktivitāte ir pastāvīgi atslēgts!</b></div></div>     
     <?else?>     
     <div id="blok_zamechanie_webo4ka"><div style="margin-top:4px; margin-left:5px; color: #999; font-family: Verdana; font-size: 11px; font-weight: 700; text-shadow: 1px 1px 0px rgb(255, 255, 255);"/>Замечание</div></div>     
     <div id="konteiner_zamechanie_webo4ka"><div id="blockBanned" style="text-align:center;padding:3px;">Aktivitāte iesprostota $_BANNED_TILL$</div></div>     
     <?endif?>     
     <?endif?>     
     </div></td>     

     <td width="25%" valign="top">     
     <div id="blok_perconal_ctranicha_webo4ka"><div id="blok_text_webo4ka"><span style="float: right; padding-right:5px;"><?if($_TITLE$)?><img src="http://s39.ucoz.net/.s/img/icon/fr.png" cursor:help" border="0" title="$_TITLE$" /><?endif?></span>Informacija</div></div>     
     <div id="konteiner_perconal_ctranicha_webo4ka">     

     <table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody>     
     <tr>     
     <td id="border_webo4ka">Status:</td>     
     <td id="border_webo4ka2"><?if($_STATUS$)?>$_STATUS$<?else?><b>šeit</b><?endif?></td>     
     </tr>     
     </tbody></table>     

     <div id="border_ava_webo4ka">     
     <center><?if($_AVATAR$)?>$_AVATAR$<?else?><img src="http://webo4ka.ru/Ucoz2/profil_webo4ka2/net_avatara.png" border=0 style="padding:2px; border:1px solid #e4e4e4; background-color:white;"><?endif?><center>     
     </div>     

     <table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody>     
     <?if($UNET_ID$)?><tr>     
     <td id="border_webo4ka">uNet profils:</td>     
     <td id="border_webo4ka2">     

     <?if($_USER_ID$=1)?>     

     <?if($USER_ID$='1')?><a href="$UNET_PROFILE_URL$" target="_blank"><img style="vertical-align:-4px;" border="0" src="http://s39.ucoz.net/img/ma/uid.gif"></a><?else?>нету(<?endif?>     

     <?else?><a href="$UNET_PROFILE_URL$" target="_blank"><img style="vertical-align:-4px;" border="0" src="http://s39.ucoz.net/img/ma/uid.gif"></a><?endif?>     

     </td>     
     </tr><?endif?>     

     <?if($_CHANGE_DETAILS_URL$)?><tr>     
     <td id="border_webo4ka">Mainīt datus:</td>     
     <td id="border_webo4ka2"><a href="$_CHANGE_DETAILS_URL$">red.</a></td>     
     </tr><?endif?>     

     <?if($_PM_READ_URL$)?><tr>     
     <td id="border_webo4ka">Sanemtas zinas:</td>     
     <td id="border_webo4ka2"><a href="$_PM_READ_URL$"><b>$UNREAD_PM$</b></a></td>     
     </tr><?endif?>     

     <?if($_PM_SEND_URL$)?><tr>     
     <td id="border_webo4ka">Sutit PM:</td>     
     <td id="border_webo4ka2"><a href="$_PM_SEND_URL$" title="Sūtīt privātu ziņu">as</a></td>     
     </tr><?endif?>     

     </tbody></table>     

     </div>     

     <br>     

     <div id="blok_perconal_ctranicha_webo4ka"><div id="blok_text_webo4ka">Piezīmes</div></div>     
     <div id="konteiner_perconal_ctranicha_webo4ka">     

     <table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody>     
     <tr>     
     <td id="border_webo4ka">Reputacija: <?if($_REP_DO_URL$)?><a href="$_REP_DO_URL$">±</a><?endif?></td>     
     <td id="border_webo4ka2"><?if($_REPUTATION$=0)?>нету(<?else?><a title="Skatīt vēsturi reputāciju" href="$_REP_READ_URL$"><b>$_REPUTATION$</b></a><?endif?></td>     
     </tr>     

     <tr>     
     <td id="border_webo4ka">Davanas: <?if($AWARDS_DO_URL$)?><a href="$AWARDS_DO_URL$">+</a><?endif?></td>     
     <td id="border_webo4ka2"><?if($AWARDS$=0)?>нету(<?else?><a href="$AWARDS_READ_URL$" title="Список наград"><b>$AWARDS$</b></a><?endif?></td>     
     </tr>     

     <?if($_BAN_READ_URL$)?><tr>     
     <td id="border_webo4ka">Sods: <?if($_BAN_DO_URL$)?> <a href="$_BAN_DO_URL$"><img alt="" style="margin:0;padding:0;border:0;" title="Изменить уровень замечаний" src="http://s39.ucoz.net/img/fr/wm.gif" width="10" height="9" /></a><img alt="" style="margin:0;padding:0;border:0;" src="http://s39.ucoz.net/img/fr/w$_BAN_RATING$.gif" width="49" height="9" /><a href="$_BAN_DO_URL$"><img alt="" style="margin:0;padding:0;border:0;" title="Изменить уровень замечаний" src="http://s39.ucoz.net/img/fr/wp.gif" width="10" height="9" /></a><?endif?></td>     
     <td id="border_webo4ka2"><?if($_BAN_PERCENT$=0)?>нету<?else?><a title="Смотреть историю замечаний" href="$_BAN_READ_URL$"><b>$_BAN_PERCENT$%</b></a></a><?endif?></td>     
     </tr><?endif?>     

     </tbody></table>     

     </div>     

     <?if($_IS_ACTIVITY$)?><br>     

     <div id="blok_perconal_ctranicha_webo4ka"><div id="blok_text_webo4ka">Aktivitates</div></div>     
     <div id="konteiner_perconal_ctranicha_webo4ka">     

     <table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody>     
     <?if($_COM_ENTRIES$)?><tr>     
     <td id="border_webo4ka">Komentari:</td>     
     <td id="border_webo4ka2"><b> <a href="$_COM_ACTIVITY_URL$" target="_blank">$_COM_ENTRIES$</a></b></td>     
     </tr><?endif?>     

     <?if($_FORUM_ENTRIES$)?><tr>     
     <td id="border_webo4ka">Forums:</td>     
     <td id="border_webo4ka2"><b><a href="$_FORUM_ACTIVITY_URL$" target="_blank">$_FORUM_ENTRIES$</a></b></td>     
     </tr><?endif?>     

     <?if($_LOAD_ENTRIES$)?><tr>     
     <td id="border_webo4ka">Filmas:</td>     
     <td id="border_webo4ka2"><b><a href="$_LOAD_ACTIVITY_URL$" target="_blank">$_LOAD_ENTRIES$</a></b></td>     
     </tr><?endif?>      

     </tbody></table></div><?endif?>     

     </td></tr></table>     

     </body>     
     </html>


Прикрепления: 4975272.png(142Kb)
 
uCozer.uCoz.Lv - Forums » uCoz sistēma » Vizuālie skripti » Lietotāja personīgā lapa v1
Lappuse 1 no 11
Meklēšana:
Uzturēšanu nodrošina uCoz