[size=16]1 -[/size] Disable/Delete
css_server_panel if you have it enabled.
[size=16]2 - [/size]Open
css_server_panel.php, replace(line #18)
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]if (!defined("IN_FUSION"
) { die("Access Denied"
; }[/syntaxhighlighter]
with
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]require_once "../../maincore.php";[/syntaxhighlighter]
Remove following lines:
(line #32)
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]opentable("Server Status"
;[/syntaxhighlighter]
(line #46)
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]closetable();[/syntaxhighlighter]
[size=16]3 -[/size] Create a new panel and add this code
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]?>
<script type="text/javascript">
$(document).ready(function() {
$("#server_status"
.load("<?php echo INFUSIONS."css_server_panel/css_server_panel.php" ?>"
;
var seconds = 10000; // 10 sec. time to refresh server panel
var refreshId = setInterval(function() {
$("#server_status"
.load("<?php echo INFUSIONS."css_server_panel/css_server_panel.php" ?>"
;
}, seconds);
});
</script>
<?php
//The panel
opentable("Server Status"
;
echo "<div id='server_status'></div>";
closetable();[/syntaxhighlighter]
Save the panel and enable it. Done!
If you get some error about the infusion open
infusion.php and replace(line #43)
TYPE=MyISAM with
ENGINE=MyISAM.
For assistance with infusions like these you should contact the original authors.