<?php include "../templates/header_session.php"; include "../templates/header.php"; //getting post items from daily report $arg = array('emp_id' => $_SESSION['user_id'], 'cafe_visited' => $_POST['cafe_visited'], 'date_time' => $_POST['date_time'], 'phone' => $_POST['phone'], 'address' => $_POST['address']); //includeing classes include "../classes/CafeActivation.php"; include "../classes/CafeDetails.php"; include "../classes/CafeTrac.php"; //creating objects $cafe_activate = new CafeActivation(); $cafe_details = new CafeDetails(); $cafe_trac = new CafeTrac(); //employee submit $result = $cafe_details->submitUserReport($arg); ?> <body> <div id="topPan"><div id="ImgPan"><a href="index.html"><img src="../images/logo.gif" title="Coporate Profiles" alt="Coporate Profiles" width="201" height="52" border="0" /></a></div> <?php include "nav_bar.php"; ?> </div> <div id="bodyPan"> <p class="toptextpadding"> </p> <FORM action="report_submit.php" method="POST" enctype="multipart/form-data" target="_self"> <p class="toptextpadding"> Cafe Visited <INPUT type="text" name="cafe_visited" /></p> <p class="toptextpadding"> Time And Date <INPUT type="text" name="time_date" /></p> <p class="toptextpadding"> Phone Number <INPUT type="text" name="phone" /></p>