Just a simple one today to show you how to get the ticket page to automatically refresh itself every n seconds:
scp/tickets.php
Insert the following just after the requires at the top of the file:
1 2 3 4 | define( 'MAIN_PAGE' ,1); if (defined( 'MAIN_PAGE' ) && !isset( $_GET [ 'id' ]) && !isset( $_GET [ 'status' ]) && !isset( $_GET [ 'a' ])) { echo "<meta http-equiv='refresh' content='60'>" ; } |
*60 seconds is my recommendation, you can of course change this number as desired.