NuMetal's Blog
Hauptseite » Dateien » Webdesign » Scripts

Miniprofil für uCoz
[ · Screenshot ] 14.07.2010, 01:51
Installation:

Im Verwaltungspanel "Loginformular für Benutzer" mit diesem Code ersetzen:

Code
<div style="width:180px;">  
<table border="0" cellspacing="1" cellpadding="0" width="100%">  
<center>Hallo, <b>Gast</b>  

<img src="/loginformicons/noavatar.gif" border="0">  
</p>Lieber Gast wir freuen uns auf eren Besuch.Bitte registrieren sie sich!!!</center>  
<td colspan="2" style="color:red;text-align:center;">$ERROR$</td>  
<tr><td><img style="padding-right: 5px; padding-bottom: 12px;" src="/loginformicons/key.png" border="0"></td><td><style type="text/css">.uLogBlock {margin:0;padding:2px;clear:both;}.uLogDescr,.uLogRem {float:left;}.uLogField,.uLogSbm {float:right;}</style>  
<dl class="uLogBlock"><div class="uLogDescr">  
<a href="javascript://" onclick="new _uWnd('HelpWd','Помощник',360,150,{align:'justify'},{url:'http://xusers.at.ua/index/90-7'}); return false;" class="noun">Email</a>:</div><div class="uLogField"><input class="login" name="user" value="" size="20" style="width: 100px;" maxlength="25" type="text"></div></dl>  
<dl class="uLogBlock"><div class="uLogDescr" id="uld2">Passwort</div><div class="uLogField" id="ulf2"><input class="pass" name="password" size="20" style="width: 100px;" maxlength="15" type="password"></div></dl>  
</table>  
<table border="0" cellspacing="1" cellpadding="0" width="100%">  
<tr><td nowrap><input id="rem$PAGE_ID$" type="checkbox" name="rem" value="1" checked /><label for="rem$PAGE_ID$">Merken</label>   
<input id="hid$PAGE_ID$" type="checkbox" name="hidden" value="1" /><label for="hid$PAGE_ID$">Verstecken</label></td><td align="right" valign="top"><input class="loginButton" name="sbm" type="submit" value="Вход" /></td></tr>  
<tr><td colspan="2"><div style="font-size:7pt;text-align:center;"><a href="$REMINDER_LINK$">Passwort vegessen?</a> | <a href="$REGISTER_LINK$">Registration</a></div></td></tr>  
</table>  
</div>

Danach in CSS am Ende folgendes schreiben:

