View file bestwap_news/admin/cfg.php
<? if (@$pass!='password') exit; ///пароль админа include "lang.inc.php"; $DB_HOST = "localhost"; $DB_USER = ""; /// юзер базы $DB_PASS = ""; /// пароь базы $DB_NAME = ""; /// имя базы function gettime() { $part_time = explode(' ', microtime()); $real_time = $part_time[1].substr($part_time[0], 1); return $real_time; } mysql_connect($DB_HOST,$DB_USER,$DB_PASS); mysql_select_db($DB_NAME); $lim=5; ?>