sibtracker/templates/default/registration.tpl
2019-05-18 13:46:03 +08:00

82 lines
5.0 KiB
Smarty
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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 = "&nbsp;<font color=\"red\">Ïàðîëü:</font><b>" + newpwd + "</b>";
}
</script>
<div class="shadow2"><div class="block2"><div class="line line_center">[registration]Ðåãèñòðàöèÿ íîâîãî ïîëüçîâàòåëÿ[/registration][validation]Îáíîâëåíèå ïðîôèëÿ ïîëüçîâàòåëÿ[/validation]</div>
<div class="scriptcode" style="margin-top:2px">
[registration]Äîáðûé äåíü, óâàæàåìûé ïîñåòèòåëü íàøåãî ñàéòà. Ðåãèñòðàöèÿ ïîçâîëèò Âàì ñòàòü ïîëíîöåííûì ó÷àñòíèêîì äàííîãî ïðîåêòà. Âû ñìîæåòå îñòàâëÿòü êîììåíòàðèè, ïðîñìàòðèâàòü ñêðûòûé òåêñò, äîáàâëÿòü íîâîñòè è ìíîãîå äðóãîå.  ñëó÷àå âîçíèêíîâåíèÿ ïðîáëåì ñ ðåãèñòðàöèåé, íàïèøèòå àäìèíèñòðàòîðó ñàéòà.[/registration]
[validation]Óâàæàåìûé ïîñåòèòåëü Âàø àêêàóíò áûë çàðåãèñòðèðîâàí íà íàøåì ñàéòå, îäíàêî èíôîðìàöèÿ î âàñ ÿâëÿåòñÿ íåïîëíîé, ïîýòîìó çàïîëíèòå äîïîëíèòåëüíûå ïîëÿ â âàøåì ïðîôèëå.[/validation]
</div>
<table width="494" class="slink">
[registration]
<tr align="left" valign="middle">
<td width="120" height="25">Ëîãèí</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="Ïðîâåðèòü äîñòóïíîñòü ëîãèíà äëÿ ðåãèñòðàöèè" onclick="CheckLogin(); return false;" type="button" value="Ïðîâåðèòü èìÿ" /><div id='result-registration'></div></td>
</tr>
<tr valign="middle">
<td width="120" height="25">Ïàðîëü</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="Ñãåíåðèðîâàòü" onclick="GenPass('pass1','pass2')" /></td>
</tr>
<tr valign="middle">
<td width="120" height="25">Ïîâòîðèòå ïàðîëü</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">Âàø 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">Êîä áåçîïàñíîñòè</td>
<td height="25">{reg_code}</td>
</tr>
<tr valign="middle">
<td width="120" height="25">Ââåäèòå êîä</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">Âàøå Èìÿ</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>Ìåñòî æèòåëüñòâà  </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">Íîìåð 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">Ëîãèí 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">Ôîòî:</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">Î ñåáå</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"> </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>