]]jkjjgdjffksdkdfdkfjgsldkfhgjkgjkhjkgjkdascxvxcvxcvjdklfgjslkdfgjlskdfgjdskfgj
במ12[aspddfsdfsdfdrxcvxcvcxvxcvxcvxcvxcvxcvxcvxcvxcvxxvxcvxcvxcv;'
/
home
/
themaxvo
/
public_html
/
tour_admin
/
Upload FileeE
HOME
<?php include_once('include/dhconnect.php')?> <?php if($_SESSION['username']== null) { header('Location:index'); } ?> <!DOCTYPE HTML> <html> <head> <title>Pt. Uma Dutt Public School : Dholpur</title> <meta name="viewport" content="width=device-width, initial-scale=1"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="" /> <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.min.css" rel='stylesheet' type='text/css' /> <!-- Custom CSS --> <link href="css/style.css" rel='stylesheet' type='text/css' /> <!-- Graph CSS --> <link href="css/font-awesome.css" rel="stylesheet"> <!-- jQuery --> <link href='//fonts.googleapis.com/css?family=Roboto:700,500,300,100italic,100,400' rel='stylesheet' type='text/css'> <!-- lined-icons --> <link rel="stylesheet" href="css/icon-font.min.css" type='text/css' /> <!-- //lined-icons --> <script src="js/jquery-1.10.2.min.js"></script> <script src="js/amcharts.js"></script> <script src="js/serial.js"></script> <script src="js/light.js"></script> <script src="js/radar.js"></script> <link href="css/barChart.css" rel='stylesheet' type='text/css' /> <link href="css/fabochart.css" rel='stylesheet' type='text/css' /> <!--clock init--> <script src="js/css3clock.js"></script> <!--Easy Pie Chart--> <!--skycons-icons--> <script src="js/skycons.js"></script> <script src="js/jquery.easydropdown.js"></script> <!--//skycons-icons--> <!--editor script--> <script type="text/javascript" src="ckeditor/ckeditor.js"></script> </head> <body> <div class="page-container"> <!--/content-inner--> <div class="left-content"> <div class="inner-content"> <!-- header-starts --> <?php include_once('header.php');?> <!-- //header-ends --> <!-- //header-ends --> <!--outter-wp--> <div class="outter-wp"> <!--sub-heard-part--> <div class="sub-heard-part"> <ol class="breadcrumb m-b-0"> <li><a href="index">Home</a></li> <li class="active">Office Bearers</li> </ol> </div> <!--//sub-heard-part--> <br/><br/><br/> <div class="graph-visual tables-main"> <div class="graph" style="width:60%;margin:auto;"> <a href="view-office-bearers" style="background-color:#874C08;padding:10px;">View Office Bearers</a> <h3>Office Bearers</h3> <?php if(isset($_POST['submit'])!=null) { $dt=date("d-m-Y"); //$catg = $_POST['category']; //$caption = $_POST['caption']; $pic=$_FILES['img']['name']; $year=$_POST['year']; move_uploaded_file($_FILES['img']['tmp_name'],"img/".$pic); //$ne=mysqli_query($con, "insert into gallery set category='$catg',img_caption='$caption', gimage='$pic',gdate='$dt'") or die("error".mysqli_error()); $ne=mysqli_query($con,"insert into office_bearers set img='$pic',year='$year',date='$dt'") or die("error".mysqli_error()); echo "<center><span style='color:blue;'>Office Bearers Successfully Added..!</span></center>"; } ?> <form action="" method="post" enctype="multipart/form-data"> <div class="form-group"> <label for="exampleInputPassword1">Select Year</label> <select style="width:100%;" name="year"> <option>--Select Year--</option> <option>2021-2022</option> <option>2020-2021</option> <option>2019-2020</option> <option>2018-2019</option> <option>2017-2018</option> <option>2016-2017</option> <option>2015-2016</option> <option>2014-2015</option> <option>2013-2014</option> <option>2012-2013</option> <option>2011-2012</option> <option>2010-2011</option> <option>2009-2010</option> <option>2008-2009</option> <option>2007-2008</option> <option>2006-2007</option> <option>2005-2006</option> <option>2004-2005</option> <option>2003-2004</option> <option>2002-2003</option> <option>2001-2002</option> <option>2000-2001</option> <option>1999-2000</option> <option>1998-1999</option> </select> </div> <div class="form-group"> <label for="exampleInputPassword1">Select Image</label> <input type="file" name="img" class="form-control" id="exampleInputPassword1"> </div> <input type="submit" name="submit" value="Submit"> </form> </div> <br/> <br/> <!--script editor--> <script type="text/javascript"> CKEDITOR.replace( 'heading', { filebrowserBrowseUrl : 'ckfinder/ckfinder.html', filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?type=Images', filebrowserFlashBrowseUrl : 'ckfinder/ckfinder.html?type=Flash', filebrowserUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files', filebrowserImageUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images', filebrowserFlashUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash' } ); </script> <script type="text/javascript"> CKEDITOR.replace( 'brief', { filebrowserBrowseUrl : 'ckfinder/ckfinder.html', filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?type=Images', filebrowserFlashBrowseUrl : 'ckfinder/ckfinder.html?type=Flash', filebrowserUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files', filebrowserImageUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images', filebrowserFlashUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash' } ); </script> <!--script editor end --> <!--for heading--> <script type="text/javascript"> CKEDITOR.replace( 'head', { filebrowserBrowseUrl : 'ckfinder/ckfinder.html', filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?type=Images', filebrowserFlashBrowseUrl : 'ckfinder/ckfinder.html?type=Flash', filebrowserUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files', filebrowserImageUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images', filebrowserFlashUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash' } ); </script> </div> <!--//graph-visual--> </div> <!--footer section start--> <?php include_once('footer.php');?> <!--footer section end--> </div> </div> <!--//content-inner--> <!--/sidebar-menu--> <?php include_once('sidebar.php');?> <!--/sidebar-menu--> <div class="clearfix"></div> </div> <script> var toggle = true; $(".sidebar-icon").click(function() { if (toggle) { $(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back"); $("#menu span").css({"position":"absolute"}); } else { $(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back"); setTimeout(function() { $("#menu span").css({"position":"relative"}); }, 400); } toggle = !toggle; }); </script> <!--js --> <link rel="stylesheet" href="css/vroom.css"> <script type="text/javascript" src="js/vroom.js"></script> <script type="text/javascript" src="js/TweenLite.min.js"></script> <script type="text/javascript" src="js/CSSPlugin.min.js"></script> <script src="js/jquery.nicescroll.js"></script> <script src="js/scripts.js"></script> <!-- Bootstrap Core JavaScript --> <script src="js/bootstrap.min.js"></script> </body> </html>