Server IP : 92.204.138.22 / Your IP : 3.144.43.125 Web Server : Apache System : Linux ns1009439.ip-92-204-138.us 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64 User : internationaljou ( 1019) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/internationaljou/public_html/admin/ |
Upload File : |
<?php include("header.php"); include("left-menu.php");?> <noscript> <div class="alert alert-block col-md-12"> <h4 class="alert-heading">Warning!</h4> <p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> </div> </noscript> <script> function validation(){ var conferencename = document.getElementById("conferencename").value; var lastdate = document.getElementById("lastdate").value; var conferencedate = document.getElementById("conferencedate").value; var title = document.getElementById("title").value; var author = document.getElementById("author").value; var issue = document.getElementById("issue").value; var pdf = document.getElementById("pdf").value; var status = document.getElementById("status").value; if( conferencename ===''){ alert("Conference Name required"); return false; } else if( lastdate ===''){ alert("Last Date Paper Submission required"); return false; } else if( conferencedate ===''){ alert("Conference Date required"); return false; } else if( issue ===''){ alert("Please Select Issue"); return false; } else if( pdf ===''){ alert("Upload Pdf required"); return false; } else if( issue ===''){ alert("Please Select Issue"); return false; } else { return true; } } </script> <div id="content" class="col-lg-10 col-sm-10"> <!-- content starts --> <div> <ul class="breadcrumb"> <li> <a href="#">Home</a> </li> <li> <a href="add_upcoming_conference.php">Add New Conference</a> </li> </ul> </div> <div class="row"> <div class="box col-md-12"> <div class="box-inner homepage-box"> <div class="box-header well"> <h2><i class="glyphicon glyphicon-home"></i> Upcoming Conference</h2> <div class="box-icon"> <a href="#" class="btn btn-setting btn-round btn-default"><i class="glyphicon glyphicon-cog"></i></a> <a href="#" class="btn btn-minimize btn-round btn-default"><i class="glyphicon glyphicon-chevron-up"></i></a> <a href="#" class="btn btn-close btn-round btn-default"><i class="glyphicon glyphicon-remove"></i></a> </div> </div> <div class="box-content"> <ul class="nav nav-tabs" id="myTab"> <li class="active"><a href="#info">Conference Details</a></li> <li><a href="#conference">Aim of Conference</a></li> <li><a href="#fees">Registration Fees</a></li> <li><a href="#location">Visiting Locations</a></li> <li><a href="#status">Committee Members</a></li> </ul> <form action="class.php" method="post" onsubmit="submitForm()" enctype="multipart/form-data" > <div id="myTabContent" class="tab-content"> <div class="tab-pane active" id="info"> <div class="col-md-6 col-xs-12"> <br> <div class="form-group"> <label for=" Name" class="control-label col-md-4 col-xs-4">Conference Name:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="conferencename" id="conferencename" placeholder="" > </div> </div> <br><br> <div class="form-group"> <label for=" Name" class="control-label col-md-4 col-xs-4">Last Date for Paper Submission:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="lastdate" id="lastdate" placeholder="" required > </div> </div> <br><br> <div class="form-group"> <label for="Address" class="control-label col-md-4 col-xs-4">Conference Date:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="conferencedate" id="conferencedate" placeholder="" required > </div> </div> <br /><br /> <div class="form-group"> <label for=" Type" class="control-label col-md-4 col-xs-4">Submit your paper:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="papersubmitemail" id="papersubmitemail" placeholder="" required > </div> </div> </div> <div class="col-md-6 col-xs-12" > <br> <div class="form-group"> <label for=" Type" class="control-label col-md-4 col-xs-4">Last Date of Registration:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="lastdate_registration" id="lastdate_registration" placeholder="" required > </div> </div> <br /><br /> <div class="form-group"> <label for=" Type" class="control-label col-md-4 col-xs-4">Venue:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="venue" id="venue" placeholder="" required > </div> </div> <Br /><br /> <div class="form-group"> <label for="ContactNo" class="control-label col-md-4 col-xs-4"> Conference Image</label> <div class="col-md- 8 col-xs-8"> <input type="file" name="conferenceimage" id="conferenceimage" required > </div> </div> <br /><br /> <div class="form-group"> <label for=" Type" class="control-label col-md-4 col-xs-4">Contact Any Queries:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="contact" id="contact" placeholder="" required > </div> </div> </div> </div> <div class="tab-pane" id="conference"><br> <div class="form-group" style="padding-left:30px;"> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);"><br><br>Aim of Conference : </label> <div class="col-md-12 col-xs-12"> <textarea rows="16" cols="100" name="aimofconference" style="width: 600px; height: 300px;"></textarea> </div> </div> </div> <div class="tab-pane" id="location"> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);"><br><br>Topics : </label> <div class="col-md-12 col-xs-12"> <textarea name="topics" id="topics" style="width: 800px; height:50px;"></textarea> </div> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);"><br><br>Instruction : </label> <div class="col-md-12 col-xs-12"> <textarea name="instruction" id="instruction" style="width: 800px; height:150px;"></textarea> </div> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);"><br><br>Visiting Locations: : </label> <div class="col-md-12 col-xs-12"> <textarea name="visitinglocation" id="visitinglocation" style="width: 800px; height: 400px;"></textarea> </div> </div> <div class="tab-pane" id="fees"> <div class="form-group" style="padding-left:30px;"> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);"><br><br>Registration Fees: </label> <div class="col-md-6 col-xs-12"> <br> <div class="form-group"> <label for="UG/PG Student" class="control-label col-md-4 col-xs-4">UG/PG Student </label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="ugpg" id="ugpg" placeholder="" > </div> </div> <br><br> <div class="form-group"> <label for=" Research Scholar/Staff" class="control-label col-md-4 col-xs-4">Research Scholar/Staff :</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="staff_researchscholar" id="staff_researchscholar" placeholder="" required > </div> </div> <br><br> <div class="form-group"> <label for="Corporate people" class="control-label col-md-4 col-xs-4">Corporate people:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="corporatepeople" id="corporatepeople" placeholder="" required > </div> </div> <br><br> <div class="form-group"> <label for="Active Listener" class="control-label col-md-4 col-xs-4">Active Listener:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="activelistener" id="activelistener" placeholder="" required > </div> </div> <br><br> <div class="form-group"> <label for="Participants" class="control-label col-md-4 col-xs-4">Participants:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="participants" id="participants" placeholder="" required > </div> </div> </div> </div> </div> <div class="tab-pane" id="status"> <div id="dynamic_field"> <div class="form-group" style="padding-left:30px;"> <div class="col-md-4 col-xs-6"> <!-- <table class="table table-bordered" id="dynamic_field"> <tr> <td><input type="text" name="designation[]" placeholder="Enter your Designation" class="form-control name_list" /></td> <td><input type="text" name="name[]" placeholder="Enter your Name" class="form-control name_list" /></td> <td><input type="text" name="collegename[]" placeholder="Enter your College Name" class="form-control name_list" /></td> <td><button type="button" name="add" id="add" class="btn btn-success">Add More</button></td> </tr> </table> --> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);">Designation :</label> <div class="col-md-12 col-xs-12"> <input type="text" class="form-control" name="designation1" id="designation1" placeholder="" required ><Br /> </div> <br> </div> <div class="col-md-4 col-xs-6"> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);">Name :</label> <div class="col-md-12 col-xs-12"> <input type="text" class="form-control" name="name1" id="name1" placeholder="" required ><br /> </div> </div> <div class="col-md-4 col-xs-6"> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);">College Name :</label> <div class="col-md-12 col-xs-12"> <input type="text" class="form-control" name="collegename1" id="collegename1" placeholder="" required ><button type="button" name="add" id="add" class="btn btn-success">Add More</button><br /> </div> </div> </div> </div> <!-- add more id div close--> <div class="col-md-6 col-xs-12"> <center> <br><br> <table> <tr> <td class="r1"> <button type="submit" name="add_upcoming" value="Save" class="btn btn-success" onclick="validation()" >save</button> </td> <td class="r1"><a href="add_upcoming_conference.php"><button type="button" class="btn btn-success" >cancel</button></a></td> </tr> </table> </center> </div> </div> </form> </div> </div> </div> </div> <script> $(document).ready(function(){ var i=1; $('#add').click(function(){ i++; $('#dynamic_field').append('<tr id="row'+i+'"><td><input type="text" name="designation[]" placeholder="Enter your Designation" class="form-control name_list" /></td><td><input type="text" name="name[]" placeholder="Enter your Name" class="form-control name_list" /></td><td><input type="text" name="collegename[]" placeholder="Enter your College Name" class="form-control name_list" /></td><td><button type="button" name="remove" id="'+i+'" class="btn btn-danger btn_remove">X</button></td></tr>'); }); $(document).on('click', '.btn_remove', function(){ var button_id = $(this).attr("id"); $('#row'+button_id+'').remove(); }); $('#submit').click(function(){ $.ajax({ url:"name.php", method:"POST", data:$('#add_name').serialize(), success:function(data) { alert(data); $('#add_name')[0].reset(); } }); }); }); </script> <script> jQuery(function(){ var counter = 1; var rowCount = 1; jQuery('button.add-author').click(function(event){ event.preventDefault(); rowCount ++; var newRow = jQuery('<tr class="rowCount'+rowCount+'"><td class="r1" >'+rowCount+'</td><td class="r1" ><textarea class="form-control" rows="3" name="details[]" id="details" ></textarea></td><td class="r1" ><button type="button" class="btn btn-danger" onclick="removeRow('+rowCount+');"> X </button></td></tr>'); counter++; jQuery('table.addroom').append(newRow); }); }); </script> <script type="text/javascript"> var rowCount = 1; function removeRow(removeNum) { jQuery('.rowCount'+removeNum).remove(); } var abc = 0; // Declaring and defining global increment variable. $(document).ready(function() { // To add new input file field dynamically, on click of "Add More Files" button below function will be executed. $('#add_more').click(function() { if(abc <10){abc += 1; $(this).before($("<div/>", { id: 'filediv' }).fadeIn('slow').append($("<input/>", { name: '[]', type: 'file', id: 'file' }), $("")));} }); // Following function will executes on change event of file input to select different file. $('body').on('change', '#file', function() { if (this.files && this.files[0]) { //abc += 1; // Incrementing global variable by 1. var z = abc - 1; var x = $(this).parent().find('#previewimg' + z).remove(); $(this).before("<div id='abcd" + abc + "' class='col-md-2 col-sm-3 abcd'><img id='previewimg" + abc + "' src=''/></div>"); var reader = new FileReader(); reader.onload = imageIsLoaded; reader.readAsDataURL(this.files[0]); $(this).hide(); $("#abcd" + abc).append($("<img/>", { id: 'img', src: 'multiple_image/x.png', alt: 'delete' }).click(function() { $(this).parent().parent().remove(); })); } }); // To Preview Image function imageIsLoaded(e) { $('#previewimg' + abc).attr('src', e.target.result); }; $('#upload').click(function(e) { var name = $(":file").val(); if (!name) { alert("First Image Must Be Selected"); e.preventDefault(); } }); }); </script> <?php include("footer.php"); ?>