There was a task to raise the site. There is FTP access, but to configure nginx you need to understand which CMS or Framework is being used. Automatic recognition of the site's engine via itrack.ru did not produce results. Here is the code index.php
<?php include('include/head.php'); $TITLE = c_utils::$config['site_name_full']; $KEYWORDS = c_utils::$config['keywords']; $METADESC = c_utils::$config['metadesc']; //--------- Новости --------- require(PATH_CLASS.'news.php'); $ntree = new CDBTree($utils, $utils->DBT['nstruct'], $utils->DBT['ncat'], 'idcat', array('left' => 'cleft', 'right' => 'cright', 'level' => 'clevel')); $nstruct = new c_struct($ntree, $utils->DBT['nstruct'], $utils->DBT['ncat']); $nstruct->sql_connect(); $news = new c_news($utils->DBT['news'], $utils->DBT['ncat'], $utils->DBT['news_media'], $utils->DBT['media'], 'idnews'); $news->sql_connect(); $res_news = $news->news_list( 1, 1, 0, 1, '', date('dmY', c_utils::now()), '', c_utils::$config['npp_main'] ); //--------------------------- include(PATH_TEMPLATES.'index.php'); ?> And this is the folder structure inside www
