
<div class="page-content">




<?php
include("common/sitemap.php");
?>                            <div class="container-fluid">
                                

<div data-widget-group="group1">
	<div class="row">
		<div class="col-md-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h2>New Forms</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="14%">Mobile No</th>
								<th width="12%">Username/Password</th>
								<th width="15%">District</th>
								<th width="7%">Action</th>
							</tr>
						</thead>
						<tbody>
							<?php
							$GetList = mysql_query("SELECT * FROM `icap_admin` ORDER BY `icap_admin`.`admin_id` DESC");
							while($GetList1 = mysql_fetch_assoc($GetList))
							{
							 $s =$_REQUEST['v'];
							 $GetInfo=mysql_query("SELECT * FROM  `icap_partner` WHERE  `icap_code` =  '$GetList1[icap_code]' ORDER BY  `icap_partner`.`id` DESC LIMIT 0 , 30");
							 $GetInfo1=mysql_fetch_assoc($GetInfo);

$u = $s+0;
							
							?>
							
							<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 $GetInfo1['firm_name']; ?> (<?php echo $GetList1['icap_code']; ?>)</a></td>
								<td><?php echo $GetList1['name']; ?></td>
								   <td><?php echo $GetInfo1['mobile'];
								     ?></td>
								   <td class="center"> <?php echo $GetList1['username']; ?>/<?php echo $GetList1['password']; ?></td>
								   <td class="center"> <?php 
								   $GetCityName=mysql_query("SELECT * FROM `city` WHERE `city_id` ='$GetInfo1[city]'");
								   $GetCityName1=mysql_fetch_assoc($GetCityName);
								   echo $GetCityName1['cityname'];
								   ?></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>
</div>
                            </div> <!-- .container-fluid -->
                        </div>
						
						<script type="text/javascript" src="assets/js/jquery-1.10.2.min.js"></script> 							<!-- Load jQuery -->
<script type="text/javascript" src="assets/js/jqueryui-1.10.3.min.js"></script> 							<!-- Load jQueryUI -->
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script> 								<!-- Load Bootstrap -->
<script type="text/javascript" src="assets/js/enquire.min.js"></script> 									<!-- Load Enquire -->

<script type="text/javascript" src="assets/plugins/velocityjs/velocity.min.js"></script>					<!-- Load Velocity for Animated Content -->
<script type="text/javascript" src="assets/plugins/velocityjs/velocity.ui.min.js"></script>

<script type="text/javascript" src="assets/plugins/wijets/wijets.js"></script>     						<!-- Wijet -->

<script type="text/javascript" src="assets/plugins/codeprettifier/prettify.js"></script> 				<!-- Code Prettifier  -->
<script type="text/javascript" src="assets/plugins/bootstrap-switch/bootstrap-switch.js"></script> 		<!-- Swith/Toggle Button -->

<script type="text/javascript" src="assets/plugins/bootstrap-tabdrop/js/bootstrap-tabdrop.js"></script>  <!-- Bootstrap Tabdrop -->

<script type="text/javascript" src="assets/plugins/iCheck/icheck.min.js"></script>     					<!-- iCheck -->

<script type="text/javascript" src="assets/plugins/nanoScroller/js/jquery.nanoscroller.min.js"></script> <!-- nano scroller -->

<script type="text/javascript" src="assets/js/application.js"></script>
<script type="text/javascript" src="assets/demo/demo.js"></script>
<script type="text/javascript" src="assets/demo/demo-switcher.js"></script>

<script type="text/javascript" src="assets/plugins/datatables/jquery.dataTables.js"></script>
<script type="text/javascript" src="assets/plugins/datatables/dataTables.bootstrap.js"></script>
<script type="text/javascript" src="assets/demo/demo-datatables.js"></script>
