} // если печатаем страницу if (isset($_GET['action']) and $_GET['action'] == "print") { require HOST . "/ctrl/print/print.php"; exit; } if (DEBUG_SITE == 1) { error_reporting(E_ALL); ini_set('display_errors', 1); } if (DEBUG_SITE == 1) { // время $profiler->enterSection('center'); } // выводим контентовую часть $_str = general::center(); if (DEBUG_SITE == 1) { // время $profiler->leaveSection('center'); } /* * данный блок используется ЕСЛИ НЕОБХОДИМО ПОДСТАВЛЯТЬ НЕСКОЛЬКО ШАБЛОНОВ (начало) */ // подставляем необходимый шаблон /* $name_file="/tpl/index_full.tpl.html"; if (isset($_GET['action'])) { switch ($_GET['action']) {