Current File : /home/inlingua/public_html/sensoriumpsychologists.com/admin/view_franchise_detail.php
<?php 
include_once('include/include.script.php');
include_once('include/navigation.php');
include_once('../classes/config.php');
$id=$_GET['id'];

$result1=$query->select_where('shristi_franchise','franchise_id',$id);
$row1=$result1->fetch_assoc();


$result2=$query->select_where_field('shristi_franchise_detail','franchise_id',$id,"AND status!=1");
$row2=$result2->fetch_assoc();

//print_r($row2);

$result3=$query->select_where('shristi_franchise_payments','franchise_id',$id);
$row3=$result3->fetch_assoc();
?>
<div id="main">
			<div class="container-fluid">
				<div class="page-header">
					<div class="pull-left">
						<h1>Franchise Details</h1>
					</div>
					<div class="pull-right">
						<ul class="stats">
							<li class='lightred'>
								<i class="icon-calendar"></i>
								<div class="details">
									<span class="big">February 22, 2013</span>
									<span>Wednesday, 13:56</span>
								</div>
							</li>
						</ul>
					</div>
				</div>
				<div class="breadcrumbs">
					<ul>
						<li>
							<a href="index.php">Home</a>
							<i class="icon-angle-right"></i>

						</li>

						<li>

							<a href="list_student.php">Franchise details</a>

							<i class="icon-angle-right"></i>

						</li>

						<li>

							<a>Franchise's details</a>

						</li>

					</ul>

					<div class="close-bread">

						<a href="#"><i class="icon-remove"></i></a>

					</div>

				</div>
				<div class="row-fluid">
					<div class="span12">
						<div class="box">
							<div class="box-content">
								<div class="invoice-info">
									<div class="invoice-name">
										<?php echo $row1['name'];?>
									</div>
									<div class="invoice-from">
										<strong>Present Address</strong>
										<address><?php echo $row2['address'];?></address>
                                      </address>
                                      Email_id: <?php echo $row1['email']; ?>
									</div>
									<div class="invoice-infos">
										<table>
											<tr>

												<th>Joining Date:</th>

												<td><?php echo $row1['created_at'];?></td>

											</tr>

											<tr>

												<th>Registration No. &nbsp; </th>

												<td><?php echo $row1['code'];?></td>

											</tr>

											<tr>

												<th>Expiray Date:</th>

												<td><?php echo $row1['expired_date'];?></td>

											</tr>

										</table>

									</div>

      								</div>
								<table class="table table-bordered table-striped ">
									<thead>
										<tr>
											<th>Office Number</th>
											<th>Educational Qualification</th>
                                            <th>Institute</th>
                                            <th>Pan No.</th>
                                            <th>Occupation</th>
                                            <th>Nature of Work</th>
                                        </tr>
									</thead>
									<tbody>	
                                    <tr>
											<td class='name'><?php echo $row2['office_no'];?></td>
											<td class='price'><?php echo $row2['educational_qualification'];?></td>
											<td class='qty'><?php echo $row2['institute'];?></td>
											<td class='total'><?php echo $row2['pan_no'];?></td>
                                            <td class='total'><?php echo $row2['f_occupation'];?></td>
                                            <td class='total'><?php echo $row2['nature_of_work'];?></td>
										</tr>

										<tr>

											<td colspan="4"></td>

											

										</tr>

									</tbody>

								</table>
                             <table class="table table-bordered table-striped ">

									<thead>

										<tr>

											<th>Company Name(s)</th>

											<th>Ownership</th>

                                            <th>Nature of Business</th>

                                            <th>Principal</th>

                                            <th>Years in Business</th>

                                            <th>Annual Turnover</th>

                                           <th>Name of Current Employer</th>

											<th>Designation</th>

                                            <th>Job Profile</th>	                                            

										</tr>

									</thead>

									<tbody>

										

										<tr>
											<td class='name'><?php echo $row2['company_name'];?></td>
											<td class='price'><?php echo $row2['b_ownership'];?></td>
											<td class='qty'><?php echo $row2['nature_of_business'];?></td>
											<td class='total'><?php echo $row2['principal'];?></td>
                                            <td class='total'><?php echo $row2['year_of_business'];?></td>
                                            <td class='total'><?php echo $row2['annual_turnover'];?></td>
                                            <td class='total'><?php echo $row2['current_employer'];?></td>
                                            <td class='total'><?php echo $row2['designation'];?></td>
                                            <td class='total'><?php echo $row2['job_profile'];?></td>
										</tr>
										<tr>
											<td colspan="4"></td>

										</tr>

									</tbody>

								</table>

                                

                               <table class="table table-bordered table-striped ">

									<thead>

										<tr>

											<th>City for Franchise)</th>

											<th>Location</th>

                                            <th>Area (In Square Feets)</th>

                                            <th>Area on Hire/Lease/Loan</th>

                                            <th>Prop. / Partnership / Pvt. Ltd</th>

                                            	                                            

										</tr>

									</thead>

									<tbody>

										

										<tr>

											<td class='name'><?php echo $row2['city'];?></td>

											<td class='price'><?php echo $row2['location'];?></td>

											<td class='qty'><?php echo $row2['ex_area'];?></td>

											<td class='total'><?php echo $row2['ex_area_on_hire'];?></td>

                                            <td class='total'><?php echo $row2['ex_ownership'];?></td>

                                            

                                            

										</tr>

										<tr>

											<td colspan="4"></td>

											

										</tr>

									</tbody>

								</table>

                                

                                <table class="table table-bordered table-striped ">

									<thead>

										<tr>
											<th>Intersted City for Franchise</th>
											<th>Proposed Location</th>
                                            <th>Area (In Square Feets)</th>
                                            <th>Area on Hire/Lease/Loan</th>
                                            <th>Prop. / Partnership / Pvt. Ltd</th>

                                            	                                            
										</tr>
									</thead>
									<tbody>
										<tr>
											<td class='name'><?php echo $row2['intersted_city'];?></td>
											<td class='price'><?php echo $row2['proposed_location'];?></td>
											<td class='qty'><?php echo $row2['proposed_area'];?></td>
											<td class='total'><?php echo $row2['proposed_area_on_hire'];?></td>
                                            <td class='total'><?php echo $row2['proposed_ownership'];?></td>

										</tr>
										<tr>
											<td colspan="4"></td>										</tr>
									</tbody>
								</table>
                               <hr>
                              <!--assignment result-->

 								<div class="invoice-payment">
									<span>Payment methods</span>
									<ul>
										<li>
											<?php echo $row3['payment_mode'];?>
										</li>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
<?php include_once('include/footer.php');?>