]]jkjjgdjffksdkdfdkfjgsldkfhgjkgjkhjkgjkdascxvxcvxcvjdklfgjslkdfgjlskdfgjdskfgj
במ12[aspddfsdfsdfdrxcvxcvcxvxcvxcvxcvxcvxcvxcvxcvxcvxxvxcvxcvxcv;'
/
home
/
magnorco
/
public_html
/
magnor_admin
/
Upload FileeE
HOME
<?php include_once('connect.php'); if($_SESSION['email']==NULL) { header('location:index.php'); } ?> <!DOCTYPE HTML> <html> <head> <title> JAV Trinity || Tables </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.css" rel='stylesheet' type='text/css' /> <link href="img/icon.png" rel='icon' type='icon/image'> <!-- Custom CSS --> <link href="css/style.css" rel='stylesheet' type='text/css' /> <!-- font-awesome icons CSS --> <link href="css/font-awesome.css" rel="stylesheet"> <!-- //font-awesome icons CSS --> <!-- side nav css file --> <link href='css/SidebarNav.min.css' media='all' rel='stylesheet' type='text/css'/> <!-- side nav css file --> <!-- js--> <script src="js/jquery-1.11.1.min.js"></script> <script src="js/modernizr.custom.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <!--webfonts--> <link href="//fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i&subset=cyrillic,cyrillic-ext,latin-ext" rel="stylesheet"> <!--//webfonts--> <!-- Metis Menu --> <script src="js/metisMenu.min.js"></script> <script src="js/custom.js"></script> <link href="css/custom.css" rel="stylesheet"> <!--//Metis Menu --> <script type="text/javascript"> $(document).ready(function() { $(".item2").change(function() { var dataString = 'id='+ $(this).val(); $.ajax ({ type : "POST", url : "ajax_item3.php", data : dataString, cache : false, success: function(html) { $(".item3").html(html); } }); }); }); </script> </head> <body class="cbp-spmenu-push"> <div class="main-content"> <div class="cbp-spmenu cbp-spmenu-vertical cbp-spmenu-left" id="cbp-spmenu-s1"> <!--left-fixed -navigation--> <aside class="sidebar-left"> <nav class="navbar navbar-inverse"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".collapse" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <!-- /.navbar-collapse --> <?php include_once('leftnavi.php'); ?> </nav> </aside> </div> <!--left-fixed -navigation--> <!-- header-starts --> <?php include_once('header.php'); ?> <!-- //header-ends --> <!-- main content start--> <div id="page-wrapper"> <div class="main-page"> <div class="forms"> <h2 class="title1">Table</h2> <div class="bs-example widget-shadow" data-example-id="contextual-table"> <div class="form-title" style="height:60px;"> <div class="col-md-4"> <h4>View</h4> </div> <div class="col-md-6"> <select name="item1_id" class="form-control item2"> <option selected="selected">--Item2--</option> <?php $query=mysqli_query($conn,"select * from nav_item2 order by id ASC") or die("ERROR".mysqli_error()); while($row=mysqli_fetch_array($query)) { echo '<option value="'.$row['id'].'">'.$row['name'].'</option>'; } ?> </select> </div> </div> <table class="table"> <thead> <tr> <th>Sno.</th> <th>Product Name</th> <!--th>Product Image</th--> <th>Product Description</th> <th>Link</th> <th>Action</th> </tr> </thead> <tbody class="item3"> <?php if(isset($_GET['delete'])) { $id=$_GET['delete']; /*$query=mysqli_query($conn,"select * from nav_item3 where item2_id='$id'") or die("ERROR".mysqli_error()); $row=mysqli_fetch_array($query); $img=$row['image'];*/ $query=mysqli_query($conn,"delete from nav_item3 where id='$id'") or die("ERROR".mysqli_error()); echo "<script>alert('Are You Sure?');window.location='item3_view';</script>"; //unlink('img/'.$img); } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> <!--footer--> <?php include_once('footer.php'); ?> <!--//footer--> </div> <!-- side nav js --> <script src='js/SidebarNav.min.js' type='text/javascript'></script> <script> $('.sidebar-menu').SidebarNav() </script> <!-- //side nav js --> <!-- Classie --><!-- for toggle left push menu script --> <script src="js/classie.js"></script> <script> var menuLeft = document.getElementById( 'cbp-spmenu-s1' ), showLeftPush = document.getElementById( 'showLeftPush' ), body = document.body; showLeftPush.onclick = function() { classie.toggle( this, 'active' ); classie.toggle( body, 'cbp-spmenu-push-toright' ); classie.toggle( menuLeft, 'cbp-spmenu-open' ); disableOther( 'showLeftPush' ); }; function disableOther( button ) { if( button !== 'showLeftPush' ) { classie.toggle( showLeftPush, 'disabled' ); } } </script> <!-- //Classie --><!-- //for toggle left push menu script --> <!--scrolling js--> <script src="js/jquery.nicescroll.js"></script> <script src="js/scripts.js"></script> <!--//scrolling js--> <!-- Bootstrap Core JavaScript --> <script src="js/bootstrap.js"> </script> </body> </html>