コード例 #1
0
ファイル: commsy.php プロジェクト: a2call/commsy
            include_once 'pages/copies_index.php';
        }
        if ($current_function != 'edit' and isset($_GET['attach_view']) and $_GET['attach_view'] == 'yes' and isset($_GET['attach_type']) and !empty($_GET['attach_type'])) {
            switch ($_GET['attach_type']) {
                case 'buzzword':
                    include_once 'pages/buzzword_attach.php';
                    break;
                case 'tag':
                    include_once 'pages/tag_attach.php';
                    break;
                case 'item':
                    include_once 'pages/item_attach.php';
                    break;
            }
        }
        $password_param = $environment->getValueOfParameter('cs_modus');
        if (!empty($password_param) and $password_param == 'password_change') {
            include_once 'pages/user_password_overlay.php';
        }
    }
}
/*********** SMARTY OUTPUT **********/
global $c_smarty;
if (isset($c_smarty) && $c_smarty === true) {
    try {
        //$smarty->display($tpl, $environment->getOutputMode());
    } catch (Exception $e) {
        die($e->getMessage());
    }
} else {
    /************************************/