home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / dotproject / style / classic / login.php < prev    next >
PHP Script  |  2003-08-20  |  3KB  |  75 lines

  1. <?php /*  STYLE/CLASSIC $Id: login.php,v 1.8 2003/08/20 18:08:31 jcgonz Exp $ */ ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3.        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <head>
  6.     <meta http-equiv="Content-Type" content="text/html;charset=<?php echo isset( $locale_char_set ) ? $locale_char_set : 'UTF-8';?>" />
  7.     <meta http-equiv="Pragma" content="no-cache">
  8.     <link href="./style/<?php echo $uistyle;?>/main.css" rel="STYLESHEET" type="text/css" />
  9. </head>
  10.  
  11. <body bgcolor="white" onload="document.loginform.username.focus();">
  12. <p> </p>
  13. <p> </p>
  14. <p> </p>
  15. <table align="center" border="0" width="250" cellpadding="4" cellspacing="0" bgcolor="#cccccc" class="bordertable">
  16. <form action="./index.php" method="post" name="loginform">
  17. <input type="hidden" name="login" value="<?php echo time();?>" />
  18. <input type="hidden" name="redirect" value="<?php echo $redirect;?>" />
  19. <tr>
  20.     <td colspan="2" class="headerfontWhite" bgcolor="gray">
  21.         <strong><?php echo $AppUI->cfg['company_name'];?></strong>
  22.     </td>
  23. </tr>
  24. <tr>
  25.     <td bgcolor="#eeeeee" align="right" nowrap width="100">
  26.         <?php echo $AppUI->_('Username');?>:
  27.     </td>
  28.     <td bgcolor="#eeeeee" align="left" class="menufontlight" nowrap>
  29.         <input type="text" size="25" maxlength="32" name="username" class="text" />
  30.     </td>
  31. </tr>
  32. <tr>
  33.     <td bgcolor="#eeeeee" align="right"  nowrap>
  34.         <?php echo $AppUI->_('Password');?>:
  35.     </td>
  36.     <td bgcolor="#eeeeee" align="left" class="menufontlight" nowrap>
  37.         <input type="password" size="25" maxlength="32" name="password" class="text" />
  38.     </td>
  39. </tr>
  40. <tr>
  41.     <td bgcolor="#eeeeee" align="center" class="menufontlight" nowrap colspan="2">
  42.         <input type="submit" name="login" value="<?php echo $AppUI->_('login');?>" class="button" /></p>
  43.     </td>
  44. </tr>
  45. </table>
  46.  
  47. <p align="center"><?php 
  48.     echo '<span class="error">'.$AppUI->getMsg().'</span>';
  49.     //echo ini_get( 'register_globals') ? '' : '<br /><span class="warning">WARNING: dotproject is not fully supported with register_globals=off</span>';
  50. ?></p>
  51.  
  52. <table align="center" border="0" width="250" cellpadding="4" cellspacing="0">
  53. <tr>
  54.     <td>
  55.         <br />
  56.         <ul type="square">
  57.             <li>
  58.                 <A href="mailto:<?php echo 'admin@' . $AppUI->cfg['site_domain'];?>"><?php echo $AppUI->_('forgotPassword');?></a>
  59.             </li>
  60.         </ul>
  61.     </td>
  62. </tr>
  63. <tr>
  64.     <td align=center>
  65.         <img src="./images/icons/dp.gif" width="42" height="42" border=0 alt="dotproject" />
  66.         <p>dotproject</p>
  67.         <p><?php echo $AppUI->_('openSource');?></p>
  68.     </td>
  69. </tr>
  70. </form>
  71. </table>
  72.  
  73. </body>
  74. </html>
  75.