| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/Helpdesk/application/views/users/ |
Upload File : |
<?php if (!defined("SYSTEM")) die();?>
<div class="container main m-b-50">
<div class="row">
<div class="col-sm-12">
<h2>Διαχείριση Χρηστών</h2>
<div class="text-right m-b-30">
<a href="<?php echo APP_BASE?>users/adduser/" class="btn btn-primary"><span class="glyphicon glyphicon-plus m-r-5"></span>Νέος χρήστης</a>
</div>
<table class="table table-striped table-hover dataTable js-exportable-ordered">
<thead>
<tr class="bg-blue-grey">
<th class="no_sort"></th>
<th class="printable">ΟΝΟΜΑΤΕΠΩΝΥΜΟ</th>
<th class="printable">ΡΟΛΟΣ</th>
<th class="printable">ΟΝΟΜΑ ΧΡΗΣΤΗ</th>
<th class="no_sort"></th>
</tr>
</thead>
<tbody>
<?php if ($users){ ?>
<?php foreach ($users as $user){?>
<tr>
<td class="text-center"></td>
<td><?php echo $user->fullname ?></td>
<td><?php echo ($user->usergroup==1?"Διαχειριστής":"Χρήστης") ?></td>
<td><?php echo $user->username ?></td>
<td><ul class="header-dropdown"><li class="dropdown"><a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon glyphicon-cog col-blue-grey"></span></a><ul class="dropdown-menu pull-right"><li><a href="<?php echo APP_BASE?>users/edituser/<?php echo $user->id?>/" class="edit"><span class="glyphicon glyphicon glyphicon-pencil"></span>Επεξεργασία</a></li><?php if ($user->id!=$_SESSION["userid"]) { ?><li><a class="remove" href="<?php echo APP_BASE . 'users/deleteuser/' . $user->id; ?>"><span class="glyphicon glyphicon glyphicon glyphicon-trash"></span>Διαγραφή</a></li><?php } ?></ul></li></ul></td>
</tr>
<?php } ?>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>