Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //prevents caching
- header("Expires: Sat, 01 Jan 2000 00:00:00 GMT");
- header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
- header("Cache-Control: post-check=0, pre-check=0",false);
- session_cache_limiter();
- session_start();
- //include config and functions pages
- include ('config.php');
- include ('functions.php');
- //Group Access
- if(allow_access(Administrators)!= "yes")
- {
- //no access
- include('no_access.html');
- exit;
- }
- $schools = schoolnames();
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title></title>
- <link href="css/style.css" rel="stylesheet" type="text/css">
- <link href="css/myMenu.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <div id="head-container">
- <div id="header">
- <img src="images/connecticut%20transportation.jpg" />
- <!-- end head-container --></div>
- <!-- end .header --></div>
- <div id="content-container">
- <div id="myMenu">
- <ul>
- <li><a href="#">Employees</a></li>
- <li><a href="#">Clients</a></li>
- <li><a href="#">Schools</a></li>
- <li><a href="#">Routes</a></li>
- </ul>
- <!-- end .myMenu --></div>
- <div id="content">
- <h2>Aides</h2>
- <table>
- <tr><th>First Name</th><th>Last Name</th><th>Phone Number</th><th>Active</th><th>Notes</th></tr>
- <?php
- while($row = mysql_fetch_array($arr)){
- ?>
- <tr><td>
- <form name="aides_list" action="edit_aides.php" method="POST">
- <input type="hidden" name="id_aides" value="<?php echo $row['id_aides'];?>">
- <input type="text" name="aides_fn" value="<?php echo $row['aides_fn'];?>">
- <input type="text" name="aides_fn" value="<?php echo $row['aides_ln'];?>">
- <input type="text" name="aides_fn" value="<?php echo $row['aides_fn'];?>">
- <input type="text" name="aides_fn" value="<?php echo $row['aides_ptn'];?>">
- <input type="checkbox" name="aides_fn" value="<?php echo $row['aides_active'];?>">
- <input type="textarea" name="aides_notes" value="<?php echo $row['aides_notes'];?>">
- <input type="submit" name="editAides" vaue="edit">
- </form></td>
- <?php
- echo"</tr>\n";
- endwhile;
- mysqli_free_result($arr);
- ?>
- </table>
- <!-- end .content --></div>
- <!-- end content-container --></div>
- <div id="footer-container">
- <div id="footer">website powered by <a href="http://www.mbcinteractive.com/" target="_blank">MBC Interactive</a>
- <!-- end .footer --></div>
- <!-- end footer-container --></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement