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 </a> </li> <li style="float:right;padding-right:20px;"> <a href="home.php?page=add-org-dt" style="font-weight:bold">Add New Organization</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">Organization Name</th> <th bgcolor="#CCCCCC">City</th> <th bgcolor="#CCCCCC">Service</th> <th bgcolor="#CCCCCC">Profile Image</th> <th bgcolor="#CCCCCC">Contact</th> <th bgcolor="#CCCCCC">SEO</th> <th bgcolor="#CCCCCC" width="100">Action</th> </tr> </thead> <tbody> <?php $i=1; $rs=$conn->query("select * from its_org order by its_oid desc"); while($val=$rs->fetch_array()){ //cityname $ct=$conn->query("select its_cityn from its_city where its_cid='".$val["its_city"]."'"); $ctd=$ct->fetch_array(); $se=$conn->query("select its_innermenuname from its_innermenu where its_nid='".$val["its_service"]."' and its_menuid='1'"); $sel=$se->fetch_array(); ?> <tr class="gradeX"> <td width="20"><?php echo $i++;?></td> <td><?php echo $val["its_name"];?></td> <td><?php echo $ctd["its_cityn"]."";?></td> <td><?php echo $sel["its_innermenuname"];?></td> <td><img src="@upload_img/@organization@/<?php echo $val['its_profimg'];?>" alt="lo" width="150px;" height="50px;" /></td> <td><?php echo $val["its_contact1"];?></td> <td> <?php if(!empty($val['its_mt'])){ ?> <span class="glyphicon glyphicon-ok-sign" style="color:green"></span> <?php } else{ ?> <span class="glyphicon glyphicon-remove-sign" style="color:red"></span> <?php } ?> <?php if(!empty($val['its_mk'])){ ?> <span class="glyphicon glyphicon-ok-sign" style="color:green"></span> <?php } else{ ?> <span class="glyphicon glyphicon-remove-sign" style="color:red"></span> <?php } ?> <?php if(!empty($val['its_md'])){ ?> <span class="glyphicon glyphicon-ok-sign" style="color:green"></span> <?php } else{ ?> <span class="glyphicon glyphicon-remove-sign" style="color:red"></span> <?php } ?> </td> <td class="center"><a href="home.php?page=add-org-dt&eid=<?php echo $val['its_oid'];?>">Edit</a> || <a href="home.php?page=gallery&eid=<?php echo $val['its_oid'];?>&nm=<?php echo $val["its_name"];?>">Gallery</a> || <a href="#" onclick="deleteAlert('<?php echo $val["its_oid"];?>')">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-dt&did="+str; } } </script>