82 lines
5.0 KiB
Smarty
82 lines
5.0 KiB
Smarty
|
<script type="text/javascript">
|
|||
|
function GenPass(id, id2) {
|
|||
|
|
|||
|
var symbols = new Array('a','b','c','h','e','f','g','h','j','k','m','n','p','q','r','s','t','u','v','w','x','y','z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','0','1','2','3','4','5','6','7','8','9');
|
|||
|
var newpwd = new String;
|
|||
|
for (i=0;i<=9;i++) {
|
|||
|
|
|||
|
index = Math.floor(Math.random()*55);
|
|||
|
newpwd += symbols[index];
|
|||
|
}
|
|||
|
document.getElementById(id).value = newpwd;
|
|||
|
document.getElementById(id2).value = newpwd;
|
|||
|
|
|||
|
document.getElementById('gen-pass').innerHTML = " <font color=\"red\"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</font><b>" + newpwd + "</b>";
|
|||
|
}
|
|||
|
</script>
|
|||
|
<div class="shadow2"><div class="block2"><div class="line line_center">[registration]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[/registration][validation]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[/validation]</div>
|
|||
|
<div class="scriptcode" style="margin-top:2px">
|
|||
|
[registration]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.[/registration]
|
|||
|
[validation]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.[/validation]
|
|||
|
</div>
|
|||
|
<table width="494" class="slink">
|
|||
|
[registration]
|
|||
|
<tr align="left" valign="middle">
|
|||
|
<td width="120" height="25"><3E><><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td height="25"><input type="text" name="name" id='name' style="width:167px; height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 " class="f_input" /><input style="height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0; background: #FFF;" title="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" onclick="CheckLogin(); return false;" type="button" value="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>" /><div id='result-registration'></div></td>
|
|||
|
</tr>
|
|||
|
<tr valign="middle">
|
|||
|
<td width="120" height="25"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td height="25"><input type="password" id="pass1" name="password1" style="width:167px; height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 " /><input style="height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0; background: #FFF;" type="button" value="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" onclick="GenPass('pass1','pass2')" /></td>
|
|||
|
</tr>
|
|||
|
<tr valign="middle">
|
|||
|
<td width="120" height="25"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td height="25"><input type="password" id="pass2" name="password2" style="width:167px; height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 " /> <span id="gen-pass"></span></td>
|
|||
|
</tr>
|
|||
|
<tr valign="middle">
|
|||
|
<td width="120" height="25"><3E><><EFBFBD> E-Mail</td>
|
|||
|
<td height="25"><input type="text" name="email" style="width:167px; height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 " /></td>
|
|||
|
</tr>
|
|||
|
[sec_code]
|
|||
|
<tr align="left" valign="middle">
|
|||
|
<td width="120" height="25"><3E><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td height="25">{reg_code}</td>
|
|||
|
</tr>
|
|||
|
<tr valign="middle">
|
|||
|
<td width="120" height="25"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD></td>
|
|||
|
<td height="25"><input type="text" name="sec_code" style="width:167px; height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 " /></td>
|
|||
|
</tr>
|
|||
|
[/sec_code]
|
|||
|
[/registration]
|
|||
|
[validation]
|
|||
|
<tr valign="middle">
|
|||
|
<td width="120" height="25"><3E><><EFBFBD><EFBFBD> <20><><EFBFBD></td>
|
|||
|
<td height="25"><input type="text" name="fullname" style="width:167px; height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 " /></td>
|
|||
|
</tr>
|
|||
|
<tr valign="middle">
|
|||
|
<td width="120" height="25"><nobr><3E><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ࠠ</nobr></td>
|
|||
|
<td height="25"><input type="text" name="land" style="width:167px; height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 " /></td>
|
|||
|
</tr>
|
|||
|
<tr align="left" valign="middle">
|
|||
|
<td width="120" height="25"><3E><><EFBFBD><EFBFBD><EFBFBD> ICQ</td>
|
|||
|
<td height="25"><input type="text" name="icq" style="width:167px; height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 " /></td>
|
|||
|
</tr>
|
|||
|
<tr align="left" valign="middle">
|
|||
|
<td width="120" height="25"><3E><><EFBFBD><EFBFBD><EFBFBD> Skype</td>
|
|||
|
<td height="25"><input type="text" name="skype" style="width:167px; height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 " /></td>
|
|||
|
</tr>
|
|||
|
<tr valign="middle">
|
|||
|
<td width="120" height="25"><3E><><EFBFBD><EFBFBD>:</td>
|
|||
|
<td colspan="2" height="25"><input type="file" name="image" style="width:278px; height:20px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 " /></td>
|
|||
|
</tr>
|
|||
|
<tr align="left" valign="middle">
|
|||
|
<td width="120" height="25"><3E> <20><><EFBFBD><EFBFBD></td>
|
|||
|
<td colspan="2" height="25"><textarea name="info" style="width:320px; height:70px; font-family:verdana; font-size:11px; border:1px solid #E0E0E0 "></textarea></td>
|
|||
|
</tr>
|
|||
|
[/validation]
|
|||
|
<tr valign="middle">
|
|||
|
<td width="120" height="25"><3E></td>
|
|||
|
<td height="25"><div style="padding-top:2px; padding-left:0px;"><input name="image" type="image" src="{THEME}/images/send.png" /></div></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div></div>
|