Home -- File Manager -- Command Execute -- Back Connect -- BypasS Command eXecute(SF-DF) -- Symlink -- BypasS Directory -- Eval Php -- Data Base -- Convert -- Mail Boomber Server Information -- Dos Local Server -- Backup Database -- Mass Deface -- Download Remote File -- DDoS -- Find Writable Directory -- MultiUploadPort Scanner -- Set Cookie -- Processes List -- User List -- Zone-H Submiter -- Set Password -- Server -- Remove Me -- About
<<<< Edit File >>>>File Name : E:\Inetpub\vhosts\sunriseits.com\lakshinternationalschool.com\admin\image-list-class-group.php<?php include('conn.php'); session_start(); if (!isset($_SESSION['username'])) { header('location:index.php'); exit(); } else { if(isset($_POST['sub'])) { // Count total files $countfiles = count($_FILES['t2']['name']); // Looping all files for($i=0;$i<$countfiles;$i++){ $a=$_POST['t1']; $c=$_POST['t3']; $cat1=$_POST['cat1']; $filename = $_FILES['t2']['name'][$i]; // Upload file move_uploaded_file($_FILES['t2']['tmp_name'][$i],'itemimages_class_group/'.$filename); $sql="insert into itemimg_class_group (name,image,description,categoriesid) values ('$a','$filename','$c','$cat1')"; $query=mysql_query($sql); echo"Images Upload successfully"; } } } ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Admin</title> <!-- BOOTSTRAP STYLES--> <link href="assets/css/bootstrap.css" rel="stylesheet" /> <!-- FONTAWESOME STYLES--> <link href="assets/css/font-awesome.css" rel="stylesheet" /> <!-- CUSTOM STYLES--> <link href="assets/css/custom.css" rel="stylesheet" /> <!-- GOOGLE FONTS--> <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' /> </head> <body> <div id="wrapper"> <div class="navbar navbar-inverse navbar-fixed-top"> <?php include ('header.php');?> </div> <!-- /. NAV TOP --> <nav class="navbar-default navbar-side" role="navigation"> <?php include ('menu.php');?> </nav> <!-- /. NAV SIDE --> <div id="page-wrapper" > <div id="page-inner"> <div class="row"> <div class="col-md-12"> <h2>Upload Categories Images Items </h2> </div> </div> <!-- /. ROW --> <hr /> <!-- /. ROW --> <div class="panel panel-primary" data-collapsed="0"> <div class="panel-heading"> <div class="panel-title" > <i class="entypo-plus-circled"></i> Gallery Entry </div> </div> <form method="post" action="" enctype="multipart/form-data"> <div class="panel-body"> <div class="form-group"> <label for="field-1" class="col-sm-3 control-label"> Categories</label> <div class="col-sm-5"> <select id="category" name="cat1" class="form-control" onchange="getState(this.value)"> <?php $query = "select * from class_group"; $results = mysql_query($query); while ($rows = mysql_fetch_assoc(@$results)){ ?> <option value="<?php echo @$rows['id'];?>"><?php echo $rows['name'];?></option> <?php } ?> </select> </div></div><br><br><br> <div class="form-group"> <label for="field-1" class="col-sm-3 control-label"> Name</label> <div class="col-sm-5"> <input type="text" class="form-control" name="t1" data-validate="required" data-message-required="Value Required" value="" autofocus> </div> </div></br> <div class="form-group"> <label for="field-1" class="col-sm-3 control-label">Image</label> <div class="col-sm-5"> <input type="file" name="t2[]" value="" multiple> </div> </div></br> <div class="form-group"> <label for="field-1" class="col-sm-3 control-label">Description</label> <div class="col-sm-5"> <textarea rows="2" cols="3" class="form-control" name="t3" data-validate="required" data-message-required="Value Required" value="" autofocus></textarea> </div> </div></br></br> </br> <div class="form-group" align="center"> <div class="col-sm-8"> <input type="submit" class="btn btn-info" name="sub" value="Save"> <input type="Reset" class="btn btn-danger" name="sub1" value="Reset"> </div> </div></br> </form> </div> </div> <div class="panel panel-primary" data-collapsed="0"> <div class="panel-heading"> <div class="panel-title" > <i class="entypo-plus-circled"></i> Status </div> </div> <div class="panel-body"> <div style="overflow-x:auto;"> <div class="col-lg-12 col-md-12"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th>#</th> <th> Image</th> <th>Name</th> <th>Discripition</th> <th>Action</th> </tr> </thead> <?php $sql="select * from itemimg_class_group "; $query=mysql_query($sql); $count=1; while($fetch=mysql_fetch_array($query)) { ?> <tbody> <tr class="info"> <td><?php echo $count++;?></td> <td><img src="itemimages_class_group/<?php echo $fetch[2]?>"height="50px" width="50px"; ></td> <td><?php echo $fetch[1];?></td> <td><?php echo $fetch[2];?></td> <td><a href="Class_Group_delete.php?id=<?php echo @$fetch[0];?>"><p align="center">Delete</p></a> </tr> </tbody> <?php } ?> </table> </div> </div> </div> </div> </div> </div> </div> <!-- /. PAGE INNER --> </div> <!-- /. PAGE WRAPPER --> </div> <div class="footer"> <?php include ('footer.php');?> </div> <!-- /. WRAPPER --> <!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME--> <!-- JQUERY SCRIPTS --> <script src="assets/js/jquery-1.10.2.js"></script> <!-- BOOTSTRAP SCRIPTS --> <script src="assets/js/bootstrap.min.js"></script> <!-- CUSTOM SCRIPTS --> <script src="assets/js/custom.js"></script> </body> </html>
File Name : E:\Inetpub\vhosts\sunriseits.com\lakshinternationalschool.com\admin\image-list-class-group.php<?php include('conn.php'); session_start(); if (!isset($_SESSION['username'])) { header('location:index.php'); exit(); } else { if(isset($_POST['sub'])) { // Count total files $countfiles = count($_FILES['t2']['name']); // Looping all files for($i=0;$i<$countfiles;$i++){ $a=$_POST['t1']; $c=$_POST['t3']; $cat1=$_POST['cat1']; $filename = $_FILES['t2']['name'][$i]; // Upload file move_uploaded_file($_FILES['t2']['tmp_name'][$i],'itemimages_class_group/'.$filename); $sql="insert into itemimg_class_group (name,image,description,categoriesid) values ('$a','$filename','$c','$cat1')"; $query=mysql_query($sql); echo"Images Upload successfully"; } } } ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Admin</title> <!-- BOOTSTRAP STYLES--> <link href="assets/css/bootstrap.css" rel="stylesheet" /> <!-- FONTAWESOME STYLES--> <link href="assets/css/font-awesome.css" rel="stylesheet" /> <!-- CUSTOM STYLES--> <link href="assets/css/custom.css" rel="stylesheet" /> <!-- GOOGLE FONTS--> <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' /> </head> <body> <div id="wrapper"> <div class="navbar navbar-inverse navbar-fixed-top"> <?php include ('header.php');?> </div> <!-- /. NAV TOP --> <nav class="navbar-default navbar-side" role="navigation"> <?php include ('menu.php');?> </nav> <!-- /. NAV SIDE --> <div id="page-wrapper" > <div id="page-inner"> <div class="row"> <div class="col-md-12"> <h2>Upload Categories Images Items </h2> </div> </div> <!-- /. ROW --> <hr /> <!-- /. ROW --> <div class="panel panel-primary" data-collapsed="0"> <div class="panel-heading"> <div class="panel-title" > <i class="entypo-plus-circled"></i> Gallery Entry </div> </div> <form method="post" action="" enctype="multipart/form-data"> <div class="panel-body"> <div class="form-group"> <label for="field-1" class="col-sm-3 control-label"> Categories</label> <div class="col-sm-5"> <select id="category" name="cat1" class="form-control" onchange="getState(this.value)"> <?php $query = "select * from class_group"; $results = mysql_query($query); while ($rows = mysql_fetch_assoc(@$results)){ ?> <option value="<?php echo @$rows['id'];?>"><?php echo $rows['name'];?></option> <?php } ?> </select> </div></div><br><br><br> <div class="form-group"> <label for="field-1" class="col-sm-3 control-label"> Name</label> <div class="col-sm-5"> <input type="text" class="form-control" name="t1" data-validate="required" data-message-required="Value Required" value="" autofocus> </div> </div></br> <div class="form-group"> <label for="field-1" class="col-sm-3 control-label">Image</label> <div class="col-sm-5"> <input type="file" name="t2[]" value="" multiple> </div> </div></br> <div class="form-group"> <label for="field-1" class="col-sm-3 control-label">Description</label> <div class="col-sm-5"> <textarea rows="2" cols="3" class="form-control" name="t3" data-validate="required" data-message-required="Value Required" value="" autofocus></textarea> </div> </div></br></br> </br> <div class="form-group" align="center"> <div class="col-sm-8"> <input type="submit" class="btn btn-info" name="sub" value="Save"> <input type="Reset" class="btn btn-danger" name="sub1" value="Reset"> </div> </div></br> </form> </div> </div> <div class="panel panel-primary" data-collapsed="0"> <div class="panel-heading"> <div class="panel-title" > <i class="entypo-plus-circled"></i> Status </div> </div> <div class="panel-body"> <div style="overflow-x:auto;"> <div class="col-lg-12 col-md-12"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th>#</th> <th> Image</th> <th>Name</th> <th>Discripition</th> <th>Action</th> </tr> </thead> <?php $sql="select * from itemimg_class_group "; $query=mysql_query($sql); $count=1; while($fetch=mysql_fetch_array($query)) { ?> <tbody> <tr class="info"> <td><?php echo $count++;?></td> <td><img src="itemimages_class_group/<?php echo $fetch[2]?>"height="50px" width="50px"; ></td> <td><?php echo $fetch[1];?></td> <td><?php echo $fetch[2];?></td> <td><a href="Class_Group_delete.php?id=<?php echo @$fetch[0];?>"><p align="center">Delete</p></a> </tr> </tbody> <?php } ?> </table> </div> </div> </div> </div> </div> </div> </div> <!-- /. PAGE INNER --> </div> <!-- /. PAGE WRAPPER --> </div> <div class="footer"> <?php include ('footer.php');?> </div> <!-- /. WRAPPER --> <!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME--> <!-- JQUERY SCRIPTS --> <script src="assets/js/jquery-1.10.2.js"></script> <!-- BOOTSTRAP SCRIPTS --> <script src="assets/js/bootstrap.min.js"></script> <!-- CUSTOM SCRIPTS --> <script src="assets/js/custom.js"></script> </body> </html>
iTSecTeam.comCoded by Amin Shokohi (Pejvak)