Example #1
0
?>
">
                                    <a class="text-danger" href="list?in" id="d_label_1"><?php 
echo get_total_tickets_free();
?>
</a>
                                </strong><br><small><i class="fa fa-download"></i> <?php 
echo lang('DASHBOARD_ticket_in');
?>
	</small>	</center></div>

                        <div class="col-md-4 col-xs-4"><center>	<strong class="text-warning" style="font-weight: bold; font-style: normal; font-variant: normal; font-size: 20px;" data-toggle="tooltip" data-placement="top" title="<?php 
echo lang('DASHBOARD_ticket_lock_desc');
?>
" id="d_label_2"><?php 
echo get_total_tickets_lock();
?>
</strong><br><small><i class='fa fa-lock'></i> <?php 
echo lang('DASHBOARD_ticket_lock');
?>
 </small>	</center></div>

                        <div class="col-md-4 col-xs-4"><center>	<strong class="text-primary" style="font-weight: bold; font-style: normal; font-variant: normal; font-size: 20px;" data-toggle="tooltip" data-placement="top" title="<?php 
echo lang('DASHBOARD_ticket_out_desc');
?>
"><a class="text-primary" href="list?out" id="d_label_3"><?php 
echo get_total_tickets_out_and_success();
?>
</a></strong><br><small><i class="fa fa-upload"></i>  <?php 
echo lang('DASHBOARD_ticket_out');
?>
Example #2
0
<tr>
                    <td style="width: 200px;"><small><?php 
                        echo name_of_user_ret($row['id']);
                        ?>
</small></td>
                    <td style=""><small class="text-danger"><center><?php 
                        echo get_user_status($row['id']);
                        ?>
</center></small></td>
                    <td style=""><small class="text-danger"><center><?php 
                        echo get_total_tickets_free($row['id']);
                        ?>
</center></small></td>
                    <td style=""><small class="text-warning"><center><?php 
                        echo get_total_tickets_lock($row['id']);
                        ?>
</center></small></td>
                    <td style=""><small class="text-success"><center><?php 
                        echo get_total_tickets_ok($row['id']);
                        ?>
</center></small></td>
                    <td style=""><small class=""><center><?php 
                        echo get_total_tickets_out($row['id']);
                        ?>
</center></small></td>
                    <td style=""><small class=""><center><?php 
                        echo get_total_tickets_out_and_success($row['id']);
                        ?>
</center></small></td>
</tr>
Example #3
0
                 </div>
             </div>
         </div>
     <?php 
     }
 }
 if ($mode == "get_unit_id") {
     $uid = $_POST['uid'];
     $u = unit_of_user($uid);
     $units = explode(",", $u);
     echo $units[0];
 }
 if ($mode == "get_ticket_body") {
 }
 if ($mode == "update_dashboard_labels") {
     $results[] = array('a' => get_total_tickets_free(), 'b' => get_total_tickets_lock(), 'c' => get_total_tickets_out_and_success());
     print json_encode($results);
 }
 if ($mode == "update_list_labels") {
     $newt = get_total_tickets_free();
     if ($newt != 0) {
         $newtickets = "(" . $newt . ")";
     }
     if ($newt == 0) {
         $newtickets = "";
     }
     $outt = get_total_tickets_out_and_success();
     if ($outt != 0) {
         $out_tickets = "(" . $outt . ")";
     }
     if ($outt == 0) {