Просмотр файла dl/system/db.php

Размер файла: 2.21Kb
<?php
#********************************** AgS MOD DOWNLOAD CENTR SEA *************************************#
#***************************************************************************************************#
#  /||||||||||||||| *********************  /||||||||||||||| *********************  /||||||||||||||| #
# | ||||||||||||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# | |||||/////||||| ********************* | |||||/////////  ********************* | |||||/////////  #
# | |||||   | ||||| ****** E-MAIL ******* | |||||           ****** WAP/WEB ****** | |||||           #
# | |||||   | ||||| *** [email protected] *** | |||||           * http://ags.h2m.ru * | ||||||||||||||| #
# | |||||   | ||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# | |||||   | ||||| ********************* | |||||/////||||| ********************* |///////////||||| #
# | ||||||||||||||| ****** SKYPE ******** | |||||   | ||||| ***** MOD AUTHOR ****           | ||||| #
# | |||||////|||||| ***** agrizz15 ****** | |||||   | ||||| ***** Agris Cišs ****  /||||||||||||||| #
# | |||||   | ||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# |/////    |/////  ********************* |///////////////  ********************* |///////////////  #
#***************************************************************************************************#
#********************************* MOD by AgS in 2010 @ LATVIA *************************************#


mysql_connect($MY_serveris, $MY_DB, $MY_PW) or die('NAV savienojuma ar MySQL serveri!<br>');
mysql_select_db($MY_DB_user) or die('NAV savienojuma ar MySQL lietotaju!<br>');

//if(mysql_connect($MY_serveris, $MY_DB, $MY_PW) && mysql_select_db($MY_DB_user)){


//}elseif(file_exists(BASE."INSTALL.php") && empty($setup['adpass']) && empty($setup['adnick']) && empty($setup['installs'])){
//header ("Location: ".BASE."INSTALL.php?".SID); exit;}

mysql_query('SET NAMES `utf8`');

$setting = mysql_query('SELECT * FROM `'.$MY_pre.'iestatijumi`');
while ($set = mysql_fetch_assoc($setting)) {
$setup[$set['name']] = $set['value'];}

$mudaki = $setup['hackmess'];
mb_internal_encoding('UTF-8');

?>