ok
Direktori : /home/u732469475/domains/balajigrills.com/public_html/admin/ |
Current File : /home/u732469475/domains/balajigrills.com/public_html/admin/visachange.php |
<?php include'header.php';?> <?php include'config.php';?> <!--Navigation Top Bar End--> <section id="main-container"> <!--Left navigation section start--> <?php include'sidebar.php';?> <!--Left navigation section end--> <?php error_reporting(0); if($_REQUEST['submit']) { $name=$_REQUEST['name']; $metatitle=$_REQUEST['metatitle']; $time=$_REQUEST['time']; $semester=$_REQUEST['semester']; $qualification=$_REQUEST['qualification']; $photo=$_FILES['photo']; $photo_image_name=$photo['name']; $photo_tmp_name=$photo['tmp_name']; $target="galleryphoto/$photo_image_name"; $aneg=$_REQUEST['Aneg']; $content=$_REQUEST['content']; if(mysql_query("INSERT INTO `visachange` (`name`, `metatitle`, `price`, `time`, `semester`, `qualification`, `image`, `content`, `description`) VALUES ('$name', '$metatitle', '$price', '$time', '$semester', '$qualification', '$photo_image_name', '$content', '$aneg')")) { echo "<script language='javascript'>alert('Successfully Updated !');window.location = 'visachange-list.php';</script>"; move_uploaded_file($photo_tmp_name,$target); } } ?> <!--Page main section start--> <section id="min-wrapper"> <div id="main-content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <!--Top header start--> <h3 class="ls-top-header">Visa Change</h3> </div> </div> <!-- Main Content Element Start--> <div class="row"> <div class="col-md-8"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">Visa Change</h3> </div> <div class="panel-body"> <form method="post" enctype="multipart/form-data"> <div class="form-group"> </div> <div class="form-group"> <label>Name</label> <input type="text" name="name" class="form-control"> </div> <div class="form-group"> <label>Price</label> <input type="text" name="time" class="form-control"> </div> <div class="form-group"> <label>Process</label> <input type="text" name="time" class="form-control"> </div> <div class="form-group"> <label>Duration</label> <input type="text" name="semester" class="form-control"> </div> <div class="form-group"> <label>Validity</label> <input type="text" name="qualification" class="form-control"> </div> <div class="form-group"> <label>Image</label> <input id="file-3" type="file" name="photo" class="form-control"> </div> <!--<div class="form-group"> <label>Description1</label> <textarea id="elm1" name="content" rows="10" cols="40" style="width: 80%"> </textarea> </div> <div class="form-group"> <label>Description2</label> <textarea id="elm1" name="Aneg" rows="10" cols="40" style="width: 80%"> </textarea> </div>--> <input type="submit" value="Submit" name="submit"> </form> </div> </div> </div> </div> <!-- Main Content Element End--> </div> </div> </section> <!--Page main section end --> <!--Right hidden section start--> <!--Right hidden section end --> <div id="change-color"> <div id="change-color-control"> <a href="javascript:void(0)"><i class="fa fa-magic"></i></a> </div> <div class="change-color-box"> <ul> <li class="default active"></li> <li class="red-color"></li> <li class="blue-color"></li> <li class="light-green-color"></li> <li class="black-color"></li> <li class="deep-blue-color"></li> </ul> </div> </div> </section> <script src="js/jquery.min.js"></script> <script src="js/location.js"></script> <script src="js/tinymce/tinymce.dev.js"></script> <script src="js/tinymce/plugins/table/plugin.dev.js"></script> <script src="js/tinymce/plugins/paste/plugin.dev.js"></script> <script src="js/tinymce/plugins/spellchecker/plugin.dev.js"></script> <script src="js/tinymce/plugins/codesample/plugin.dev.js"></script> <script> tinymce.init({ selector: "textarea#elm1", theme: "modern", plugins: [ "advlist autolink autosave link image lists charmap print preview hr anchor pagebreak spellchecker", "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking", "save table contextmenu directionality emoticons template textcolor paste fullpage textcolor colorpicker codesample" ], external_plugins: { //"moxiemanager": "/moxiemanager-php/plugin.js" }, content_css: "css/development.css", add_unload_trigger: false, autosave_ask_before_unload: false, toolbar1: "save newdocument fullpage | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | styleselect formatselect fontselect fontsizeselect", toolbar2: "cut copy paste pastetext | searchreplace | bullist numlist | outdent indent blockquote | undo redo | link unlink anchor image media help code | insertdatetime preview | forecolor backcolor", toolbar3: "table | hr removeformat | subscript superscript | charmap emoticons | print fullscreen | ltr rtl | spellchecker | visualchars visualblocks nonbreaking template pagebreak restoredraft | insertfile insertimage codesample", menubar: false, toolbar_items_size: 'small', style_formats: [ {title: 'Bold text', inline: 'b'}, {title: 'Red text', inline: 'span', styles: {color: '#ff0000'}}, {title: 'Red header', block: 'h1', styles: {color: '#ff0000'}}, {title: 'Example 1', inline: 'span', classes: 'example1'}, {title: 'Example 2', inline: 'span', classes: 'example2'}, {title: 'Table styles'}, {title: 'Table row 1', selector: 'tr', classes: 'tablerow1'} ], templates: [ {title: 'My template 1', description: 'Some fancy template 1', content: 'My html'}, {title: 'My template 2', description: 'Some fancy template 2', url: 'development.html'} ], spellchecker_callback: function(method, data, success) { if (method == "spellcheck") { var words = data.match(this.getWordCharPattern()); var suggestions = {}; for (var i = 0; i < words.length; i++) { suggestions[words[i]] = ["First", "second"]; } success({words: suggestions, dictionary: true}); } if (method == "addToDictionary") { success(); } } }); </script> <!--Layout Script start --> <script type="text/javascript" src="assets/js/color.js"></script> <script type="text/javascript" src="assets/js/lib/jquery-1.11.min.js"></script> <script type="text/javascript" src="assets/js/bootstrap.min.js"></script> <script type="text/javascript" src="assets/js/multipleAccordion.js"></script> <!--easing Library Script Start --> <script src="assets/js/lib/jquery.easing.js"></script> <!--easing Library Script End --> <!--Nano Scroll Script Start --> <script src="assets/js/jquery.nanoscroller.min.js"></script> <!--Nano Scroll Script End --> <!--switchery Script Start --> <script src="assets/js/switchery.min.js"></script> <!--switchery Script End --> <!--bootstrap switch Button Script Start--> <script src="assets/js/bootstrap-switch.js"></script> <!--bootstrap switch Button Script End--> <!--easypie Library Script Start --> <script src="assets/js/jquery.easypiechart.min.js"></script> <!--easypie Library Script Start --> <!--bootstrap-progressbar Library script Start--> <script src="assets/js/bootstrap-progressbar.min.js"></script> <!--bootstrap-progressbar Library script End--> <script type="text/javascript" src="assets/js/pages/layout.js"></script> <!--Layout Script End --> <!--Upload button Script Start--> <script src="assets/js/fileinput.min.js"></script> <!--Upload button Script End--> <!--Auto resize text area Script Start--> <script src="assets/js/jquery.autosize.js"></script> <!--Auto resize text area Script Start--> <script src="assets/js/pages/sampleForm.js"></script> </body> <!-- Mirrored from fickle.aimmate.com/sample-form.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 21 Apr 2016 11:28:05 GMT --> </html>