Server IP : 92.204.138.22 / Your IP : 3.149.234.9 Web Server : Apache System : Linux ns1009439.ip-92-204-138.us 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 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/www/application/admin1/ |
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 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( paper_id ===''){ alert("Paper Id 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( 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 New IJCSE</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> IJCSE 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" 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 Computer Science and Engineering" 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 > </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"> <textarea class="form-control" name="title" id="title" style="width: 330px; height: 200px;" placeholder="Journal Title" autocomplete="off" ></textarea> </div> </div> <br><br> <br><br><br><br> <br><br><br><br> <br><br><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" placeholder="Authors" autocomplete="off" 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">Volume:</label> <div class="col-md- 8 col-xs-8"> <select class="form-control" id="volume" name="volume" required> <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> </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" required> <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> <option value="Issue 7">Issue 7</option> <option value="Issue 8">Issue 8</option> <option value="Issue 9">Issue 9</option> <option value="Issue 10">Issue 10</option> <option value="Issue 11">Issue 11</option> <option value="Issue 12">Issue 12</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" required> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</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" required > <?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" required > </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 rows="16" cols="100" name="abstract" style="width: 600px; height: 300px;"></textarea> </div> </div> </div> <div class="tab-pane" id="messages"> <!-- <style> table{margin-top:10px;} .r1 { padding-top:10px; padding-left:20px; text-center; } .he { padding-left:20px; padding-top:20px; text-center; } </style> <table class="addroom table-bordered" style="width:100%"> <tr> <th>No</th><th class="he">Reference</th> <th class="he"></th> </tr> <tr > <td class="r1" >1</td> <td class="r1" ><textarea class="form-control" rows="3" name="details[]" id="details" placeholder=" Reference details"></textarea></td> <td></td></tr> </table> <center> <button type="submit" class="btn btn-success add-author" >Add Reference</button></center> --><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" style="width: 800px; height: 400px;"></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 style="width: 600px; height: 300px;" name="keywords"></textarea> </div> </div> </div> <div class="tab-pane" id="status"> <div class="form-group" style="padding-left:30px;"> <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 style="width: 350px; height: 150px;" name="mla" >Author <i>"Paper Title"</i> DS Journal of Engineering 1.1 (2018): 1-5.</textarea> </div> <br> </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 style="width: 350px; height: 150px;" name="apa" >Author, (2018). Paper Title.<i> DS Journal of Engineering,</i> 1(1), 1-5.</textarea> </div> </div> </div> <div class="col-md-6 col-xs-12"> <br><br> <div class="form-group"> <label for=" Name" class="control-label col-md-3 col-xs-3">DOI:</label> <div class="col-md-8 col-xs-8"> <input type="text" class="form-control" name="dio" value="10.14445/23488387/" id="dio" placeholder="" > </div> </div> <br><br> <div class="form-group"><br><br> <label for=" Type" class="control-label col-md-3 col-xs-3">Status:</label> <div class="col-md-8 col-xs-8"> <select class="form-control" id="status" name="status" required> <option>select</option> <option value="Active">Active</option> <option value="De-active">De-active</option> </select> </div> </div> <br><br><br> <div class="row" style="padding-top:50px;"> <!-- start fourth row --> </div> </div><div class="col-md-6 col-xs-12"> <center> <br><br><br><br> <table> <tr> <td class="r1"> <button type="submit" name="add_ijcse" value="Save" class="btn btn-success" onclick="validation()" >save</button> </td> <td class="r1"><a href="dsje.php"><button type="button" class="btn btn-success" >cancel</button></a></td> </tr> </table> </center> </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> <?php include("footer.php"); ?>