| Line 260... |
Line 260... |
| 260 |
<?php if (isLoggedIn()) { ?>
|
260 |
<?php if (isLoggedIn()) { ?>
|
| 261 |
<li class="nav-item">
|
261 |
<li class="nav-item">
|
| 262 |
<button type="submit" name="submit" value="coupons" class="nav-link btn">Coupons</button>
|
262 |
<button type="submit" name="submit" value="coupons" class="nav-link btn">Coupons</button>
|
| 263 |
</li>
|
263 |
</li>
|
| 264 |
<li class="nav-item">
|
264 |
<li class="nav-item">
|
| 265 |
<button type="submit" name="submit" value="wishlist" class="nav-link btn">Wishlist</button>
|
265 |
<button type="submit" name="submit" value="wishlist" class="nav-link btn">Wishlist
|
| - |
|
266 |
<?php if (!empty($_SESSION['priceMonitor']['newFlag']) && $_SESSION['priceMonitor']['newFlag'] === true) { echo '<scan class="badge badge-pill badge-light">New</scan>'; } ?>
|
| - |
|
267 |
</button>
|
| 266 |
</li>
|
268 |
</li>
|
| 267 |
<?php
|
269 |
<?php
|
| 268 |
} ?>
|
270 |
} ?>
|
| 269 |
<li class="nav-item">
|
271 |
<li class="nav-item">
|
| 270 |
<button type="submit" name="submit" value="terms" class="nav-link btn">Terms of Service</button>
|
272 |
<button type="submit" name="submit" value="terms" class="nav-link btn">Terms of Service</button>
|
| Line 322... |
Line 324... |
| 322 |
echo file_get_contents('snippets/headerWishlist.txt');
|
324 |
echo file_get_contents('snippets/headerWishlist.txt');
|
| 323 |
if (!empty($_SESSION['priceMonitor'])) {
|
325 |
if (!empty($_SESSION['priceMonitor'])) {
|
| 324 |
?>
|
326 |
?>
|
| 325 |
<form method="post" action="/index.php">
|
327 |
<form method="post" action="/index.php">
|
| 326 |
<input type="hidden" name="sessionTab" value="<?php echo MySessionHandler::getSessionTab(); ?>">
|
328 |
<input type="hidden" name="sessionTab" value="<?php echo MySessionHandler::getSessionTab(); ?>">
|
| 327 |
<button id="priceMonitor" type="submit" class="btn btn-success rounded" name="submit" value="priceMonitor">Price Monitor Results</button>
|
329 |
<button id="priceMonitor" type="submit" class="btn btn-success rounded" name="submit" value="priceMonitor">Price Monitor Results
|
| - |
|
330 |
<?php if (!empty($_SESSION['priceMonitor']['newFlag']) && $_SESSION['priceMonitor']['newFlag'] === true) { echo '<scan class="badge badge-pill badge-dark">New</scan>'; } ?>
|
| - |
|
331 |
</button>
|
| 328 |
</form>
|
332 |
</form>
|
| 329 |
<?php
|
333 |
<?php
|
| 330 |
}
|
334 |
}
|
| 331 |
}
|
335 |
}
|
| 332 |
else if (getPGV('submit') == "priceMonitor") {
|
336 |
else if (getPGV('submit') == "priceMonitor") {
|