Current File : /home/inlingua/www/sensoriumpsychologists.com/backup/admin/franchise_account.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();

$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 payment 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 payment details</a>
							<i class="icon-angle-right"></i>
						</li>
						<li>
							<a>Franchise's payment 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">
								
								<table class="table table-bordered table-striped ">
									<thead>
										<tr>
                                        	<th>Order No</th>
											<th>student code</th>
											<th>payment_mode </th>
                                            <th>amount </th>
                                            <th>dd_no</th>
                                            <th>bank</th>
                                            <th>status </th>
                                        </tr>
									</thead>
									<tbody>
									<?php 
									$result11=$query->select_where('shristi_franchise_payments','franchise_id',$id);
									//$count=$result11->num_rows;
									//for($i=1;$i<=$count;$i++){
									while($row11=$result11->fetch_assoc()){
									?>	
										<tr>
                                        	<td class='name'><?php echo $row11['order_no'];?></td>
											<td class='price'><?php echo $row11['code'];?></td>
											<td class='qty'><?php echo $row11['payment_mode'];?></td>
                                            <td class='total'><?php echo $row11['amount'];?></td>
                                            <td class='total'><?php echo $row11['dd'];?></td>
                                            <td class='total'><?php echo $row11['bank'];?></td>
                                            <td class='total'><?php echo $row11['status'];?></td>
                                       </tr>
                                       <?php  }?> 
										<tr>
											<td colspan="10"></td>
											
										</tr>
									</tbody>
								</table>
      
                                
								<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');?>