require_once('inc/App.php'); $app = new App(); $baseHREF = $app->get_base_href(); $params = $app->get_request_params(); $holiday = (isset($params) && !empty($params[0])) ? $app->remove_trailing_slash($params[0]) : 'christmas' ; $cardID = (isset($params) && !empty($params[1])) ? $app->remove_trailing_slash($params[1]) : 1 ; $meta_desc = ($holiday !== 'trailer') ? $app->data[$holiday]['desc'] : $app->data['default']['desc'] ; $meta_image = ($holiday !== 'trailer') ? $app->data[$holiday]['image'][$cardID] : $app->data['default']['image']; $dataJSON = $app->data_to_json(); echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; ?>