} // END - if
// Is there a check value?
- if (SURFBAR_CHECK_RELOAD_FULL()) {
+ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isset($_GET['frame'])) && ($_GET['frame'] == "stop"))) {
// Reload-lock is full, surfbar stopped so...
// Load header
require_once(PATH."inc/header.php");
// Check if reload is full
if (SURFBAR_CHECK_RELOAD_FULL()) {
// Then load waiting page
- LOAD_URL("surfbar.php?frame=start");
+ LOAD_URL("surfbar.php?frame=stop");
} // END - if
} else {
- // Reload to start frame!
- LOAD_URL("surfbar.php?frame=start");
+ // Reload to stop frame!
+ LOAD_URL("surfbar.php?frame=stop");
}
// All done, so fix notice for footer.php
require_once(PATH."inc/header.php");
// Load that template
+ //* DEBUG: */ die("templateName={$templateName}<br />\n<strong>content</strong>=<pre>".print_r($content, true)."</pre>");
LOAD_TEMPLATE($templateName, false, $content);
}