<?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>
<?php include "../templates/header_session.php"; include "../templates/header.php"; $user_id = $_SESSION['user_id']; //including classes include "../classes/CafeDetails.php"; include "../classes/CafeTrac.php"; //creating objects $cafe_details = new CafeDetails(); $cafe_trac = new CafeTrac(); //result of cafe details assigned to the user $result = $cafe_details->getAllCafeIdByAssignedId($user_id); ?> <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">Cafes Assigned to You</p> <p class="toptextpadding"> </p> <table width="965" border="1" align="center"> <tr> <td>Cafe Name</td> <td>Cafe Owner</td> <td>Office Phone</td> <td>Address</td> <td>City</td> <td>State</td>
<?php include "../templates/header_session.php"; include "../templates/header.php"; //including classses include '../classes/CafeDetails.php'; //creating objects $cafe_details = new CafeDetails(); $msg = NULL; if (isset($_POST['submit'])) { $state_name = $_POST['state_name']; $result = $cafe_details->setState($state_name); if ($result) { $msg = 'state has been submitted'; } } ?> <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"> <form id="form1" name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?> "> <p> </p> <p> </p> <p> <label><?php
<?php include "../templates/header_session.php"; include "../templates/header.php"; //including classes include "../classes/CafeDetails.php"; include "../classes/CafeTrac.php"; include "../classes/CafeMgmt.php"; //creating objects $cafe_details = new CafeDetails(); $cafe_trac = new CafeTrac(); $cafe_mgmt = new CafeMgmt(); $result = $cafe_details->getSurvDetails(); ?> <body> <div id="topPan"><div id="ImgPan"><a href="index.html"><img src="../images/logo.gif" title="Coporate Profiles" alt="Corporate Profiles" width="201" height="52" border="0" /></a></div> <?php include "nav_bar.php"; ?> </div> <div id="bodyPan"> <p class="toptextpadding"></p> <p class="toptextpadding"> </p> <table id="hor-minimalist-b" summary="Employee Pay Sheet"> <thead> <tr> <th scope="col">Cafe Id</th> <th scope="col">Cafe Name</th> <th scope="col">Name</th>
<?php include "../templates/header_session.php"; include "../templates/header.php"; include "../classes/CafeDetails.php"; include "../classes/CafeTrac.php"; //creating objects $cafe_details = new CafeDetails(); $cafe_trac = new CafeTrac(); //getting cafe id from url $cafe_user_id = $_POST['cafeid']; //getting cafe name $cafe_name = $cafe_details->getCafeNameByCafeUID($cafe_user_id); //getting all the details from cafe trac of cafe id $result = $cafe_trac->getCafeTracDetails($cafe_user_id); ?> <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> <p class="toptextpadding">Cafe Name: <span><?php echo $cafe_name; ?> </span></p> <p class="toptextpadding">Total Screens Live:<span><?php
<?php include "../templates/header_session.php"; include "../templates/header.php"; $user_id = $_SESSION['user_id']; //including all the relevant classes include '../classes/CafeDetails.php'; //creating object of class cafe details $cafe_details = new CafeDetails(); //getting cafe id by userid $result = $cafe_details->getActivBy($user_id); ?> <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"> <table width="980" border="1"> <tr> <td>Cafe Name</td> <td>Cafe Owner</td> <td>Office Phone</td> <td>Address</td> </tr> <?php while ($row = mysql_fetch_array($result)) { //var_dump($row);
<?php include "../templates/header_session.php"; include "../templates/header.php"; //including Classes include '../classes/CafeDetails.php'; include '../classes/CafeMgmt.php'; ///creating objects $cafe_mgmt = new CafeMgmt(); $cafe_details = new CafeDetails(); $rs_employee = $cafe_mgmt->getEmployeeDetails(); ?> <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"> <center> <p>Employees List </p> <p> </p> <table width="764" border="1"> <tr> <td width="90">User Id</td> <td width="87">Name</td> <td width="90">City</td> <td width="134">Department</td> <td width="110">Role</td> <td width="83">View Details</td>
<?php //including classes include "../classes/CafeDetails.php"; //creating objects $cafe_details = new CafeDetails(); $i = 1002; while ($i != 1588) { $result = $cafe_details->getCafeDetailsByCafeId($i); $rs_row = mysql_fetch_array($result); echo $rs_row['email'] . '</br>'; $i++; } ?> <!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>Untitled Document</title> </head> <body> </body> </html>
<!-- put this at the top of the page --> <?php $mtime = microtime(); $mtime = explode(" ", $mtime); $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; ?> <!-- put other code and html in here --> <?php include "../templates/header.php"; //including classes include '../classes/CafeDetails.php'; include '../classes/CafeTrac.php'; //creating objects $cafe_details = new CafeDetails(); $cafe_trac = new CafeTrac(); //getting all the distinct activated cities $city_result = $cafe_details->getDistinctCities(); //parameters for counting the screens live $day4 = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") - 4, date("Y"))); $day3 = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") - 3, date("Y"))); $day2 = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") - 2, date("Y"))); $day1 = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") - 1, date("Y"))); $today = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d"), date("Y"))); $reg_t = 0; $act_t = 0; $d1_t = 0; $d2_t = 0; $d3_t = 0; $d4_t = 0;
<?php include "../templates/header_session.php"; include "../classes/CafeDetails.php"; $cafe_details = new CafeDetails(); $id = $_REQUEST['id']; $result = $cafe_details->updateSurvey($id); if ($result) { header('Location: survey_detail.php'); }
<?php include "../templates/header_session.php"; include "../templates/header.php"; $city_id = $_GET['city_id']; //including classes include '../classes/CafeDetails.php'; include '../classes/CafeMgmt.php'; //creating objects $cafe_details = new CafeDetails(); $cafe_mgmt = new CafeMgmt(); //gettting city name $city_name = $cafe_details->getCityName($city_id); $emp_rs = $cafe_mgmt->getListOfEmpByCity($city_id); ?> <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">Details of <?php echo $city_name; ?> </p> <p class="toptextpadding"> List of Employees in this city </p> <p class="toptextpadding"> <?php
<?php include 'account/auth.php'; include '../classes/CafeDetails.php'; include '../classes/CafeTrac.php'; //ccreating objects $cafe_details = new CafeDetails(); $cafe_user_id = $_SESSION['SESS_MEMBER_ID']; $arg = array('cafe_user_id' => $cafe_user_id, 'q_1' => $_POST['element_9'], 'q_2' => $_POST['element_10'], 'q_3' => $_POST['element_11'], 'q_4' => $_POST['element_12'], 'q_5' => $_POST['element_13'], 'q_6' => $_POST['element_14'], 'q_7' => $_POST['element_2'], 'q_8' => $_POST['element_15'], 'q_9' => $_POST['element_16'], 'q_10' => $_POST['element_17'], 'q_11' => $_POST['element_4'], 'q_12' => $_POST['element_5'], 'q_13' => $_POST['element_18'], 'q_14' => $_POST['element_19'], 'q_15' => $_POST['element_20'], 'q_16' => $_POST['element_21'], 'q_17' => $_POST['element_22'], 'q_18' => $_POST['element_23'], 'q_19' => $_POST['element_7'], 'q_20' => $_POST['element_24']); $result = $cafe_details->insertSurvey($arg); if ($result) { header('Location: survey_conf.php'); }
<?php include "../templates/header_session.php"; $session_id = $_SESSION['session_id']; $user_id = $_SESSION['user_id']; $cafe_id = $_POST['cafe_id']; $pay = $_POST['pay']; //including all the relevant classes include '../classes/CafeDetails.php'; include '../classes/CafeActivation.php'; include '../classes/CafeMgmt.php'; include '../classes/CafeTrac.php'; include '../classes/SugarSoap.php'; //creating object of class cafe details $cafe_details = new CafeDetails(); //creating object of class Cafe Activation $cafe_activate = new CafeActivation(); //creating objects of cafe Magmt $cafe_mgmt = new CafeMgmt(); $cafe_trac = new CafeTrac(); $sugar = new SugarSoap(); //getting post values in the variables $salutation = $_POST['salutation']; $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $office_phone = $_POST['office_phone']; $cafe_name = $_POST['cafe_name']; $mobile = $_POST['mobile']; $email = $_POST['email']; $address = $_POST['address']; $state = $_POST['state'];
<?php include "../templates/header_session.php"; include "../templates/header.php"; $cafe_id = $_GET['cafe_id']; //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(); //getting cafe UId by cafe id $cafe_user_id = $cafe_details->getCafeUIDByCafeId($cafe_id); //get cafeids and mac ids $result = $cafe_details->getMacIdsByCafeUID($cafe_user_id); //get live screen count $result_screens = $cafe_trac->getCafeTracDetails($cafe_user_id); $live_screens = mysql_num_rows($result_screens); $registered_screens = mysql_num_rows($result); ?> <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">No of Screens running :<span><?php echo $live_screens;
<?php include 'account/auth.php'; include "../templates/header.php"; //including classes include '../classes/CafeDetails.php'; include '../classes/CafeTrac.php'; include '../classes/cafepayment.php'; error_reporting(E_ALL ^ (E_NOTICE | E_WARNING)); //creating objects $cafe_details = new CafeDetails(); $cafe_trac = new CafeTrac(); $cafe_pay = new CafePay(); //getting cafe id from session $cafe_user_id = $_SESSION['SESS_MEMBER_ID']; $cafe = $cafe_details->getAllDetailsOfCafeByCafeUID($cafe_user_id); $cafe_name = mysql_fetch_array($cafe); $day = date("d", mktime(0, 0, 0, date("m"), date("d"), date("Y"))); $rs_day = intval($day); $i = 1; $this_month_payment = 0; ?> <body> <div id="topPan"><div id="ImgPan"><img src="http://www.emmgts.com/images/logo.gif" title="Envisage Media" alt="Envisage Media " width="201" height="52" border="0" /></a></div> <?php include "nav_bar.php"; ?> </div> <div id="bodyPan"> <p>
<?php //including session session_start(); $session_id = $_SESSION['session_id']; //including classes include '../classes/CafeMgmt.php'; include '../classes/CafeDetails.php'; include '../classes/SugarSoap.php'; //creating objects $cafe_mgmt = new CafeMgmt(); $cafe_details = new CafeDetails(); $sugar_soap = new SugarSoap(); //getting values from post $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $department = $_POST['department']; $role_id = $_POST['role']; $counttry = $_POST['country']; $state = $_POST['state']; $city = $_POST['city']; $reports_to_id = $_SESSION['user_id']; $name = $first_name . ' ' . $last_name; if ($session_id) { if ($cafedb_result = $cafe_details->insertEmp($name, $city)) { $id = $cafe_details->getMaxEmployeeId(); $user_id = generateUserId($city, $id); //calling function to enter values in sugar crm, using soap $sugar_result = $sugar_soap->insertEmployee($session_id, $user_id, $first_name, $last_name, $department, $country, $state, $city, $phone_mobile, $reports_to_id); } else { echo 'can not insert in database';
<?php include "../templates/header_session.php"; include "../templates/header.php"; //including classses include '../classes/CafeDetails.php'; //creating objects $cafe_details = new CafeDetails(); $msg = NULL; if ($_POST['submit']) { $state_name = $_POST['state']; $city_name = $_POST['city']; $result = $cafe_details->setCity($state_name, $city_name); if ($result) { $msg = 'city has been submitted'; } } ?> <script language="javascript" type="text/javascript"> function getXMLHTTP() { var xmlhttp=false; try{ xmlhttp=new XMLHttpRequest(); } catch(e) { try{ xmlhttp= new ActiveXObject("Microsoft.XMLHTTP"); } catch(e){ try{ xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
<?php //including classes include "../classes/CafeDetails.php"; //creating objects $cafe_details = new CafeDetails(); /** * o------------------------------------------------------------------------------o * | This package is licensed under the Phpguru license. A quick summary is | * | that for commercial use, there is a small one-time licensing fee to pay. For | * | registered charities and educational institutes there is a reduced license | * | fee available. You can read more at: | * | | * | http://www.phpguru.org/static/license.html | * o------------------------------------------------------------------------------o * * © Copyright 2008,2009 Richard Heyes */ require_once 'htmlMimeMail5.php'; $mail = new htmlMimeMail5(); /** * Set the from address of the email */ $mail->setFrom('Envisage Media Pvt. Ltd. <*****@*****.**>'); /** * Set the subject of the email */ $mail->setSubject('Payment Information, Envisage Media (Desktop Advertising) '); /** * Set high priority for the email. This can also be: * high/normal/low/1/3/5
<?php include "../templates/header_session.php"; include "../templates/header.php"; $user_id = $_SESSION['user_id']; $cafe_id = $_GET['cafe_id']; //including all the relevant classes include '../classes/CafeDetails.php'; include '../classes/CafeActivation.php'; //creating object of class cafe details $cafe_details = new CafeDetails(); //creating object of class Cafe Activation $cafe_activate = new CafeActivation(); //getting cafe details by userid $result = $cafe_details->getCafeDetails($user_id); //getting cafedetails by cafeId $result_cafe = $cafe_details->getCafeDetailsByCafeId($cafe_id); //getting values of all the details $row = mysql_fetch_array($result_cafe); ?> <script language="JavaScript" src="gen_validatorv31.js" type="text/javascript"></script> <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>Your Cafe Id :<?php
<?php include "../templates/header_session.php"; //including classes include '../classes/CafeDetails.php'; $cafe_details = new CafeDetails(); $start_time = $_POST['element_5_1'] . ':' . $_POST['element_5_2'] . ':' . $_POST['element_5_3'] . ' ' . $_POST['element_5_4']; $end_time = $_POST['element_6_1'] . ':' . $_POST['element_6_2'] . ':' . $_POST['element_6_3'] . ' ' . $_POST['element_6_4']; $arg = array('targets_works' => $_POST['element_1'], 'client_yard' => $_POST['element_2'], 'project' => $_POST['element_3'], 'total_hrs' => $_POST['element_4'], 'sign_in_time' => $start_time, 'sign_out_time' => $end_time, 'field_work_time' => $_POST['element_7'], 'meeting_details' => $_POST['element_8'], 'cafe_visited' => $_POST['element_9'], 'emp_id' => $_SESSION['user_id']); $result = $cafe_details->enterTimeSheet($arg); header('Location: time_sheet_cfm.php');
{ $db_connection = mysql_connect($this->db_server, $this->db_user, $this->db_password) or die(mysql_errno() . " - " . mysql_error() . "<br>"); if (mysql_select_db($this->db_name)) { if (!($result = mysql_query("SELECT DISTINCT `cafe_id` FROM `cafeactivation`"))) { print __CLASS__ . "::" . __FUNCTION__ . "()[" . __FILE__ . ":" . __LINE__ . "]: " . mysql_errno() . " - " . mysql_error() . "<br>"; } } else { print __CLASS__ . "::" . __FUNCTION__ . "()[" . __FILE__ . ":" . __LINE__ . "]: " . mysql_errno() . " - " . mysql_error() . "<br>"; } //$row_count = mysql_num_rows($result); return $result; mysql_close($db_connection); } } //creating objects $cafe_pay = new CafePay(); $cafe_details = new CafeDetails(); $result_cafe = $cafe_details->getAllActiveCafeIds(); while ($get_rows = mysql_fetch_array($result_cafe)) { $cafe_user_id = $get_rows['cafe_id']; $result = $cafe_details->getMacIdsByCafeUID($cafe_user_id); $amt = 0; while ($row = mysql_fetch_array($result)) { $mac_amt = 0; $mac_time = $cafe_pay->calcTimeOfMac($row['mac_id']); $mac_amt = $cafe_pay->calcAmountMac($cafe_user_id, $row['mac_id']); $amt = $amt + $mac_amt; $cafe_pay->insertPayMac($cafe_user_id, $row['mac_id'], $mac_time, $mac_amt); } $cafe_pay->insertPayCafe($cafe_user_id, $amt); }
?> <?php include '../classes/CafeDetails.php'; include '../classes/geoip.inc'; include '../classes/geocity.inc'; include "../classes/geoipregionvars.php"; //getting ipaddress $ip = $_SERVER['REMOTE_ADDR']; //getting ip locations $gi = geoip_open("/usr/local/share/GeoIP/GeoLiteCity.dat", GEOIP_STANDARD); $record = geoip_record_by_addr($gi, $ip); /* echo $record->country_code . " " . $record->country_code3 . " " . $record->country_name . "\n"; echo $record->city . "\n"; print $record->country_code . " " . $record->country_code3 . " " . $record->country_name . "\n"; print $record->region . " " . $GEOIP_REGION_NAME[$record->country_code][$record->region] . "\n"; print $record->city . "\n"; print $record->postal_code . "\n"; print $record->latitude . "\n"; print $record->longitude . "\n"; print $record->metro_code . "\n"; print $record->area_code . "\n"; */ $cafe_details = new CafeDetails(); $address = $_POST['element_9_1'] . ',' . $_POST['element_9_2'] . ',' . $_POST['element_9_3'] . ',' . $_POST['element_9_4'] . ',' . $_POST['element_9_5'] . ',' . $_POST['element_9_6']; $arg = array('created_by' => '0', 'cafe_id' => $_SESSION['SESS_MEMBER_ID'], 'cafe_name' => $cafe_details->getCafeName($_SESSION['SESS_MEMBER_ID']), 'first_name' => $_POST['element_6_1'], 'last_name' => $_POST['element_6_2'], 'email' => $_POST['element_7'], 'phone' => $_POST['element_8'], 'address' => $address, 'ip_addr' => $ip, 'country_name' => $record->country_name, 'city_name' => $record->city, 'area_code' => $record->area_code); $result = $cafe_details->formVer($arg); if ($result) { header('Location: cafe_cfm.php'); }
<?php include "../templates/header_session.php"; include "../templates/header.php"; $user_id = $_SESSION['user_id']; //including all the relevant classes include '../classes/CafeDetails.php'; //creating object of class cafe details $cafe_details = new CafeDetails(); //getting cafe details by userid $result = $cafe_details->getCafeDetails($user_id); ?> <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"> <table id="hor-minimalist-b" summary="Employee Pay Sheet"> <thead> <tr> <th scope="col">Cafe Name</th> <th scope="col">Cafe Owner</th> <th scope="col">Mobile</th> <th scope="col">Office Phone</th> <th scope="col">Address</th> <th scope="col">Terminals</th> </tr> </thead>
<?php include "../templates/header_session.php"; include "../templates/header.php"; $user_id = $_SESSION['user_id']; $cafe_user_id = $_GET['cafe_id']; /*$email = $_POST['email']; $pay = $_POST['pay'];*/ //including all the relevant classes include '../classes/CafeDetails.php'; include '../classes/CafeActivation.php'; include '../classes/CafeMgmt.php'; include '../classes/CafeTrac.php'; //creating object of class cafe details $cafe_details = new CafeDetails(); //creating object of class Cafe Activation $cafe_activate = new CafeActivation(); //creating objects of cafe Magmt $cafe_mgmt = new CafeMgmt(); $cafe_trac = new CafeTrac(); //getting cafe details by userid $result = $cafe_details->getCafeDetails($user_id); /* $cafe_user_id = $_POST['cafe_user_id']; $password = $_POST['password']; */ /* $cafe_activate->createCafeUser($cafe_id, $cafe_user_id, $password); //function to send mail $result_mail = sendMailToCafe($cafe_user_id, $password, $email);
<?php session_start(); //including required classes include '../classes/CafeDetails.php'; include '../classes/CafeMgmt.php'; //getting user id from session $session_id = $_SESSION['session_id']; $user_id = $_SESSION['user_id']; //creating object of class cafe details $cafe_details = new CafeDetails(); //creating object of class cafemgmt $cafe_mgmt = new CafeMgmt(); //getting post values in the variables $salutation = $_POST['salutation']; $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $office_phone = $_POST['office_phone']; $cafe_name = $_POST['cafe_name']; $mobile = $_POST['mobile']; $email = $_POST['email']; $address = $_POST['address']; $state = $_POST['state']; $city = $_POST['city']; $country = $_POST['country']; $postal_code = $_POST['postal_code']; $area = $_POST['area1']; $terminals = $_POST['terminals']; $internet_provider = $_POST['internet_provider']; $connection_details = $_POST['connection_details']; $cafeisp = $_POST['cafe_isp'];
<?php include 'account/auth.php'; include "../templates/header.php"; include "../classes/CafeDetails.php"; include "../classes/CafeTrac.php"; //creating objects $cafe_details = new CafeDetails(); $cafe_trac = new CafeTrac(); //getting cafe id from url $cafe_user_id = $_SESSION['SESS_MEMBER_ID']; //getting cafe name $cafe_name = $cafe_details->getCafeNameByCafeUID($cafe_user_id); //getting all the details from cafe trac of cafe id $result = $cafe_trac->getCafeTracDetails($cafe_user_id); ?> <body> <div id="topPan"><div id="ImgPan"><a href="index.html"><img src="http://www.emmgts.com/images/logo.gif" title="Envisage Media" alt="Envisage Media " width="201" height="52" border="0" /></a></div> <?php include "nav_bar.php"; ?> </div> <div id="bodyPan"> <?php ?> <p class="toptextpadding"> <p>Cafe Name : <span></span><?php