[Script] New Profil

Locked
User avatar
! Manticore ♛
Membru
Membru
Posts: 1542
Joined: 8 years ago
Location: New York , SUA
Has thanked: 0
Been thanked: 0
Zodiac:
Age: 27
Status: Offline

7 years ago

New Profil

Code: Select all

<?if($USER_LOGGED_IN$)?><?if($IS_NEW_PM$)?><script type="text/javascript"> 
window.onload = function StartPM() {openLayerB('PmBody',0,'http://s0ftila.at.ua/pmbody.xml','Новое ПМ',335,300,1,0,0);} 
</script><?endif?><?endif?> 
<div align="center"><?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><?else?><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="http://pic.ipicture.ru/uploads/090214/5hv71TVg33.png" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://pic.ipicture.ru/uploads/090214/5hv71TVg33.png" border="0"><?endif?><?endif?> 
<script language="JavaScript" src="http://s0ftila.org.ua/js/s0ftila/otrawenie.js"></script> 
<?if($USER_LOGGED_IN$)?> 
<style type="text/css"> 
.suckerdiv ul{ 
margin: 0; 
padding: 0; 
list-style-type: none; 
width: 200px; /* by B-b0y(Andr) www.s0ftila.at.ua */ 
border-bottom: 1px solid #ccc; 
} 

.suckerdiv ul li{ 
position: relative; 
} 

/*Sub level menu items */ 
.suckerdiv ul li ul{ 
position: absolute; 
width: 200px; /*sub menu width*/ 
top: 0; 
visibility: hidden; 
} 

/* Sub level menu links style */ 
.suckerdiv ul li a{ 
display: block; 
overflow: auto; /*force hasLayout in IE7 */ 
color: black; 
text-decoration: none; 
background: #fff; 
padding: 1px 5px; 
border: 1px solid #ccc; 
border-bottom: 0; 
} 

.suckerdiv ul li a:visited{ 
color: black; 
} 

.suckerdiv ul li a:hover{ 
background-color: e3ab00; 
} 

.suckerdiv .subfolderstyle{ 
background: url(http://s0ftila.org.ua/js/s0ftila/arrow-list.gif) no-repeat center right; 
} 

/* Holly Hack for IE \*/ 
* html .suckerdiv ul li { float: left; height: 1%; } 
* html .suckerdiv ul li a { height: 1%; } 
/* End */ 

</style> 

<script type="text/javascript"> 
var menuids=["suckertree1"] 

function buildsubmenus(){ 
for (var i=0; i<menuids.length; i++){ 
var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul") 
for (var t=0; t<ultags.length; t++){ 
ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle" 
if (ultags[t].parentNode.parentNode.id==menuids[i]) 
ultags[t].style.left=ultags[t].parentNode.offsetWidth+"px" 
else 
ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" 
ultags[t].parentNode.onmouseover=function(){ 
this.getElementsByTagName("ul")[0].style.display="block" 
} 
ultags[t].parentNode.onmouseout=function(){ 
this.getElementsByTagName("ul")[0].style.display="none" 
} 
} 
for (var t=ultags.length-1; t>-1; t--){ 
ultags[t].style.visibility="visible" 
ultags[t].style.display="none" 
} 
} 
} 

if (window.addEventListener) 
window.addEventListener("load", buildsubmenus, false) 
else if (window.attachEvent) 
window.attachEvent("onload", buildsubmenus) 
</script> 

<div class="suckerdiv"> 
<ul id="suckertree1"> 
<li><a href="$PERSONAL_PAGE_LINK$" title="">Home</a></li> 
<li><a href="javascript:openOnClick('options')" title="">Profil</a></li> 
<li><a href="javascript:openOnClick('send')" title="">Trimite mesaj</a></li> 
<li><a href="javascript:openOnClick('mail')" title="">Mesaje Primite <span style="color: rgb(255, 0, 0);">($UNREAD_PM$)</span></a></li> 
<li><a href="javascript:openOnClick('users')" title="">Mebrei siteului</a></li> 
<li><a href="$LOGOUT_LINK$" title="">Deconectare</a></li>

</ul> 

</div> 

<script 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("Отключите блокировку всплывающих окон!"); 
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("Отключите блокировку всплывающих окон!"); 
if(client_type=="options")clientWindow = window.open("/index/11","options","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!"); 
if(client_type=="users")clientWindow = window.open("$USERS_LIST_URL$","users","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!"); 
if(client_type=="rules")clientWindow = window.open("/rules.html","rules","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!"); 
} 
</script> 
<?else?> 

<font color="#FF0000">Guest </font>, <font color="green">suntem bucuroşi să vă vedem! Vă rugăm să <a href="/index/3-0-0"><font color="green">Inregistrati</a> <font color="green">или <a interclue-click-count="1" href="javascript://" onclick="openLayerB('LF',0,'/index/40','Login',250,130,1);return false;" title="Logare"><font color="Green">Inregistrare</a>!</font> 

<?endif?></div>
Image Image

Image

© ! Manticore ♛

"Many things that seems threatening in the dark,become more welcoming when we shine a light on them."
"Maybe for the world you are just a person,but for a person you are the entire world."
"Nothing is impossible,the word itself says <<I'm Possible>>."
"If the pain will ever speak,then my pain will scream."
''The fastest way to happiness is to avoid the reality."

Image
Locked

Return to “Script-uri”