* * /portfolio/command/ Ajax -> POST * * * * * */ $portal = lms_portal::get_instance(); $portal->initialize(GUEST_NOT_ALLOWED); $user = lms_steam::get_current_user(); $portal->set_page_title(gettext("My Portfolio")); //$content = new HTML_TEMPLATE_IT(); //$content->loadTemplateFile( PORTFOLIO_PATH_TEMPLATES . "index.template.html" ); // start working $portfolios = portfolio::get_my_portfolios(); if (empty($portfolios) && empty($_GET)) { if (isset($_GET["context"]) && $_GET["context"] == "init") { portfolio::init(); } $portfolio_html = new portfolio_html_welcome(); } else { if (!isset($_GET["context"])) { $portfolio_html = new portfolio_html_start(isset($_GET["path"]) ? $_GET["path"] : ""); } else { if ($_GET["context"] == "artefacts") { $portfolio_html = new portfolio_html_artefacts(isset($_GET["path"]) ? $_GET["path"] : ""); } else { if ($_GET["context"] == "manage") { $portfolio_html = new portfolio_html_manage(isset($_GET["path"]) ? $_GET["path"] : ""); } else {