$success = "Changes Submitted"; } else { $error = "Error Processing CSV File"; } } else { $error = "Please Upload Account Changes as a CSV File Type"; } } else { $error = "Upload Error: " . $_FILES['accountChanges']['error']; } } ?> <html> <header> <?php Material::headers("Manage Accounts"); ?> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.10/css/jquery.dataTables.min.css"> <script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"> </script> <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script> <script> $(function() { $( "#from" ).datepicker({ defaultDate: "-1w", changeMonth: true, numberOfMonths: 2, onClose: function( selectedDate ) {
$last = $_POST['last']; $email = $_POST['email']; if (isset($first) && isset($last) && isset($email)) { $User->setEmail($email); $User->saveToDB(); $bfEmp->setFname($first); $bfEmp->setLname($last); $bfEmp->saveToDB(); $success = "Profile Updated"; } ?> <html> <header> <?php Material::headers("Home"); ?> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.10/css/jquery.dataTables.min.css"> <script type="text/javascript" language="javascript" src="//code.jquery.com/jquery-1.12.0.min.js"> </script> <script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"> </script> <script type="text/javascript" class="init"> $(document).ready(function() { $('#table').DataTable( { createdRow: function ( row ) { $('td', row).attr('tabindex', 0); }
if ($auth->validLogin($_POST["user_password"])) { $_SESSION['user'] = $User->getProperties(); header("Location: Home.php"); /* Redirect browser */ } } $error = true; } } ?> <!DOCTYPE html> <html lang="en"> <head> <?php include "Helpers/Material.php"; Material::headers("Login"); ?> </head> <body> <div class="row"> <div class="col-md-12"> <div class="text-center"> <h1>Welcome To BossFlex</h1> <h4>Putting You In Charge</h4> </div> </div> </div> <div class="row"> <div class="well col-md-8 col-md-offset-2"> <form class="form-horizontal" action="Login.php" method="post">
$bfEmp = BossFlexEmployee::getEmployeeByBFID($_SESSION['bfUser']['EID']); $user = User::getUserByUID($_SESSION['bfUser']['UID']); $error = false; $success = false; if (isset($_GET['t'])) { $ticket = Ticket::getTicket($_GET['t']); Ticket::assignTicket($bfEmp, $ticket); $success = "Ticket " . $ticket->getTicketNum() . " Assigned to You"; } $tickets = Ticket::unassignedTickets(); ?> <html> <header> <?php Material::headers("Unassigned Tickets"); ?> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.10/css/jquery.dataTables.min.css"> <script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"> </script> <script type="text/javascript" class="init"> $(document).ready(function() { $('#table').DataTable( { createdRow: function ( row ) { $('td', row).attr('tabindex', 0); } } ); } ); </script>
if ($ticket->getDependentID() == 0) { $recipient = $ename; $relation = "Self"; } else { $depObject = Dependent::getDependent($ticket->getDependentID()); $recipient = $depObject->getFname() . " " . $depObject->getLname(); $relation = $depObject->getRelation(); } $description = $ticket->getDescription(); $imageLoc = $ticket->getImageLoc(); ?> <html> <header> <?php Material::headers("Review"); ?> </header> <body> <?php BFPage::navBar("Review"); if ($success) { Material::showSuccess($success); } if ($error) { Material::showError($error); } ?> <div class="row" style="margin: 20px 20px 20px 20px"> <div class="col-sm-offset-2 col-sm-8"> <div class="card">
include "../../bossflex/DB/Models/User.php"; include "../../bossflex/DB/Models/Company.php"; include "../../bossflex/DB/Models/Ticket.php"; include "../../bossflex/Helpers/Material.php"; include "../../bossflex/Helpers/BFPage.php"; $bfEmp = BossFlexEmployee::getEmployeeByBFID($_SESSION['bfUser']['EID']); $user = User::getUserByUID($_SESSION['bfUser']['UID']); $error = false; $success = false; $tickets = Ticket::closedTicketList($bfEmp); ?> <html> <header> <?php Material::headers("Closed Tickets"); ?> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.10/css/jquery.dataTables.min.css"> <script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"> </script> <script type="text/javascript" class="init"> $(document).ready(function() { $('#table').DataTable( { createdRow: function ( row ) { $('td', row).attr('tabindex', 0); } } ); } ); </script>