Просмотр файла template_c/263e3a8a01bc2137af15beac99122f12bc10a15b.file.register.tpl.php

Размер файла: 4.23Kb
<?php /* Smarty version Smarty3-b8, created on 2013-03-08 11:14:24
         compiled from "template/m/register.tpl" */ ?>
<?php /*%%SmartyHeaderCode:89165139c810051ec6-86344109%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '263e3a8a01bc2137af15beac99122f12bc10a15b' => 
    array (
      0 => 'template/m/register.tpl',
      1 => 1362741250,
    ),
  ),
  'nocache_hash' => '89165139c810051ec6-86344109',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_smarty_tpl->getVariable('disable')->value){?>
<div class="error"><?php echo $_smarty_tpl->getVariable('disable')->value;?>
</div>
<div class="blank"><?php echo Lang(array('p'=>"already_user"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
login"><input type="button" class="green" value="<?php echo Lang(array('p'=>"log_in"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/></a> </div>
<?php }else{ ?>
    <?php if ($_smarty_tpl->getVariable('lock')->value){?>
<div class="error"><?php echo $_smarty_tpl->getVariable('err')->value;?>
</div>
<?php }else{ ?>
    <?php if ($_smarty_tpl->getVariable('result')->value){?>
<div class="auth"><b><?php echo Lang(array('p'=>"registration_successful"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b></div>
<?php echo Lang(array('p'=>"you_can_now_access_your_account"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=lgn&amp;user=<?php echo $_smarty_tpl->getVariable('user')->value;?>
&amp;pass=<?php echo $_smarty_tpl->getVariable('pass')->value;?>
">
<input type="button" class="green" value="<?php echo Lang(array('p'=>"log_in"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/></a>
<?php }else{ ?>
		<?php if ($_smarty_tpl->getVariable('err')->value){?>
<div class="error"><?php echo $_smarty_tpl->getVariable('err')->value;?>
</div>
<?php }else{ ?><?php if ($_smarty_tpl->getVariable('username')->value){?>
<div class="auth"><?php echo $_smarty_tpl->getVariable('info')->value;?>
</div>
<?php }?>
<?php }?>
<div class="blank"><?php echo Lang(array('p'=>"already_user"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
login"><input type="button" class="green" value="<?php echo Lang(array('p'=>"log_in"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/></a> </div>
<form method="post" action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
register">
<div class="shade">
  Username:<br/>
  <input type="text" name="user" maxlength="15" <?php if ($_smarty_tpl->getVariable('username')->value){?>value="<?php echo $_smarty_tpl->getVariable('username')->value;?>
"<?php }else{ ?><?php if ($_smarty_tpl->getVariable('user')->value){?>value="<?php echo $_smarty_tpl->getVariable('user')->value;?>
"<?php }?><?php }?>/>
  <input type="submit" class="login" value="<?php echo Lang(array('p'=>"continue"),$_smarty_tpl->smarty,$_smarty_tpl);?>
..." />
</div>
</form>
<?php if ($_smarty_tpl->getVariable('username')->value){?>
<form method="post" action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
register">
<div class="shader">
  <?php echo Lang(array('p'=>"email"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<br/>
  <input type="text" name="email" maxlength="32"<?php if ($_smarty_tpl->getVariable('email')->value){?> value="<?php echo $_smarty_tpl->getVariable('email')->value;?>
"<?php }?>/>
</div>
<div class="shade">
  <?php echo Lang(array('p'=>"password"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<br/>
  <input type="password" name="pass" maxlength="32" />
</div>
<div class="shader">
  <?php echo Lang(array('p'=>"repeat_password"),$_smarty_tpl->smarty,$_smarty_tpl);?>
:<br/>
  <input type="password" name="repass" maxlength="32" />
</div>
<div class="shade">
  <b><?php echo $_smarty_tpl->getVariable('calc')->value;?>
</b><br/>
  <input type="text" class="num" name="ans"/>
  <input type="hidden" name="user" value="<?php echo $_smarty_tpl->getVariable('username')->value;?>
" /> <input type="submit" class="register" value="<?php echo Lang(array('p'=>"sign_up"),$_smarty_tpl->smarty,$_smarty_tpl);?>
" />
</div>
</form>
<?php }?>
<?php }?>
<?php }?>
<?php }?>