Code
a.plink:link,a.plink:visited,a.plink:active {display: block; width: 95%; text-decoration: none;padding: 3px 4px 3px 4px;background: #FFFFFF;color: #aaaaaa;border:1px solid #6E6E6E; }  

a.plink:hover {display: block; width: 95%; text-decoration: none;padding: 3px 4px 3px 4px;background: #f7f7f7;color: #444444;border:1px solid #565656; }  

.InfoTable {border:1px solid #6E6E6E;font-family:Verdana,Tahoma,Arial,Sans-Serif;color:#6E6E6E;padding:5px;text-align:left;background:#f7f7f7;font-size:7pt;}  
/* Пароль */  
.pass {  
border:1px solid #6E6E6E;  
padding: 2px;  
text-align: center;  
font-size: 10px;  
margin: 0px;  
width: 60%;  
background: url('http://xusers.at.ua//loginformicons/pass.gif') no-repeat;#F3F3F3;  
color: #000000;  
cursor: pointer;  
letter-spacing: 0px;  
font-family: verdana;  
}  
/* Пароль */  

/* Имэйл */  
.login {  
border:1px solid #6E6E6E;  
padding: 2px;  
text-align: center;  
font-size: 10px;  
margin: 0px;  
width: 60%;  
background: url('http://xusers.at.ua//loginformicons/login.gif') no-repeat;#F1F1F1;  
color: #000000;  
cursor: pointer;  
letter-spacing: 0px;  
font-family: verdana;  
}  

/* Имэйл */  

/* Главные таблицы шаблона */  
.ntb{background:#6E6E6E;padding-left:15px;color:#FFFFFF}  
.ctb{background:#f7f7f7;padding:5px;border:1px solid #6E6E6E;}  
.ltb{background:#FFFFFF;color:#FFFFFF}  
/* Главные таблицы шаблона */  

/* Кнопка входа*/  
.loginButton{  
border:1px solid #6E6E6E;  
padding: 3px;  
text-align: center;  
font-size: 10px;  
margin: 0px;  
width: 100%;  
background:#F3F3F3;  
color: #000000;  
cursor: pointer;  
letter-spacing: 0px;  
font-family: verdana;  
}  
.loginButton:hover {  
border:1px solid #c0c0c0;  
padding: 3px;  
text-align: center;  
font-size: 10px;  
margin: 0px;  
width: 100%;  
background:#6E6E6E;  
color: #F3F3F3;  
cursor: pointer;  
letter-spacing: 0px;  
font-family: verdana;  
}

Miniprofil:


Code
<table border="0" cellpadding="0" cellspacing="0" width="203">  
<tr><td height="25" class="ntb"><b><!-- <bt> --><!--<s5158>--><?if($LOGIN_FORM$)?>Loginform<?else?>Miniprofil<?endif?><!--</s>--><!-- </bt> --></b></td></tr>  
<tr><td class="ctb"><!-- <bc> -->  
<?if($LOGIN_FORM$)?>  
$LOGIN_FORM$  
<?else?>  
<table border="0" cellpadding="0" cellspacing="0" width="100%">  
<tr><td class="InfoTable">  
Hallo, <b>$USERNAME$</b><br>  
Deine IP: <b>$IP_ADDRESS$</b><br>  
Deine Gruppe: <b>$USER_GROUP$<img src="/groupsicons/$GROUP_ID$.gif" border="0" alt="" /></b><br>  
</td></tr></table><br>  
<table border="0" cellpadding="0" cellspacing="0" width="100%">  
<tr><td class="InfoTable">  
<center>  
<?if($USER_AVATAR_URL$)?><img src="$USER_AVATAR_URL$" border="0" alt="Dein Avatar" />  
<?else?><img src="/loginformicons/noavatar.gif" border="0" alt="Sie haben noch kein Avatar!" />  
<?endif?><center>  
</td></tr></table>  
<br>  
<a class="plink" title="Ungelesene Nachrichten lesen" target="_blank" href="$PM_URL$">Posteingang(Es sind <b>$UNREAD_PM$</b> ungelesene Nachrichten)</a><br>  
<a class="plink" title="Mein Profil auf der Seite" href="$PERSONAL_PAGE_LINK$">Personliche Seite</a><br>  
<a class="plink" title="Deine Daten andern" href="/index/11">Profileinstellungen</a><br>  
<a class="plink" title="Seite sicher verlassen!" href="$LOGOUT_LINK$"><img src="http://www.iconfinder.net/data/icons/humano2/16x16/actions/application-exit.png" border="0" alt="" /> Logout</a><br>  
<?endif?>  
<!-- </bc> --></td></tr>  
<tr><td height="4" class="ntb"></td></tr>  
</table><br>
Kategorie: Scripts | Hinzugefügt von: Administrator
Aufrufe: 1349 | Downloads: 0 | Kommentare: 1 | Rating: 0.0/0
Kommentare insgesamt: 0
Vorname *:
Email *:
Code *:

Suche


Kategorien der Rubrik

Infos für Webmaster [1]
Scripts [2]
Icons [2]
Anderes [0]

Mini-Chat


Unsere Umfrage

Bewerten Sie meine Website
Antworten insgesamt: 15

Statistik


Insgesamt online: 1
Gäste: 1
Benutzer: 0

Copyright MyCorp © 2024
Gesponsort von uCoz