Subversion-Projekte lars-tiefland.ci

Revision

Revision 238 | Revision 422 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php

/**
 * @author Lars Tiefland
 * @copyright 2016
 */

class Order extends CI_Controller
{
        public function __construct()
        {
                parent::__construct();
        }

        public function index()
        {
                $step = $this->input->post('step');
                if (!$step)
                {
                        $step = 1;
                }
                switch ($step)
                {
                        case 1:
                                $userData = $this->input->post();
                                break;
                }
                $_SESSION['SHOP']['buy']['step'] = $step;
                $this->smarty->view('buy.tpl');
        }

        public function save()
        {

        }
}

?>