Просмотр файла template_c/67a9a393f6a9e6e9bf5720755c3fb931990e4be3.file.login.tpl.php

Размер файла: 3.7Kb
<?php /* Smarty version Smarty3-b8, created on 2013-03-08 11:23:05
         compiled from "template/m/login.tpl" */ ?>
<?php /*%%SmartyHeaderCode:145195139ca1952b001-90636116%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '67a9a393f6a9e6e9bf5720755c3fb931990e4be3' => 
    array (
      0 => 'template/m/login.tpl',
      1 => 1362741743,
    ),
  ),
  'nocache_hash' => '145195139ca1952b001-90636116',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_smarty_tpl->getVariable('err')->value){?>
<div class="error"><?php echo $_smarty_tpl->getVariable('err')->value;?>
</div>
<?php }?>
<?php if ($_smarty_tpl->getVariable('user')->value){?>
<div class="error"><b><?php echo Lang(array('p'=>"incorrect_pass"),$_smarty_tpl->smarty,$_smarty_tpl);?>
.<br/>
  <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=fgp"><?php echo Lang(array('p'=>"forgot"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"password"),$_smarty_tpl->smarty,$_smarty_tpl);?>
?</a></b><br/>
  <?php echo Lang(array('p'=>"easier_input"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 </div>
<?php }?>
<div class="blank">
<?php echo Lang(array('p'=>"no_account"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
register"><input type="button" class="login" value="<?php echo Lang(array('p'=>"sign"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"up"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/></a>
</div>
<form method="post" action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=lgn<?php if ($_smarty_tpl->getVariable('return')->value){?>&amp;return=<?php echo $_smarty_tpl->getVariable('return')->value;?>
<?php }?>">
<div class="shade">
  <?php if ($_smarty_tpl->getVariable('user')->value){?> <img src="<?php echo $_smarty_tpl->getVariable('photo')->value;?>
" height="100" width="100" alt="<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
"/><br/>
  <?php echo $_smarty_tpl->getVariable('user')->value['email'];?>
<br/>
  <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
login"><?php echo Lang(array('p'=>"not"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
?</a>
  <?php }else{ ?>
  <?php echo Lang(array('p'=>"email_or_user"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<br />
  <input type="text" name="user" maxlength="32" />
  <?php }?>
</div>
<div class="shader">
  <?php echo Lang(array('p'=>"password"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<br />
  <?php if ($_smarty_tpl->getVariable('user')->value){?>
  <input type="text" name="pass" maxlength="32" />
  <br />
  <?php }else{ ?>
  <input type="password" name="pass" maxlength="32" />
  <br />
  <?php }?>
    <input type="checkbox" name="rem" value="1" />
    <?php echo Lang(array('p'=>"remember_me"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<br />
  <?php if ($_smarty_tpl->getVariable('user')->value){?>
  <input type="hidden" name="user" value="<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
"/>
  <?php }?>
  <input type="submit" class="login" value="<?php echo Lang(array('p'=>"log_in"),$_smarty_tpl->smarty,$_smarty_tpl);?>
" />
</div>
</form>
<div class="shade">
<?php echo Lang(array('p'=>"forgot"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"password"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
forgot"><input type="button" class="green" value="<?php echo Lang(array('p'=>"reminder"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/></a>
</div>