Server IP : 92.204.138.22 / Your IP : 18.116.67.42 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> enabled to use this site.</p> </div> </noscript> <script> function validation(){ var j_name = document.getElementById("jname").value; var paper_id = document.getElementById("paper_id").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( j_name ==='') { alert("Journal Name required"); return false; } else if( paper_id ==='') { alert("Paper Id required"); return false; } else if(title =='') { alert("Journal Title required"); return false; } else if( author ==='') { alert("Paper Author required"); return false; } else if( issue ==='') { alert("Please Select Issue"); return false; } else if( pdf ==='') { alert("Upload Pdf required"); return false; } else if( status ==='') { alert("Please Select Status"); return false; } else { return true; } }</script> <script> function getPaper(val) { $.ajax({ type: "POST", url: "ijaes-checkpaperid.php", data:'paper_id='+val, success: function(data){ //alert(data); $("#result").html(data); } }); } </script> <div id="content" class="col-lg-10 col-sm-10"> <!-- content starts --> <div> <ul class="breadcrumb"> <li> <a href="ijaes.php">Go Back to -> IJAES</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> IJAES Information</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">Basic Information</a></li> <li><a href="#custom">Abstract</a></li> <li><a href="#offer">Keywords</a></li> <li><a href="#messages">References</a></li> <li><a href="#status">Citation</a></li> </ul> <form action="class.php" name="ijaesform" id="ijaes" 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">Journal Name:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="jname" id="jname" value="International Journal of Agriculture & Environmental Science" placeholder="" > </div> </div> <br><br> <div class="form-group"> <label for=" Name" class="control-label col-md-4 col-xs-4">Paper ID:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="paper_id" id="paper_id" placeholder="" required onChange="getPaper(this.value);" style="text-transform:uppercase"> <div id="result"></div> </div> </div> <br><br> <div class="form-group"> <label for="Address" class="control-label col-md-4 col-xs-4">Journal Title:</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="title" id="title" placeholder="" > </div> </div> <br><br> <div class="form-group"> <label for="ContactNo" class="control-label col-md-4 col-xs-4">Authors</label> <div class="col-md- 8 col-xs-8"> <input type="text" class="form-control" name="author" id="author" autocomplete="off"> </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">Volume:</label> <div class="col-md- 8 col-xs-8"> <select class="form-control" id="volume" name="volume"> <option value="Volume 1">Volume 1</option> <option value="Volume 2">Volume 2</option> <option value="Volume 3">Volume 3</option> <option value="Volume 4">Volume 4</option> <option value="Volume 5">Volume 5</option> <option value="Volume 6">Volume 6</option> <option value="Volume 7">Volume 7</option> <option value="Volume 8">Volume 8</option> <option value="Volume 9">Volume 9</option> <option value="Volume 10">Volume 10</option> <option value="Volume 11">Volume 11</option> </select> </div> </div> <br><br> <div class="form-group"> <label for=" Type" class="control-label col-md-4 col-xs-4">Issue:</label> <div class="col-md- 8 col-xs-8"> <select class="form-control" id="issue" name="issue"> <option value="">select</option> <option value="Issue 1">Issue 1</option> <option value="Issue 2">Issue 2</option> <option value="Issue 3">Issue 3</option> <option value="Issue 4">Issue 4</option> <option value="Issue 5">Issue 5</option> <option value="Issue 6">Issue 6 </option> </select> </div> </div> <br><br> <div class="form-group"> <label for=" Type" class="control-label col-md-4 col-xs-4">Month & year:</label> <div class="col-md-4 col-xs-4"> <select class="form-control" id="month" name="month"> <option value="January - February">January - February</option> <option value="March - April">March - April</option> <option value="May - June">May - June</option> <option value="July - August">July - August</option> <option value="September - October">September - October</option> <option value="November - December">November - December</option> </select> </div><?php $sd=date('Y')-5;$ed=date('Y'); ?> <div class="col-md-4 col-xs-4"> <select class="form-control" id="year" name="year" > <?php for($i=$ed;$i>=$sd;$i--) { echo '<option value="'.$i.'">'.$i.'</option>'; }?> </select> </div> </div> <br><br> <div class="form-group"> <label for="ContactNo" class="control-label col-md-4 col-xs-4">Pdf File</label> <div class="col-md- 8 col-xs-8"> <input type="file" name="pdf" id="pdf"> </div> </div> </div> </div> <div class="tab-pane" id="custom"><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>Abstract : </label> <div class="col-md-12 col-xs-12"> <textarea name="abstract" class="ckeditor"></textarea> </div> </div> </div> <div class="tab-pane" id="messages"> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);"><br><br>Reference : </label> <div class="col-md-12 col-xs-12"> <textarea name="details" class="ckeditor"></textarea> </div> </div> <div class="tab-pane" id="offer"> <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>Keywords : </label> <div class="col-md-12 col-xs-12"> <textarea name="keywords" class="ckeditor"></textarea> </div> </div> </div> <div class="tab-pane" id="status"> <div class="form-group" style="padding-left:30px;height:50px"> <div class="col-md-6 col-xs-6"> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);">MLA Style:</label> <div class="col-md-12 col-xs-12"> <!--<textarea name="mla" class="ckeditor">Author, <i>"Paper Title"</i> SSRG International Journal of Agriculture & Environmental Science 1.1 (<?php echo $year;?>): 1-5.</textarea>--> <textarea name="mla" class="ckeditor">Author. "Paper Title" <i>SSRG International Journal of Agriculture & Environmental Science,</i> vol. 1, no. 1, Month. <?php echo $year;?>, pp. 1-5. </textarea> </div> <div class="form-group"> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);">DOI:</label> <div class="col-md-12 col-xs-12"> <input type="text" class="form-control" name="dio" id="dio" placeholder="" value="10.14445/23942568/"> </div> </div> </div> <div class="col-md-6 col-xs-6"> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);">APA Style:</label> <div class="col-md-12 col-xs-12"> <!-- <textarea name="apa" class="ckeditor">Author,(<?php echo $year;?>). Paper Title. <i>SSRG International Journal of Agriculture & Environmental Science</i> 1(1), 1-5.</textarea>--> <textarea name="apa" class="ckeditor">Author. (<?php echo $year;?>). Paper Title. <i>SSRG International Journal of Agriculture & Environmental Science,</i> 1(1), 1-5. </textarea> </div> <div class="form-group"> <label for=" Type" class="col-md-12 col-xs-12 " style="padding-bottom:10px;color:rgb(76, 158, 217);">Status:</label> <div class="col-md-12 col-xs-12"> <select class="form-control" id="status" name="status" > <option>--- select ---</option> <option value="Active" selected="selected">Active</option> <option value="De-active">De-active</option> </select> </div> </div> </div> </div> <div class="col-md-2 col-xs-12"></div> <div class="col-md-6 col-xs-12"> <center> <table> <tr> <td class="r1"> <button type="submit" name="add_ijaes" id="add_ijaes" value="Save" class="btn btn-success" onclick="return validation()" >save</button> </td> <td class="r1"><a href="ijaes.php"><button type="button" class="btn btn-success" >cancel</button></a></td> </tr> </table> </center> </div> <div class="col-md-4 col-xs-12"></div> </div> </div> </form> </div> </div> </div></div> <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> <script> CKEDITOR.replace( 'abstract' ); CKEDITOR.replace( 'details' ); CKEDITOR.replace( 'keywords' ); CKEDITOR.replace( 'mla' ); CKEDITOR.replace( 'apa' ); $("form").submit( function(e) { var abstractLength = CKEDITOR.instances['abstract'].getData().replace(/<[^>]*>/gi, '').length; var detailsLength = CKEDITOR.instances['details'].getData().replace(/<[^>]*>/gi, '').length; var keywordsLength = CKEDITOR.instances['keywords'].getData().replace(/<[^>]*>/gi, '').length; var mlaLength = CKEDITOR.instances['mla'].getData().replace(/<[^>]*>/gi, '').length; var apaLength = CKEDITOR.instances['apa'].getData().replace(/<[^>]*>/gi, '').length; if( !abstractLength ) { alert( 'Abstract required' ); e.preventDefault(); } else if(!keywordsLength) { alert( 'Keywords required' ); e.preventDefault(); } else if(!detailsLength) { alert( 'Reference required' ); e.preventDefault(); } else if(!mlaLength) { alert( 'MLA required' ); e.preventDefault(); } else if(!apaLength) { alert( 'APA required' ); e.preventDefault(); } else { } }); </script> <?php include("footer.php"); ?>