[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_themes/templates/ -> login_template.php (source)

   1  <?php
   2  
   3  if (!defined('e107_INIT')) { exit; }
   4  
   5  // ##### LOGIN HEADER TABLE -----------------------------------------------------------------------
   6  if(!$LOGIN_TABLE_HEADER){
   7      $LOGIN_TABLE_HEADER .= "
   8      <div style='width:100%;text-align:center; margin-left: auto;margin-right: auto'><br />
   9          <div style='text-align:center;width:70%;margin-left: auto;margin-right: auto'>
  10              ".(file_exists(THEME."images/login_logo.png") ? "<img src='".THEME."images/login_logo.png' alt='' />\n" : "<img src='".e_IMAGE."logo.png' alt='' />\n" );
  11  }
  12  
  13  // ##### LOGIN TABLE -----------------------------------------------------------------------------
  14  if(!$LOGIN_TABLE){
  15          $LOGIN_TABLE = "";
  16          if($LOGIN_TABLE_LOGINMESSAGE != ""){
  17                  $LOGIN_TABLE .= "<div style='text-align:center'>{LOGIN_TABLE_LOGINMESSAGE}</div>";
  18          }
  19          $LOGIN_TABLE .= "
  20          <div style='text-align:center'>
  21          ".$rs -> form_open("post", e_SELF)."<table class='fborder' style='width:60%' >\n<tr>\n<td class='forumheader' style='text-align:center;' colspan='3'>".LAN_LOGIN_4."</td>\n</tr>\n<tr>\n<td class='forumheader3' width='40%'>".LAN_LOGIN_1."</td>\n<td class='forumheader3' width='40%'>{LOGIN_TABLE_USERNAME}</td>\n<td class='forumheader3' width='20%' rowspan='".($LOGIN_TABLE_SECIMG_SECIMG ? 3 : 2)."' style='vertical-align: middle; margin-left: auto; margin-right: auto; text-align: center;'>".(file_exists(THEME."images/password.png") ? "<img src='".THEME."images/password.png' alt='' />\n" : "<img src='".e_IMAGE."generic/".IMODE."/password.png' alt='' />\n" )."</td>\n</tr>\n<tr>\n<td class='forumheader3'>".LAN_LOGIN_2."</td>\n<td class='forumheader3'>{LOGIN_TABLE_PASSWORD}</td>\n</tr>\n";
  22      if($LOGIN_TABLE_SECIMG_SECIMG){
  23          $LOGIN_TABLE .= "<tr><td class='forumheader3'>{LOGIN_TABLE_SECIMG_LAN}</td>\n<td class='forumheader3'>{LOGIN_TABLE_SECIMG_HIDDEN} {LOGIN_TABLE_SECIMG_SECIMG} {LOGIN_TABLE_SECIMG_TEXTBOC}</td>\n</tr>\n";
  24      }
  25  
  26      $LOGIN_TABLE .= "<tr>\n<td class='forumheader2' style='text-align:center;' colspan='3'>{LOGIN_TABLE_AUTOLOGIN}<span class='smalltext'>{LOGIN_TABLE_AUTOLOGIN_LAN}</span><br />{LOGIN_TABLE_SUBMIT}</td>\n</tr>\n</table>".
  27      $rs -> form_close()."\n</div>";
  28  }
  29  // ##### ------------------------------------------------------------------------------------------
  30  
  31  // ##### LOGIN TABLE FOOTER -----------------------------------------------------------------------
  32  if(!$LOGIN_TABLE_FOOTER){
  33              $LOGIN_TABLE_FOOTER = "
  34              <div style='width:70%;margin-right:auto;margin-left:auto'>
  35                  <div style='text-align:center'><br />
  36                      {LOGIN_TABLE_FOOTER_USERREG}
  37                      &nbsp;&nbsp;&nbsp;<a href='fpw.php'>".LAN_LOGIN_12."</a>
  38                  </div>
  39              </div>
  40          </div>
  41      </div>";
  42  }
  43  // ##### ------------------------------------------------------------------------------------------
  44  
  45  
  46  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7