Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_cache_limiter();
- session_start();
- require('config.php');
- require('functions.php');
- //check for administrative rights
- if (allow_access(Administrators) != "yes")
- {
- include ('no_access.html');
- exit;
- }
- $aides = aides_active();
- ?>
- <!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/blueberry.css" rel="stylesheet" type="text/css">
- <script src="js/styler.js" type="text/javascript">
- </script>
- </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 class="wrap">
- <div id="nav">
- <div class="menu">
- <ul>
- <li><a class="left_nosub" href="cttsadmin_menu.php">Home</a></li>
- <li><a class="center_hassub" href="">Employees</a>
- <ul>
- <li><a href="register.php">Register Employees</a></li>
- <li><a href="list_aides.php">List Aides</a></li>
- <li><a href="add_aide_form.php">Add Aide</a></li>
- <li><a href="list_drivers.php">List Drivers</a></li>
- <li><a href="add_driver_form.php">Add Driver</a></li>
- </ul>
- </li>
- <li><a class="center_hassub" href="">Clients</a>
- <ul>
- <li><a href="list_clients.php">List Clients</a></li>
- <li><a href="add_client_form.php">Add Client</a></li>
- </ul>
- </li>
- <li><a class="center_hassub" href="">Schools</a>
- <ul>
- <li><a href="list_schools.php">List Schools</a></li>
- <li><a href="add_school_form.php">Add School</a></li>
- </ul>
- </li>
- <li><a class="center_hassub" href="">Routes</a>
- <ul>
- <li><a href="">Who We Are</a></li>
- <li><a href="">What We Do</a></li>
- <li><a href="">What We Use</a></li>
- <li><a href="">Client List</a></li>
- </ul>
- </li>
- <li><a class="center_hassub" href="">My Account</a>
- <ul>
- <li><a href="email_change_form.php">Change Your Email</a></li>
- <li><a href="phone_change_form.php">Change Your Phone Number</a></li>
- <li><a href="pass_change_form.php">Change Your Password</a></li>
- <li><a href="mail_all.php">Email ALL Employees</a></li>
- </ul>
- </li>
- <li><a class="right_nosub" href="logout.php">Log Out</a>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- end .myMenu --></div>
- <div id="content">
- <h2>Aides</h2>
- <table border="1" cellspacing="2" cellpadding="2">
- <tr>
- <td><font face="Arial, Helvetica, sans-serif">Edit</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 ($aides as $row){
- ?>
- <tr>
- <td><font face="Arial, Helvetica, sans-serif"><a href="edit_aides_form.php?id_aides=<?php echo $row['id_aides'];?>">Edit</a></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>
- </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