<form name="enter" method="post" action="адрес твоего чата"> Ник: <input name="nick" type="text" size="10" /> Пароль: <input name="pass" type="password" size="10" /> <input type="submit" value=" ВОЙТИ " /> </form>
<script> towrite2="<hr>Inchat:<table>"; for(i=0;i<i_inusers.length;i++) { i_nick=i_inusers[i][0]; i_color=i_inusers[i][1]; i_mw=i_inusers[i][2]; i_stat= i_inusers[i][3]; i_room= i_inusers[i][4]; towrite2+="<tr><td><a href=?inc=info&nick="+i_nick+" target=_blank><font color="+i_color+">"+i_nick+"</font></a>"; } towrite2+="</table>"; document.write(towrite2); </script>
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border:1px solid #494949;"><tr><td height="23" style="background-color:black;color:black;padding-left:0px;font-size:10px;"><center><FONT SIZE="2" COLOR="White" FACE="Verdana,Tahoma">Форма входа в чат<FONT/><center/></td></tr></table> <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border:1px solid #494949;"><tr><td style="background:black;padding:1px;border:0px solid #262626;"> <DIV align=center> <form method=post name=gochat action=index.php> <p align="center"> <script> if(mynick && myid) document.write("<input type=hidden name=nick value='"+mynick+"'><input type=hidden name=id value='"+myid+"'><b>"+mynick+"</b> <a href=?cookie_off=1>выйти?</a><br><br>"); else { document.write("<FONT SIZE="1" COLOR="ORANGE" FACE="Comic Sans MS">Ник:</FONT> <input name=nick type=text class=text> "); document.write("<FONT SIZE="1" COLOR="ORANGE" FACE="Comic Sans MS">Пароль:</FONT> <input name=pass type=password class=text><br>"); document.write("<input type=checkbox name=cookie_on> - <FONT SIZE="1" COLOR="ORANGE" FACE="Comic Sans MS">запомнить</font>"); } </script> <div class="uLogSbm"><input class="loginButton" name="sbm" type="submit" value="Войти" /> <br> <br> <script> <!-- var get=new Array(); var a=location.search.substr(1).split("&"); for(var i=0; i<a.length;i++) {var j=a[i].split("="); get[j[0]]=j[1];} var ref=get['ref']; document.write('<a href=# onclick="location.href=\'index.php?inc=reg&ref=\'+ref; return false;"><FONT SIZE="1" COLOR="red" FACE="Comic Sans MS">Регистрация</FONT></a>'); // --> </script> <a href=index.php?inc=mail target=iframe><FONT SIZE="1" COLOR="#C01A1A" FACE="Comic Sans MS">Забыл пароль?</FONT></a> </p> </form>