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="#">Organization Category </a> </li> <li style="float:right;padding-right:20px;"> <a href="home.php?page=add-org-cat" style="font-weight:bold">Add Category</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">Category Name</th> <th bgcolor="#CCCCCC">Image Type</th> <th bgcolor="#CCCCCC">Image</th> <th bgcolor="#CCCCCC" width="100">Action</th> </tr> </thead> <tbody> <?php $grs = $conn->query("select * from its_org_cat"); while($ftcmnu=$grs->fetch_array()){ //get Service Name $sn=$conn->query("select its_innermenuname from its_innermenu where its_nid='".$ftcmnu['its_service']."'"); $snd=$sn->fetch_array(); ?> <tr class="gradeX"> <td width="20"><input type="checkbox" name="checkbox2" value="checkbox" /></td> <td><?php echo $snd['its_innermenuname'];?></td> <td><?php echo $ftcmnu['its_it'];?></td> <td><img src="@upload_img/@orgcat@/<?php echo $ftcmnu['its_adimg'];?>" alt="lo" width="250px;" height="120px;" /></td> <td class="center"><a href="home.php?page=add-org-cat&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=org-cat&did="+str; } } </script>