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 $cafe_user_id = $cafe_activate->getCafeUserId($cafe_id);
<?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>