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="#">Social Media</a> </li> <li style="float:right;padding-right:20px;"> <a href="home.php?page=add-socialmedia" style="font-weight:bold">Add New Social Media</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">Social Media</th> <th bgcolor="#CCCCCC">Alt. Title</th> <th bgcolor="#CCCCCC">Url Link</th> <th bgcolor="#CCCCCC">Position</th> <th bgcolor="#CCCCCC">Status</th> <th bgcolor="#CCCCCC" width="100">Action</th> </tr> </thead> <tbody> <?php while($ftcmnu=$grs->fetch_array()){ ?> <tr class="gradeX"> <td width="20"><input type="checkbox" name="checkbox2" value="checkbox" /></td> <td><img src="@upload_img/@social_media@/<?php echo $ftcmnu['its_media'];?>" alt="lo" width="70px;" height="50px;" /></td> <td><?php echo $ftcmnu['its_title'];?></td> <td><?php echo $ftcmnu['its_link'];?></td> <td><?php echo $ftcmnu['its_position'];?></td> <td><a href="home.php?page=all-socmedia&sid=<?php echo $ftcmnu['its_bid'];?>"> <?php if ($ftcmnu['its_status'] ==0){ ?> <span style="color:#FF0000;">Inactive</span> <?php } else { ?> Active <?php } ?> </a></td> <td class="center"><a href="home.php?page=add-socialmedia&eid=<?php echo $ftcmnu['its_bid'];?>">Edit</a> || <a href="#" onclick="deleteAlert('<?php echo $ftcmnu["its_bid"];?>')">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=all-socmedia&did="+str; } } </script>