<div class="row">
		<div class="col-md-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h2>State Parter List <small><a href="http://www.gyanvihar.org/admin-admission/module/icap/download_icap_data.php?id=<?php echo $_REQUEST['state']; ?>" target="_blank">Download</a></small></h2>
					<div class="panel-ctrls"></div>
				</div>
				<div class="panel-body no-padding">
					<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
						<thead>
							<tr>
								<th width="6%">S.No.</th>
								<th width="27%">Firm Name</th>
								<th width="19%">Contact Person</th>
								<th width="18%">Mobile No</th>
								<th width="18%">email</th>
								<th width="12%">Action</th>
							</tr>
						</thead>
						<tbody>
							<?php
							$GetList = mysql_query("SELECT * FROM `icap_partner` WHERE `state` ='$_REQUEST[state]' ORDER BY `icap_partner`.`firm_name` ASC");
							while($GetList1 = mysql_fetch_assoc($GetList))
							{
							 $s =$_REQUEST['v'];
							$u = $s+0;
							$GetDetail=mysql_query("SELECT * FROM `icap_admin` WHERE `icap_code` = '$GetList1[icap_code]'");
							$GetDetail1=mysql_fetch_assoc($GetDetail);
							
							?>
							
							<tr class="odd">
								<td align="center"><?php echo $_REQUEST['v'] = $u+1; ?></td>
								<td><a href="admin.php?page=<?php echo $convert->encode("icap-admission-list-icap");?>&&icap=<?php echo $GetList1['icap_code']; ?>"><?php echo $GetList1['firm_name']; ?> (<?php echo $GetList1['icap_code']; ?>)</a></td>
								<td><?php echo $GetList1['contact_person']; ?></td>
								   <td><?php echo $GetList1['mobile'];
								     ?></td>
								   <td class="center"> <?php echo $GetList1['email']; ?></td>
								   <td class="center"><a href="action-pages/icap/delete-icap.php?id=<?php echo $GetList1['icap_code'];?>"><i class="fa fa-trash-o tooltips" data-trigger="hover" data-original-title="Delete"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="admin.php?page=<?php echo $convert->encode("edit-partner");?>&&id=<?php echo $GetList1['icap_code'];?>"><i class="fa fa-pencil tooltips" data-trigger="hover" data-original-title="Edit"></i></a></td>
							   </tr>
							   <?php
							   }
							   ?>
							   
							   
						
							
						</tbody>
					</table>
				</div>
				<div class="panel-footer"></div>
			</div>
		</div>
	</div>