|
3.4.1 - SpeedCheck Customization (PHP) |
Top Previous Next |
|
Prerequisites
READ THIS: This is advance users only, it is necessary to have PHP coding and debugging experience before proceeding. Our technical support does not support modified source code, do the changes at your own risk.
Header and Footer
The files layout is shown in the following table.
In the /include folder, there is header.php and footer.php that store the HTML for the header graphics, navigation side bar and the footer. You can modify these 2 files for your own customization.
Without Header and Footer
If you do not want the Header and Footer, you can delete the following lines from the PHP files. It is very straight forward.
<?php include("./include/header.php"); ?>
<?php include("./include/footer.php"); ?>
Code can be deleted
In some files, you may see following block. Depending on your needs, it is optional, you may want to delete it.
<!-- ------------------ CAN BE DELETED (BEGIN) ------------------- --> ................................... ................................... <!-- -------------------- CAN BE DELETED (END) --------------------- -->
Code cannot be deleted
When you do your customization, please make sure such script must be NOT BE DELETED.
<script language="javascript">
// ---------- DO NOT REMOVE THIS JAVASCRIPT ------------ // NOTE : This is for preventing "back button" from being pressed // // - If "Back" button is pressed from the reporting page, it // resets Java Applet session but caching PHP page. This // would be very confusing to the users if "Back" button is allowed. // ---------- DO NOT REMOVE THIS JAVASCRIPT ------------
window.history.forward(-1); </script>
|