Guest User

Untitled

a guest
Jan 19th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.58 KB | None | 0 0
  1. <?php
  2. session_start();
  3. ?>
  4. <html>
  5.     <head>
  6.         <link href="styles/1024x768/overall.css" type="text/css" rel="stylesheet">
  7.         <title>Portal World Management Application</title>
  8.         <div id="title">
  9.             <h1>PORTAL WORLD</h1>
  10.         </div>
  11.     </head>
  12.     <body>
  13.         <div id="head">
  14.             <table>
  15.                 <form id="frmLogout" name="frmLogout" method="POST" action="logout.php" ><th><span id="sp">Bienvenido, </span><?php echo $_SESSION['name'];?><input id="logout" name="logout" type="submit" value="Salir"></th></form>
  16.                 <form id="frmSearch" name="frmSearch" method="POST" action="search.php">
  17.                     <th>
  18.                         <input id="txtSearch" name="txtSearch" type="text">
  19.                         <input id="butSearch" name="butSearch" type="submit" value="Buscar"><br>
  20.                         <label id="lblCifSearch">Cif</label>
  21.                         <input id="optSearch" name="optSearch" type="radio" value="cif" checked>
  22.                         <label>Tlf</label>
  23.                         <input id="optSearch" name="optSearch" type="radio" value="tlf">
  24.                         <label>M&oacute;vil</label>
  25.                         <input id="optSearch" name="optSearch" type="radio" value="movil">
  26.                     </th>
  27.                 </form>
  28.             </table>
  29.         </div>
  30.         <div id="display">
  31.             <div id="menu">
  32.                 <table id="tableMenu">
  33.                     <th><a href="manage.php?module=empresa">EMPRESA</a></th><th><a href="manage.php?module=contratacion">CONTRATACI&Oacute;N</a></th><th><a href="manage.php?module=comercial">COMERCIAL</a></th><th><a href="lists.php?module=table">LISTAR</a><th><?php if($_SESSION['name']=="admin"){?><a href="manage.php?module=administracion">ADMINISTRACI&Oacute;N</a><?php }?></th>
  34.                 </table>
  35.             </div>
  36.         </div>
  37.     <?php
  38.     mysql_close($conn);
  39.     ?>
Add Comment
Please, Sign In to add comment