public function why_us_enemies_buying_all_gold() { if (APCTool::checkCache()) { $this->_return = self::CACHE; exit; } $this->setPage('streetweb/why_us_enemies_buying_gold.html.twig'); $ep = EventTool::getTimePos(time()); if ($ep == EventTool::BEFORE) { $url = 'http://www.caseyresearch.com/go/bxg4T/CSR'; $thumb = 'http://d15s74raupkmp7.cloudfront.net/sites/streetgold-event/images/webinar-crofthumb75.png'; $copy = '<strong>And for just $75 for a one-year membership</strong> – 41% discount – you literally make up the cost and are in the black on your very first gold purchase.'; } else { $url = $url = 'http://www.caseyresearch.com/go/bxg71/CSR'; $thumb = 'http://d15s74raupkmp7.cloudfront.net/sites/streetgold-event/images/webinar-crofthumb79.png'; $copy = '<strong>And for just $79 for a one-year membership</strong> – a savings of $50 off the normal price – you literally make up the cost and are in the black on your very first gold purchase.'; } $this->set('cr', true); $this->set('url', $url); $this->set('thumb', $thumb); $this->set('copy', $copy); }
public function clear_all() { APCTool::clearCache(); header("Location: " . PageTool::getSiteRoot()); exit; }