confirm_order($_GET['test']); die(); } if(!empty($_GET['action']) && $_GET['action'] == 'ecard_form') { $center = new center_c(); $center->ecard_form(); die(); } ob_start(); session_start(); $action = (isset($_GET['action']))? $_GET['action'] : 'index'; $account = new account(); $id = ($account->is_logged())? $account->get_id() : $account->visit(); # id uzytkownika zalogowanego lub niezalogowanego $is_logged = $account->is_logged(); $email_logged = $account->get_name(); $basket_model = new basket_model(); $basket_summary = $basket_model->get_summary($id, $is_logged); $header = new header_c($is_logged, $id, $basket_summary); $header->index(); $center = new center_c($is_logged, $id, $basket_summary, $email_logged, core::$firm['freeDelivery']); $center->$action(); $bottom = new bottom_c(); $bottom->index(); $footer = new footer_c($time); $footer->index(); if($email_logged == 'ronaldo') { # echo '('.$_GET['action'].')
'; # echo '('.HTTPS.')
'; } $time->get(); ob_end_flush();