//$c->_model->_print($currentPage); if ($currentPage['id'] == '') { $lang = $arrUrl['link']; $checksLang = $c->_model->_language($lang); if (count($checksLang) != 0) { include_once 'pageHome.php'; return true; } $error = ERROR_NOT_FOUND_PAGE . $arrUrl['link']; include_once 'view/web_error.php'; return false; } $lang = $currentPage['lang']; $config = $c->config($lang); $language_var = $c->_model->_language_var($lang); $urlImg = $c->webType(); if ($currentPage['properties'] == 1) { $fileView = "web_{$currentPage['type']}_list.php"; } else { if ($currentPage['properties'] == 2) { $menu = $c->headerMenu($currentPage['menu_id']); $rowDetail = $c->_model->_content($currentPage['id']); if (count($rowDetail) == 0) { $error = ERROR_NOT_FOUND_PAGE . $arrUrl['page']; include_once 'view/web_error.php'; return false; } $fileView = "web_{$currentPage['type']}_detail.php"; } } if ($arrUrl['page'] == 1) {