Subversion Repositories cheapmusic

Rev

Rev 143 | Rev 153 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 143 Rev 151
Line 158... Line 158...
158
    } else if ($_POST["submitBtn"] == "unsubscribe") {
158
    } else if ($_POST["submitBtn"] == "unsubscribe") {
159
// bugbug
159
// bugbug
160
    }
160
    }
161
}
161
}
162
else if ($_SERVER["REQUEST_METHOD"] == "GET") {
162
else if ($_SERVER["REQUEST_METHOD"] == "GET") {
-
 
163
    $_GET["submitBtn"] = $_GET["submit"] ?? "";
163
    buildDiscogsSearchTerm();
164
    buildDiscogsSearchTerm();
164
    if (!empty($_SESSION["searchTerm"])) {
165
    if (!empty($_SESSION["searchTerm"])) {
165
/*
166
/*
166
        $xh->insert_code(printProgessbarModal());
167
        $xh->insert_code(printProgessbarModal());
167
        $xh->add_attribute('nonce', base64_encode($_SESSION["nonce"]));
168
        $xh->add_attribute('nonce', base64_encode($_SESSION["nonce"]));
Line 204... Line 205...
204
            $xh->tag('button', "Price Monitor Results");
205
            $xh->tag('button', "Price Monitor Results");
205
            if (!empty($_SESSION['priceMonitor']['newFlag']) && $_SESSION['priceMonitor']['newFlag'] === true) {
206
            if (!empty($_SESSION['priceMonitor']['newFlag']) && $_SESSION['priceMonitor']['newFlag'] === true) {
206
                $xh->add_attribute("class", "badge badge-pill badge-dark");
207
                $xh->add_attribute("class", "badge badge-pill badge-dark");
207
                 $xh->tag('span', "New");
208
                 $xh->tag('span', "New");
208
            }
209
            }
209
            $xh->close(); // button
-
 
210
        $xh->close(); // form
210
        $xh->close(); // form
211
    }
211
    }
212
} else if (getPGV('submitBtn') == "priceMonitor") {
212
} else if (getPGV('submitBtn') == "priceMonitor") {
213
    $xh->tag('h1', "Price Monitor Results");
213
    $xh->tag('h1', "Price Monitor Results");
214
} else if (getPGV('submitBtn') == "help") {
214
} else if (getPGV('submitBtn') == "help") {