Просмотр файла index.php
<?php require_once ('inc/db.php'); require_once ('inc/fnc.php'); require_once ('inc/header.php'); //Подключаем шаблон главной страницы #Выбираем версию главной страницы if($Core_Version==wap){require_once ('template/Main/index.tpl');} else{require_once ('template/Main/Web_index.tpl');} // #Ноги главной страницы require_once ('inc/footer.php'); ?>