Вход Регистрация
Файл: sm_ff/EN/templates/GENERAL/activateactf.tpl
Строк: 62
{if $activate_result === false || $activate_result} {literal} <script
type="text/javascript"> function DoActivateForm(th) {
RestInp(th.scode); if (th.scode.value == '') {
th.scode.focus(); alert('Enter Activation Code!'); return
false; } RestInp(th.actcode); if (th.actcode.value == '') {
th.actcode.focus(); alert('Enter text from image!'); return
false; } return true; } function RestInp(th) { if
(th.value == '') { th.className = 'inpt_r'; return ; }
th.className = 'inpt'; } </script> {/literal} {/if} <div
style="margin-top: 5px"> {if $activate_result === false ||
$activate_result} <form method="post"
name="regform" id="regform" onsubmit="return
DoActivateForm(this)"> <div
class="typelabel"><label
id="red">*</label> Your activation code</div>
<div><input type="text" class="inpt"
style="width: 300px" name="scode" id="scode"
onclick="RestInp(this)" onblur="RestInp(this)"
value="{$CONTROL_OBJ->GetPostElement('scode', 'activeact')}"
maxlength="32"></div> <div> <table
cellpadding="0" cellspacing="0"
border="0"> <tr> <td align="left"
valign="top" style="width: 300px"> <div
class="typelabel"><label
id="red">*</label> Check code from Image</div>
<div><input type="text" class="inpt"
style="width: 300px" name="actcode"
id="actcode" onclick="RestInp(this)"
onblur="RestInp(this)"></div> </td> <td
align="left" valign="bottom" style="width:
66px"> <img class="captcha_img"
src="{$smarty.const.W_SITEPATH}img/cptch.php?tim=w&ln=DCCDBB&br=775D41&h=23">
</td> </tr> </table> </div> <div
class="typelabel"> <input type="submit"
value="&nbsp;Activate&nbsp;" class="button"
name="rb" id="rb"> </div> <input
type="hidden" value="do"
name="activeact"> </form> {/if} <div
style="margin-top: 12px"> {if $activate_result !== false}
{if $activate_result} <div id="red"
style="font-weight: bold">{$activate_result}</div>
{else} <div style="color: #008000"> Registration is
successfully confirmed! Use your username and password to enter the private
account. </div> {/if} {/if} </div> </div>
Онлайн: 0
Реклама