Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //include config and functions pages
- include ('config.php');
- include ('functions.php');
- //Group Access
- if(allow_access(Administrators|| cttsadmin)!= "yes" )
- {
- //no access
- include('no_access.html');
- exit;
- }
- $aidesnames = aidesnames();
- ?>
- <!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 border="1" cellspacing="2" cellpadding="2">
- <tr>
- <td><font face="Arial, Helvetica, sans-serif">Aides ID</font></td>
- <td><font face="Arial, Helvetica, sans-serif">First Name</font></td>
- <td><font face="Arial, Helvetica, sans-serif">Last Name</font></td>
- <td><font face="Arial, Helvetica, sans-serif">Phone Number</font></td>
- <td><font face="Arial, Helvetica, sans-serif">Active</font></td>
- <td><font face="Arial, Helvetica, sans-serif">Notes</font></td>
- </tr>
- <?php
- foreach($arr as $aide){
- ?>
- <tr>
- <td><font face="Arial, Helvetica, sans-serif"><?php echo $row['id_aides']; ?></font></td>
- <td><font face="Arial, Helvetica, sans-serif"><?php echo $row['aides_fn']; ?></font></td>
- <td><font face="Arial, Helvetica, sans-serif"><?php echo $row['aides_ln']; ?></font></td>
- <td><font face="Arial, Helvetica, sans-serif"><?php echo $row['aides_ptn']; ?></font></td>
- <td><font face="Arial, Helvetica, sans-serif"><?php echo $row['aides_active']; ?></font></td>
- <td><font face="Arial, Helvetica, sans-serif"><?php echo $row['aides_notes']; ?></font></td>
- <td><font face="Arial, Helvetica, sans-serif"><a href="edit_aides_form.php?id=<? echo $rows['id_aides']; ?>">Edit</a></font></td>
- </tr>
- <?php
- }
- ?>
- </table>
- <?php
- echo "Total Records: $num"
- ?>
- <p> </p>
- <!-- 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