korsygfhrtzangaiide
Elepffwdsff
/
home3
/
nmslyumy
/
public_html
/
odishaexpress
/
oe-admin
/
view
/
Upload FileeE
HOME
<div id="content" class="col-lg-10 col-sm-10"> <!-- content starts --> <div> <ul class="breadcrumb"> <li> <a href="home.php?page=dash-board">Home</a> </li> <li> <a href="#">Banner </a> </li> <li style="float:right;padding-right:20px;"> <a href="home.php?page=add-banner" style="font-weight:bold">Add New Banner</a> </li> </ul> </div> <div class="row"> <div style="text-align:center"><?php include("controller/msg.php"); ?></div> <div id="container"> <div class="demo_jui"> <table cellpadding="0" cellspacing="0" border="0" class="display" id="example"> <thead> <tr> <th bgcolor="#CCCCCC" width="20"> <input type="checkbox" name="checkbox" value="checkbox" /></th> <th bgcolor="#CCCCCC">Service Name </th> <th bgcolor="#CCCCCC">City</th> <th bgcolor="#CCCCCC">Top Ad Image</th> <th bgcolor="#CCCCCC">URL</th> <th bgcolor="#CCCCCC" width="100">Action</th> </tr> </thead> <tbody> <?php while($ftcmnu=$grs->fetch_array()){ //get service name $se=$conn->query("select * from its_innermenu where its_nid='".$ftcmnu['its_service']."'"); $sed=$se->fetch_array(); $ct=$conn->query("select * from its_city where its_cid='".$ftcmnu['its_city']."'"); $ctd=$ct->fetch_array(); ?> <tr class="gradeX"> <td width="20"><input type="checkbox" name="checkbox2" value="checkbox" /></td> <td><?php if(!empty($sed["its_innermenuname"])){echo $sed["its_innermenuname"];}else{ echo "Home Page";}?></td> <td><?php if(!empty($ctd["its_cityn"])){echo $ctd["its_cityn"];}else{ echo "Home Page";}?></td> <td><img src="@upload_img/@topad@/<?php echo $ftcmnu['its_adimg'];?>" alt="lo" width="400px;" height="100px;" /></td> <td><?php echo $ftcmnu['its_url'];?></td> <td class="center"><a href="home.php?page=add-<?php echo $_GET["page"]; ?>&eid=<?php echo $ftcmnu['its_id'];?>">Edit</a> || <a href="#" onclick="deleteAlert('<?php echo $ftcmnu["its_id"];?>')">Delete</a></td> </tr> <?php }?> </tbody> </table> </div> </div> </div> <script type="text/javascript"> function deleteAlert(str) { var con=confirm("Do You Want to Delete"); if(con) { location.href="home.php?page=<?php echo $_GET["page"]; ?>&did="+str; } } </script>