Admin Admin
Number of posts : 262 Join date : 08.03.12 Age : 62 Dzīvesvieta : Talsi
| Tēma: Ieejas lapa kā Draugiem (UCOZ) Ceturtdiena Oktobris 11, 2012 5:52 pm | |
| 1.Šo kodu ievietosim User login form. - Kods:
-
<?if($ERROR$)?><td colspan="2" style="color:red;text-align:center;">$ERROR$</td><?endif?> <div id="loginForm" class="bx"><div class="bxContent"><div class="formItem formItemInput" id="Forms_email"><label for="email">Tavs e-pasts</label><div class="formItemBorder radius3">
<div class="formItemPadding radius3">
<input class="loginField" type="text" name="user" value="" size="20" style="width:100%;" maxlength="50"/> </div>
</div></div><!-- .formItem --><script id="semail">T.Forms._focus("email");</script><div class="formItem formItemInput" id="Forms_password"><label for="password">Tava parole</label><div class="formItemBorder radius3">
<div class="formItemPadding radius3">
<input class="loginField" type="password" name="password" size="20" style="width:100%" maxlength="15"/> </div>
</div></div><!-- .formItem --><script id="spassword">T.Forms._focus("password");</script><div id="capsLock" class="colorWarn" style="position: absolute; top: 60px; left: 110px;"></div>
<div style="float:left">
<div class="formItem formItemCheckbox" id="Forms_remember_me"><label>
<input name="remember_me" id="remember_me" type="checkbox" value="1" /> Atcerēties mani
</label></div><!-- .formItem --> </div><div style="float:right;margin-top: 10px;">
<span class="button"><div class="radius3"><button class="buttonC radius3" name="login" type="submit">Ienākt</button></div> 2. Šo kodu ievietosim - "Acces denied" page - Kods:
-
<!DOCTYPE html> <html id="draugiem" lang="lv"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>biedriem.ez.lv</title> <meta charset="UTF-8"> <link rel="icon" type="image/png" href="/speeddial-160px.png" /> <link rel="icon" href="/favicon.ico" type="image/x-icon" /> <meta name="ROBOTS" content="NOARCHIVE" />
<meta name="viewport" content="width=device-width, initial-scale=1.2, maximum-scale=5" /> <meta name="viewport" content="width=400" /><link rel="apple-touch-icon" href="http://ifrype.com/i/logos/dr.png" /><link rel="stylesheet" type="text/css" href="http://ifrype.com/v784/css/new.rel.css" /> <link rel="stylesheet" type="text/css" href="http://ifrype.com/v784/css/ads.css" /> <link rel="stylesheet" type="text/css" href="http://ifrype.com/v784/css/login.css" /> <link rel="stylesheet" title="Skin" type="text/css" href="/css/skin/0_0.css" /> <style type="text/css" media="screen, projector"> #lt {width:0px;} #ct {width:980px;} #rt {width:0px;} </style> <script type="text/javascript" src="http://ifrype.com/v896/lang/lv/xGlobal.js" charset="utf-8"></script> <script type="text/javascript" src="http://ifrype.com/v896/js/base.js" charset="utf-8"></script> <script type="text/javascript" src="http://ifrype.com/v896/js/common.js" charset="utf-8"></script> <script type="text/javascript" src="http://ifrype.com/v896/js/t.js" charset="utf-8"></script> <script type="text/javascript" src="http://ifrype.com/v896/say/say.js" charset="utf-8"></script> <script type="text/javascript" src="http://ifrype.com/v896/js/ads.js" charset="utf-8"></script> <script type="text/javascript" src="http://ifrype.com/v896/js/login.js" charset="utf-8"></script> <script type="text/javascript" src="http://ifrype.com/v896/js/AC_OETags.js" charset="utf-8"></script> <script type="text/javascript" src="http://ifrype.com/v896/lang/lv/xLogin.js" charset="utf-8"></script>
</head> <body class="langlv"> <div id="topWrap"><div id="footWrap">
<table id="loginBody">
<tr><td class="">
<table id="loginTable"><tr><td valign="middle" align="center"><a id="loginLogo" href="/" title=""><img src="http://biedriem.ucoz.lv/Logo_un_baneri/4662362.png" alt="" /></a><div id="loginBox" > $LOGIN_FORM$ <span class="buttonDisabledO"></span></span> </div>
<div class="clear"></div>
</div><!-- .bxContent --></div><input name="redir" value="/" type="hidden" /><input name="lang" value="lv" type="hidden" /><input name="domain" value="www.draugiem.lv" type="hidden" /><input name="hash" value="4a2b7106dc0a5a0479b6078f7491b766" type="hidden" /><input name="js" id="loginJS" type="hidden" /><input name="flash" id="loginFlash" type="hidden" /><input name="res" id="loginRes" type="hidden" /><input name="ajax" id="loginAjax" type="hidden" /><script>
document.getElementById('loginJS').value = '1';
document.getElementById('loginFlash').value = String( GetSwfVer() ).replace( /,/g, '.' );
document.getElementById('loginRes').value = screen.width + 'x' + screen.height;
$.ajax( {
url:'/rq/check_ajax.html',
type:'GET',
success:function(){
document.getElementById('loginAjax').value = 1;
}
} );
</script>
</form>
<a href="/forgot/" class="color3">Aizmirsi paroli?</a></div></td></tr></table></td></tr>
<tr><td id="loginFooter">
<div style="float:left"><a href="http://biedriem.ucoz.lv/">BieDriem</a> <a href="http://biedriem.ucoz.lv/">BieDriem</a> <a href="http://biedriem.ucoz.lv/">BieDriem</a> <a href="http://biedriem.ucoz.lv/">BieDriem</a> <a href="http://biedriem.ucoz.lv/">BieDriem</a> <a href="http://biedriem.ucoz.lv/">BieDriem</a> <a href="http://biedriem.ucoz.lv/">BieDriem</a> <a href="http://biedriem.ucoz.lv/">BieDriem</a> <br /><span>Šobrīd portālu skatās: $USERS_LIST_URL$</span></div><div style="float:right"> $POWERED_BY$ </div> </td> </tr>
</table></div></div>
</body>
</html> | |
|