<body> <div id='errors'> </div> <div id='headDiv' align='left'> <div width='100%' align='center'> <h2 align='center'>Employee Rights Checklist</h2> <a href='manageRights.php' style="float:right;">Manage Rights Page</a><br /> </div> </div> <div id='employeeSearch'> <?php employeeList(); ?> </div> <div id='rightsInfo'> </div> <?php } else { echo "<h1>You are not Authorized to View this page</h1>"; } require '../includes/includeAtEnd.php';
<a href="addemp.php">Add Employee</a> <a href="editemp.php">Edit Employee</a> <a href="deleteemp.php">Delete Employee</a> </p> </div> <div id="content"> <p> <form action="db/editemp_iframe.php" method="POST" target="edit" class="codecontainer"> <select name="emp"> <option value="">Select Employee</option> <?php include 'include/lists.php'; $list = employeeList(); ?> </select> <input type="submit" value="Go"> </form> </p> <p> <iframe name="edit" frameborder="0" width="710" height="320" scrolling="no"></iframe> </p> </div> <div id="footer"> <p> ©2015 Patrick Cariño | Asia Pacific College | BSCSIT - CNE </p> </div>
return true; } else { alert("Request Cancelled"); return false; } } </script>'; ?> <!-----------------------------------------------Start Search----------------------------------------------------------> <div id="employeeList" class="employeeList"> <?php // Here employeeList is called with "false". This sets it so that it will only show employees from the same area // instead of all employees with access to the area employeeList(false); ?> </div> <!-----------------------------------------------End Search------------------------------------------------------------> <!-------------------------------------------Start Employee Info-------------------------------------------------------> <!----------------This section contains the table which holds the information for the selected employee----------------> <div id="info" class="info" align="center"> <br><br> <form name="wageForm" method="post" id='raiseForm'> <table style="text-align:center; font-size:120%; border-collapse:collapse;" border="1"> <tr> <td colspan=4><img class='employeeImg' src="<?php