[ Index ]
 

Code source de CMS made simple 1.0.5

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

title

Body

[fermer]

/admin/themes/default/ -> login.php (source)

   1  <?php echo '<?xml version="1.0" encoding="' . get_encoding() . '"?>'; ?>
   2  <!DOCTYPE html 
   3       PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   4       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   5  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   6  <head>
   7  <title>CMS Login</title>
   8  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_encoding() ?>" />
   9  <script src="themes/default/includes/standard.js" type="text/javascript"></script>
  10  
  11  <link rel="stylesheet" type="text/css" media="screen, projection" href="loginstyle.php" />
  12  <base href="<?php global $gCms; $config =& $gCms->GetConfig(); echo $config['root_url'] . '/' . $config['admin_dir'] . '/'; ?>" />
  13  </head>
  14  
  15  <body>
  16  <div class="lball">
  17      <div class="lblayout lbtopmargin"><p><img src="themes/default/images/logo.gif" alt="" /><span class="logotext"><?php echo lang('logintitle')?></span></p></div>
  18      <div id="loginbox" class="lblayout lbcontainer">
  19              <div class="lbinfo">
  20                  <p><?php echo lang('loginprompt')?> <br /><br />
  21                      <?php
  22                          debug_buffer('Debug in the page is: ' . $error);
  23                          if (isset($error) && $error != '')
  24                          {
  25                              echo '<span class="loginerror">'.$error.'</span>';
  26                          }
  27                      ?>
  28                  </p>
  29              </div>
  30              <div class="lbfields">
  31                  <div class="lbfieldstext">
  32                      <p class="lbuser"><?php echo lang('username')?>:</p>
  33                      <p class="lbpass"><?php echo lang('password')?>:</p>
  34                  </div>
  35                  <div class="lbinput">
  36                      <form method="post" action="login.php">
  37                          <p>
  38                              <input name="username" <?php if(!isset($_POST['username'])) echo 'class="defaultfocus"' ?> type="text" size="15" value="<?php echo htmlentities(isset($_POST['username'])?$_POST['username']:'')?>" /><br />
  39                          <?php if(isset($error) && $error!='') {
  40                            echo '<input class="lbpassword defaultfocus" name="password" type="password" size="15" /><br />';
  41                          } else {
  42                            echo '<input class="lbpassword" name="password" type="password" size="15" /><br />';
  43                          } ?>
  44                              <input class="lbsubmit" name="loginsubmit" type="submit" value="<?php echo lang('submit')?>" /> 
  45                              <input class="lbsubmit" name="logincancel" type="submit" value="<?php echo lang('cancel')?>" />
  46                          </p>
  47                      </form>
  48                  </div>
  49              </div>
  50      </div>
  51      <div class="lblayout footer"><a class="footer" href="http://www.cmsmadesimple.org">CMS Made Simple</a> is free software released under the General Public Licence.</div>
  52  </div>    
  53  </body>
  54  </html>


Généré le : Tue Apr 3 18:50:37 2007 par Balluche grâce à PHPXref 0.7