| Line 286... |
Line 286... |
| 286 |
echo file_get_contents('snippets/terms.txt');
|
286 |
echo file_get_contents('snippets/terms.txt');
|
| 287 |
} else if (getPGV('submit') == "privacy") {
|
287 |
} else if (getPGV('submit') == "privacy") {
|
| 288 |
echo file_get_contents('snippets/privacy.txt');
|
288 |
echo file_get_contents('snippets/privacy.txt');
|
| 289 |
} else if (getPGV('submit') == "coupons") {
|
289 |
} else if (getPGV('submit') == "coupons") {
|
| 290 |
echo file_get_contents('snippets/coupons.txt');
|
290 |
echo file_get_contents('snippets/coupons.txt');
|
| - |
|
291 |
} else if (getPGV('submit') == "random") {
|
| - |
|
292 |
findDiscogsMaster("***RANDOM***");
|
| - |
|
293 |
echo $_SESSION["discogs"];
|
| 291 |
} else {
|
294 |
} else {
|
| 292 |
if ($_SESSION["lowestPrice"]["All"] > 0.00 || !empty($_SESSION["searchTerm"])) {
|
295 |
if ($_SESSION["lowestPrice"]["All"] > 0.00 || !empty($_SESSION["searchTerm"])) {
|
| 293 |
echo $_SESSION["discogs"];
|
296 |
echo $_SESSION["discogs"];
|
| 294 |
echo "<div id=\"productTable\">";
|
297 |
echo "<div id=\"productTable\">";
|
| 295 |
echo printTableHeader();
|
298 |
echo printTableHeader();
|
| 296 |
echo buildTable();
|
299 |
echo buildTable();
|
| 297 |
echo "</div>";
|
300 |
echo "</div>";
|
| - |
|
301 |
} else { ?>
|
| - |
|
302 |
<div class="container-fluid text-center">
|
| - |
|
303 |
<form method="post" action="/index.php">
|
| - |
|
304 |
<input type="hidden" name="sessionTab" value="<?php echo MySessionHandler::getSessionTab(); ?>">
|
| - |
|
305 |
<input type="hidden" name="searchTerm" value="<?php echo getSV("searchTerm") ?>">
|
| - |
|
306 |
<input type="hidden" name="buyerZip" value="<?php echo $_SESSION["buyer"]["Zip"];?>">
|
| - |
|
307 |
<button id="randomBtn" type="submit" class="btn btn-success m-2 rounded" name="submit" value="random">Find Random Album Suggestions</button>
|
| - |
|
308 |
</form>
|
| - |
|
309 |
</div>
|
| 298 |
}
|
310 |
<?php }
|
| 299 |
echo printSearchFilterModal();
|
311 |
echo printSearchFilterModal();
|
| 300 |
echo printSearchInfoModal();
|
312 |
echo printSearchInfoModal();
|
| 301 |
}
|
313 |
}
|
| 302 |
?>
|
314 |
?>
|
| 303 |
|
315 |
|
| Line 340... |
Line 352... |
| 340 |
<p>Copyright © <?php echo @date("Y"); ?> FindCheapMusic.com. All rights reserved.</p>
|
352 |
<p>Copyright © <?php echo @date("Y"); ?> FindCheapMusic.com. All rights reserved.</p>
|
| 341 |
</footer>
|
353 |
</footer>
|
| 342 |
|
354 |
|
| 343 |
<script src="/js/dr.min.js" integrity="sha384-6b/qg037L3Pi1Zf0NJdqziqzUHz7OzA2FHa9zzmlX6hhC6LWfKtw/hDzHgLC65aV" crossorigin="anonymous"></script>
|
355 |
<script src="/js/dr.min.js" integrity="sha384-6b/qg037L3Pi1Zf0NJdqziqzUHz7OzA2FHa9zzmlX6hhC6LWfKtw/hDzHgLC65aV" crossorigin="anonymous"></script>
|
| 344 |
<script>var quotes = [
|
356 |
<script>var quotes = [
|
| 345 |
<?php
|
357 |
<?php
|
| 346 |
if ($file = fopen("snippets/header.txt", "r")) {
|
358 |
if ($file = fopen("snippets/header.txt", "r")) {
|
| 347 |
while (($line = fgets($file)) !== false) {
|
359 |
while (($line = fgets($file)) !== false) {
|
| 348 |
echo "\"" . trim($line) . "\",";
|
360 |
echo "\"" . trim($line) . "\",";
|
| 349 |
}
|
361 |
}
|
| 350 |
fclose($file);
|
362 |
fclose($file);
|