Login   Register  
PHP Classes
elePHPant
Icontem

File: pages/p_login.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Javier AP  >  Pergamus Publication Manager  >  pages/p_login.php  >  Download  
File: pages/p_login.php
Role: Auxiliary script
Content type: text/plain
Description: Log-in page
Class: Pergamus Publication Manager
Web based manager for scientific publications
Author: By
Last change: Directory path added to filename
Date: 9 years ago
Size: 1,302 bytes
 

Contents

Class file image Download
<?php include '../class/class_collection.php' ?>
<?php
if($action == 'exit') {
session_start();
session_unset();
session_destroy();
}
?>
<html>
<head>
<title>Pergamus publication manager </title>
<link href="../style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="main">
  <h1> Login: </h1>
  <br>
  <table width="50%" border="0" cellpadding="4" cellspacing="0" >
  <form action="p_panel.php" method="post">
    <tr>
      <td>      
        <strong><em>Username:</em></strong> 
      </td>
      <td><input name="PHP_AUTH_USER" type="text" size="20"/>   
      </td>
    </tr>
    <tr>
      <td><strong><em>Password:</em></strong></td>
      <td><input name="PHP_AUTH_PW" type="password" size="20"/>      </td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input TYPE="image" SRC="../img/bt_enviar.jpg" width="59" height="20" BORDER="0"></td>
    </tr>
    <?php if(isset($msj) && $msj == 1) { ?>
    <tr>
       <td colspan="2"><div align="left"><font color="#990000"> <em><strong>Incorrect username or password</strong></em></font></div></td>
    </tr>
    <?php } else { ?>
    <tr>
       <td colspan="2">&nbsp;</td>
    </tr>
    <?php }?>
    </form>      
  </table>      
  <?php include 'p_banner.php'?>
  <p>&nbsp; </p>
</div>    
</body>
</html>