]> git.mxchange.org Git - mailer.git/blobdiff - surfbar.php
Banner place added for sleeping surfbar
[mailer.git] / surfbar.php
index d2f943308d0dfe495eaeb5b11ab45b8b8b5887dd..be53f0094c9385af0045926a29685bc7acbd58ed 100644 (file)
@@ -64,7 +64,17 @@ 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");
+
+                       // Load banner
+                       OUTPUT_HTML("<br />");
+                       LOAD_TEMPLATE("surfbar_start_banner");
+               } 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']);