Start of surfbar slowed down by halt second
[mailer.git] / surfbar.php
index d2f943308d0dfe495eaeb5b11ab45b8b8b5887dd..56bcf8ccf75403d0f51ce3c2d04c508afb21b466 100644 (file)
@@ -64,7 +64,13 @@ if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_install
                require_once(PATH."inc/header.php");
 
                // Load template
-               LOAD_TEMPLATE("surfbar_stopped");
+               if ((isset($_GET['frame'])) && ($_GET['frame'] == "start")) {
+                       // Load template for "start" page
+                       LOAD_TEMPLATE("surfbar_frame_start");
+               } else {
+                       // Load template for stopped surfbar
+                       LOAD_TEMPLATE("surfbar_stopped");
+               }
        } elseif ((isset($_GET['check'])) && (isset($_GET['id'])) && (isset($_GET['salt']))) {
                // Dummy next id get
                SURFBAR_GET_NEXT_ID($_GET['id']);