|
Comunitatea uCoz Altele Instrumente şi Script-uri Login form + profil |
Login form + profil |
Instalare :
1) In block puneti : Code <table width="100%"> <tbody> <tr> <td><center><div class="avaa"> <?if($USER_AVATAR_URL$)?> <img src="$USER_AVATAR_URL$" max-height="150" max-width="150"> <?else?> <img src="http://devil-scripts.do.am/no-avatar.jpg" width="150" height="150"> <?endif?> </div></center> <?if($USER_LOGGED_IN$)?><div id="about_pr"> <center style="margin-top:1px;"><span style="font-size: 8pt;margin-left:5px;margin-top:2px;"><b>$USERNAME$ ($USER_FULL_NAME$)</b></span></center><img src="http://diz-soft.pp.ua/images/block_hr_green.png" style="margin-top:1px;margin-bottom:1px;" border="0" alt="" /> <br> <span style="font-size: 8pt;margin-left:5px;">ID: <div style="float: right;margin-right:5px;"><b>$USER_ID$</b></div></span><img src="http://diz-soft.pp.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" /> <br> <span style="font-size: 8pt;margin-left:5px;">Sex: <div style="float: right;margin-right:5px;"><b>$USER_GENDER$</b></div></span><img src="http://diz-soft.pp.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" /><br> <span style="font-size: 8pt;margin-left:5px;">Aici de :<div style="float: right;margin-right:5px;"><b>$USER_REG_DAYS$ <?if($USER_REG_DAYS$%10=0||$USER_REG_DAYS$%10>4||$USER_REG_DAYS$%100>10&&$USER_REG_DAYS$%100<15)?>Zile<?else?><?if($USER_REG_DAYS$%10=1)?>ень<?else?>ня<?endif?><?endif?></b></div></span></span><img src="http://diz-soft.pp.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" /><br> <span style="font-size: 8pt;margin-left:5px;">Grupa: <div style="float: right;margin-right:5px;"><b>$USER_GROUP$</b></div></span><img src="http://diz-soft.pp.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" /><br> <div style="vertical-align: bottom;margin-bottom:2px;"><span style="font-size: 8pt;margin-left:5px;">IP: <div style="float: right;margin-right:5px;"><b>$IP_ADDRESS$</b></div></span> </div> </div></td> </tr> </tbody> </table> <table width="103%"> <tbody> <tr><td width="50%"> <input class="buttonprofile" style="width:100%;" target="_blank" type="button" onclick="document.location.href='/index/8'; return false; target: blank;" value="Profil"/> <input class="buttonprofile"style="width:100%;" type="button" onclick="document.location.href='$PM_URL$'; return false;" value="Mesaje personale (<?if($IS_NEW_PM$)?>$IS_NEW_PM$<?else?>0<?endif?>)"/> </td> <td width="50%"> <input class="buttonprofile"style="width:100%;height:43;" type="button" onclick="document.location.href='$LOGOUT_LINK$'; return false;" value="LogOut"/> </td> </tr> </tbody> </table><?else?> $LOGIN_FORM$ </td> </tr> </tbody> </table><?endif?> 2) Cp --> users --> user login form --> schimbati tot cu : Code <?if($PAGE_ID$="login")?><div><?endif?> <table id="about_pr_2" style="padding:0;" border="0" cellspacing="1" cellpadding="0" width="100%"> <?if($ERROR$)?><td colspan="2" style="color:red;text-align:center;">$ERROR$</td><?endif?> <tr><td><input class="loginField" type="text" name="user" onfocus="if(this.value=='E-Mail (uNet)')this.value=''" onblur="if(this.value=='')this.value='E-Mail (uNet)'" value="E-Mail (uNet)" size="20" style="width:100%;" maxlength="50"/></td></tr> <tr><td><input class="loginField" type="password" name="password" size="20" style="width:100%" onfocus="if(this.value=='Parola')this.value=''" onblur="if(this.value=='')this.value='Parola'" value="Parola" maxlength="15"/></td></tr> </table> <table border="0" cellspacing="1" cellpadding="0" width="100%"> <tr><td align="center" width="100%" valign="top"> <input style="width:100%;margin-top:2px;" width="100%" class="loginButton" name="sbm" type="submit" value="Intra"/> <?if($PAGE_ID$="login" && $HIDDEN_ALLOWED$)?> <input id="hid$PAGE_ID$" type="checkbox" name="hidden" value="1" /><label for="hid$PAGE_ID$">Ascuns</label><?endif?> <div style="font-size:7pt;text-align:center;margin-top:3px;"><a href="$REMINDER_LINK$">Am uitat parola</a> | <a href="$REGISTER_LINK$">Inregistrare</a></div></td></tr> </table> <?if($PAGE_ID$="login")?></div><?endif?> 3) In "CSS" adaugati stilul : Code #about_pr_2 {background:#f1f1f1;border:1px solid #3e81b2;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin-top:5px;} #about_pr {background:#f1f1f1;border:1px solid #3e81b2;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin-top:5px;} .avaa {text-align:center;border: 10px solid #36638e;width:150px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;} .buttonprofile {background:#f1f1f1;border:1px solid #cbcbcb;line-height:25px;width:100%;color:8B8881;text-align:center;margin-bottom:3px;} .loginField {background:#f1f1f1;border:1px solid #cbcbcb;color:#8B8881;height:20px;} .loginButton {background:#f1f1f1;border:1px solid #cbcbcb;color:#8B8881;width:97%;height:25%;float:left;} Rezultat : 1) 2) |
Un alt fel de mini profil
Code <strong><center>Salut: $USERNAME$!</center></strong> <?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> Esti aici: <font color="#FF0000"><strong>$USER_REG_DAYS$</strong></font>zile<br> <div class="suckerdiv"> <ul id="suckertree1"> <li><a href="$PERSONAL_PAGE_LINK$" title="">Profil</a></li> <li><a href="javascript:openOnClick('options')" title="">Editare 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="">Membrii 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 bucurosi sa va vedem! Va rugam sa va <a href="/index/3-0-0"><font color="green">Inregistrati</a> sau sa va <font color="green"> <a interclue-click-count="1" href="javascript://" onclick="openLayerB('LF',0,'/index/40','Login',250,130,1);return false;" title="Logati"><font color="Green">Logati</a>!</font> <?endif?></div> |
La mine apare exact asa cum e in poza.
|
E un site de "incercari" :)) Deci..nu stiu daca profilul o sa ramana asa
http://girll4you.ucoz.ro/ Material modificat de Mir3LLuTzZa - Duminică, 11/09/2011, 4:28 AM
|
mi lam pus pe al tau Devil, si x( nu ma mai recunoaste ca utilizator al acestui site ... adica : scriu email si parola si scrie ca username sau pass incorect x( ce sa fac???? nam facut nicu un backup :)))))
Adăugat (13/10/2011, 3:06 PM) Copyright © GameBook © 2011. All Rights Reserved.
|
Quote (Oktavianu) mi lam pus pe al tau Devil, si x( nu ma mai recunoaste ca utilizator al acestui site ... adica : scriu email si parola si scrie ca username sau pass incorect x( ce sa fac???? nam facut nicu un backup :))))) Daca m-ai ai alt login form pe pagina respectiva nu o sa functioneze. Quote (Oktavianu) deci iata care e chestia ... :| asta nu recunoaste litere!!!! : Scrisoarea a fost expediată pe "o???v??????3@y???????m" dar trebuia sa fie oktavianu123@yahoo.com Screen + link site |
Devil, lamureste-ma si pe mine cu ceva te rog :
1. In partea superioara Cod <table width="100%"> <tbody> <tr> <td><center><div class="avaa"> <?if($USER_AVATAR_URL$)?> <img src="$USER_AVATAR_URL$" max-height="150" max-width="150"> <?else?> <img src="http://devil-scripts.do.am/no-avatar.jpg" width="150" height="150"> <?endif?> </div></center> <?if($USER_LOGGED_IN$)?><div id="about_pr"> <center style="margin-top:1px;"><span style="font-size: 8pt;margin-left:5px;margin-top:2px;"><b>$USERNAME$ ($USER_FULL_NAME$)</b></span></center><img src="http://diz-soft.pp.ua/images/block_hr_green.png" style="margin-top:1px;margin-bottom:1px;" border="0" alt="" /> <br> <span style="font-size: 8pt;margin-left:5px;">ID: <div style="float: right;margin-right:5px;"><b>$USER_ID$</b></div></span><img src="http://diz-soft.pp.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" /> <br> <span style="font-size: 8pt;margin-left:5px;">Sex: <div style="float: right;margin-right:5px;"><b>$USER_GENDER$</b></div></span><img src="http://diz-soft.pp.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" /><br> <span style="font-size: 8pt;margin-left:5px;">Aici de :<div style="float: right;margin-right:5px;"><b>$USER_REG_DAYS$ <?if($USER_REG_DAYS$%10=0||$USER_REG_DAYS$%10>4||$USER_REG_DAYS$%100>10&&$USER_REG_DAYS$%100<15)?>Zile<?else?><?if($USER_REG_DAYS$%10=1)?>ень<?else?>ня<?endif?><?endif?></b></div></span></span><img src="http://diz-soft.pp.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" /><br> <span style="font-size: 8pt;margin-left:5px;">Grupa: <div style="float: right;margin-right:5px;"><b>$USER_GROUP$</b></div></span><img src="http://diz-soft.pp.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" /><br> <div style="vertical-align: bottom;margin-bottom:2px;"><span style="font-size: 8pt;margin-left:5px;">IP: <div style="float: right;margin-right:5px;"><b>$IP_ADDRESS$</b></div></span> </div> </div></td> </tr> </tbody> </table> <table width="103%"> <tbody> <tr><td width="50%"> <input class="buttonprofile" style="width:100%;" target="_blank" type="button" onclick="document.location.href='/index/8'; return false; target: blank;" value="Profil"/> <input class="buttonprofile"style="width:100%;" type="button" onclick="document.location.href='$PM_URL$'; return false;" value="Mesaje personale (<?if($IS_NEW_PM$)?>$IS_NEW_PM$<?else?>0<?endif?>)"/> </td> <td width="50%"> <input class="buttonprofile"style="width:100%;height:43;" type="button" onclick="document.location.href='$LOGOUT_LINK$'; return false;" value="LogOut"/> </td> </tr> </tbody> </table><?else?> $LOGIN_FORM$ </td> </tr> </tbody> </table><?endif?> 2. Unde anume ca eu nu gasesc : users --> user login form 3. Stiu unde Ms anticipat de raspuns Material modificat de ShoWoow - Joi, 10/10/2013, 4:22 PM
|
| |||
| |||