MaxRom | Scripturi uCoz Romania

Bannerul tau aici
[ Mesaje noi · Membrii · Regulamentul forumului · RSS ]
  • Pagina 1 din 1
  • 1
Login form nou fain
Devil Date: Miercuri, 2011-07-20, 22:12 | Message # 1
Mesaje: 425
Awards: 15
« 29 »

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 :

Profil :


Login :

 
DNFD Date: Joi, 2011-07-21, 18:28 | Message # 2
Mesaje: 16
Awards: 11
« 0 »

destul de reusit dar.. cine ar avea nevoie de mini profil :-j


http://onlinegames.ucoz.ro - Jocuri Online
http://animatie.ucoz.com - Desene Animate Online si Download Torrent

 
Devil Date: Joi, 2011-07-21, 18:34 | Message # 3
Mesaje: 425
Awards: 15
« 29 »

DNFD, sunt multi :)

 
Markus3 Date: Vineri, 2011-07-22, 13:17 | Message # 4
Mesaje: 134
Awards: 3
« 2 »

Devil, mie imi place cu mini-profil si e si mai simplu pentru toti utilizatori. :)

 
Devil Date: Vineri, 2011-07-22, 14:20 | Message # 5
Mesaje: 425
Awards: 15
« 29 »

Markus3, corect , eu l-am pus , pentru ca la multi le trebe , acuma fiecare cu parerea lui

 
  • Pagina 1 din 1
  • 1
Căutare: