2 <div class="row-fluid sortable ui-sortable">
3 <div class="box col-md-9">
4 <div class="panel panel-default">
5 <div class="panel-heading" data-original-title="">
6 <span class="icon-user"></span> Profile of {$target_name}
8 <div class="panel-body">
9 <div class="row-fluid">
11 <table class="table table-striped" >
14 <td><strong>Email:</strong></td>
19 <td><strong>Role:</strong></td>
21 {if $userPermission eq 1}<span class="label label-success">User</span>{/if}
22 {if $userPermission eq 2}<span class="label label-warning">Moderator</span>{/if}
23 {if $userPermission eq 3}<span class="label label-important">Admin</span>{/if}
26 {if $firstName neq ""}
28 <td><strong>Firstname:</strong></td>
34 <td><strong>LastName:</strong></td>
40 <td><strong>Country:</strong></td>
46 <td><strong>Gender:</strong></td>
48 <td><strong>♂</strong></td>
49 {else if $gender eq 2}
50 <td><strong>♀</strong></td>
61 <div class="box col-md-3">
62 <div class="panel panel-default">
63 <div class="panel-heading" data-original-title="">
64 <span class="icon-th"></span>Actions
66 <div class="panel-body">
67 <div class="row-fluid">
68 <div class="btn-group">
69 <button class="btn btn-primary btn-large dropdown-toggle" data-toggle="dropdown">Actions<span class="caret"></span></button>
70 <ul class="dropdown-menu">
71 <li class="divider"></li>
72 <li><a href="index.php?page=settings&id={$target_id}">Edit User</a></li>
73 <li><a href="index.php?page=createticket&user_id={$target_id}">Send Ticket</a></li>
74 <li class="divider"></li>
75 {if isset($isAdmin) and $isAdmin eq 'TRUE' and $target_id neq 1}
76 {if $userPermission eq 1}
77 <li><a href="index.php?page=change_permission&user_id={$target_id}&value=2">Make Moderator</a></li>
78 <li><a href="index.php?page=change_permission&user_id={$target_id}&value=3">Make Admin</a></li>
79 {else if $userPermission eq 2 }
80 <li><a href="index.php?page=change_permission&user_id={$target_id}&value=1">Demote to User</a></li>
81 <li><a href="index.php?page=change_permission&user_id={$target_id}&value=3">Make Admin</a></li>
82 {else if $userPermission eq 3 }
83 <li><a href="index.php?page=change_permission&user_id={$target_id}&value=1">Demote to User</a></li>
84 <li><a href="index.php?page=change_permission&user_id={$target_id}&value=2">Demote to Moderator</a></li>
86 <li class="divider"></li>
97 <div class="row-fluid sortable ui-sortable">
98 <div class="box col-md-9">
99 <div class="panel panel-default">
100 <div class="panel-heading" data-original-title="">
101 <span class="icon-tag"></span> Tickets of {$target_name}
103 <div class="panel-body">
104 <div class="row-fluid">
105 <legend>Tickets</legend>
106 <table class="table table-striped table-bordered bootstrap-datatable datatable">
117 {foreach from=$ticketlist item=ticket}
119 <td>{$ticket.tId}</td>
120 <td><a href ="index.php?page=show_ticket&id={$ticket.tId}">{$ticket.title}</a></td>
121 <td class="center"><i>{$ticket.timestamp}</i></td>
122 <td class="center">{$ticket.category}</td>
124 <td class="center"><span class="label {if $ticket.status eq 0}label-success{else if $ticket.status eq 1}label-warning{else if $ticket.status eq 2}label-important{/if}">{if $ticket.status eq 0} <span class="icon-exclamation-sign icon-white"></span>{/if} {$ticket.statusText}</span></td>