} if ($who == 'admin' && !IS_NULL($row['date_admin_submit'])) { Utilities::msg_alert("This request was already processed and the notices were sent out.", ""); $disabled = 'disabled'; } } //end who = biz_mgr/admin // ================================================================================== // MYSQL DATABASE CONNECTION - facil_csc (stores dept,clerk,biz_mgr lists) // ================================================================================== $connector = new DBConnection('facil'); $conn = $connector->openConnection(); // ================================================================================== // BOOTSTRAP PAGE TOP WITH NAVIGATION // ================================================================================== $page_view = new PageView(); $page_view->createHTMLHead('Additional Pay Form::Facilities and Services:: University of Rochester'); echo "<body class='home blue'>"; // class determines style of header: home, other... $page_view->createMainHeader(); ?> <main> <div class="top_pad"> <!-- Padding matches height of Header --> <!-- // ================================================================================== PAGE HEADING <!-- // ================================================================================== --> <div class="container "> <section class='page-header'>
if ($result->fetchColumn() == 0) { Utilities::msg_alert("No matching record in database", "Access Denied"); Utilities::go_to("http://www.facilities.rochester.edu/apps/request_for_temp/index.php"); } else { //GET REASONS $reasons = array(); $sql2 = "SELECT reason_id FROM request_reason WHERE request_id = {$reqID}"; $stmt2 = $conn->prepare($sql2); $stmt2->execute(array($reqID)); while ($row2 = $stmt2->fetch(PDO::FETCH_ASSOC)) { $reasons[] = $row2['reason_id']; } // ================================================================================== // BOOTSTRAP PAGE TOP WITH NAVIGATION // ================================================================================== $page_view = new PageView(); $page_view->createHTMLHead('Additional Pay Form::Facilities and Services:: University of Rochester'); echo "<body class='home blue'>"; // class determines style of header: home, other... $page_view->createMainHeader(); ?> <!-- // ================================================================================== <!-- // CUSTOM STYLES <!-- // ================================================================================== --> <style> div.form_wrap { background-color:#D9EDF7; border-radius:25px; }