Source for file login.php

Documentation is available at login.php

  1. <?php
  2. /**
  3. @package Mambo Open Source
  4. @copyright (C) 2005 - 2006 Mambo Foundation Inc.
  5. @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
  6. *
  7. *  Mambo was originally developed by Miro (www.miro.com.au) in 2000. Miro assigned the copyright in Mambo to The Mambo Foundation in 2005 to ensure
  8. *  that Mambo remained free Open Source software owned and managed by the community.
  9. *  Mambo is Free Software
  10. */ 
  11.  
  12. /** ensure this file is being included by a parent file */
  13. defined'_VALID_MOS' or die'Direct Access to this location is not allowed.' );
  14.  
  15. $tstart mosProfiler::getmicrotime();
  16. ?>
  17. <?php echo "<?xml version=\"1.0\"?>\r\n"?>
  18. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  19. <html xmlns="http://www.w3.org/1999/xhtml">
  20. <head>
  21. <title><?php echo $mosConfig_sitename?> - Administration [Mambo]</title>
  22. <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO?>" />
  23. <style type="text/css">
  24. @import url(templates/mambo_admin_blue/css/admin_login.css);
  25. </style>
  26. <script language="javascript" type="text/javascript">
  27.     function setFocus() {
  28.         document.loginForm.usrname.select();
  29.         document.loginForm.usrname.focus();
  30.     }
  31. </script>
  32. </head>
  33. <body onload="setFocus();">
  34. <div id="wrapper">
  35.     <div id="header">
  36.            <div id="mambo"><img src="templates/mambo_admin_blue/images/header_text.png" alt="Mambo Logo" /></div>
  37.     </div>
  38. </div>
  39. <div id="ctr" align="center">
  40.     <div class="login">
  41.         <div class="login-form">
  42.             <img src="templates/mambo_admin_blue/images/login.gif" alt="<?php echo T_('Login'?>" />
  43.             <form action="index.php" method="post" name="loginForm" id="loginForm">
  44.             <div class="form-block">
  45.                 <div class="inputlabel">نام کاربری</div>
  46.                 <div><input name="usrname" type="text" class="inputbox" size="15" /></div>
  47.                 <div class="inputlabel">کلمه عبور</div>
  48.                 <div><input name="pass" type="password" class="inputbox" size="15" /></div>
  49.                 <input type="hidden" name="adminside" value="1" />
  50.                 <input type="hidden" name="option" value="login" />
  51.                 <div align="left"><input type="submit" name="submit" class="button" value="ورود" /></div>
  52.             </div>
  53.             </form>
  54.         </div>
  55.         <div class="login-text">
  56.             <div class="ctr"><img src="templates/mambo_admin_blue/images/security.png" width="64" height="64" alt="security" /></div>
  57.             <p>به بخش مدیریت سیستم مدیریت محتوای مامبو خوش آمدید!</p>
  58.             <p>لطفا برای ورود از نام کاربری و کلمه عبور صحیح استفاده نمایید.</p>
  59.         </div>
  60.         <div class="clr"></div>
  61.     </div>
  62. </div>
  63. <div id="break"></div>
  64. <noscript>
  65. !Warning! Javascript must be enabled for proper operation of the Administrator
  66. </noscript>
  67. <div class="footer" align="center">
  68. <?php
  69.     include ($mosConfig_absolute_path "/includes/footer.php");
  70. ?>
  71. </div>
  72. </body>
  73. </html>

Documentation generated on Mon, 05 May 2008 16:20:54 +0400 by phpDocumentor 1.4.0