Просмотр файла mch-lib/sys/etc/usr_conf.php

Размер файла: 2.76Kb
<?php
##########################################
##UTF-8,lang-ru,"Monospace"(regular)[10]##
##########################################

$login = 'Mixas'; //Логин админа
$passwd = '123'; //пароль админа


####################################################
#    SYSTEM    #########################################
############################################################
$opera_mini = FALSE;
define('SPAK','./smilies/Set_Smiles_YarNET.pak');
if(@!$_POST["p"]) {
  (@$_GET["p"]) ? ($start = $_GET["p"]) : ($start=0);
} else $start = $_POST["p"];
$start = abs(intval($start));

							$sql_configuration_main = "SELECT * FROM mlb_config ORDER BY conf_id ASC";
			    			$query_configuration_main = mysql_query($sql_configuration_main);
			    			while($res_configuration_main = mysql_fetch_array($query_configuration_main)) {
			    				if($res_configuration_main["conf_ident"] == "topage") {
			    					$topage = $res_configuration_main["conf_value_int"];
								}
			    				if($res_configuration_main["conf_ident"] == "topageu") {
			    					$topageu = $res_configuration_main["conf_value_int"];
								}
			    				if($res_configuration_main["conf_ident"] == "cfd") {
			    					$cfd = $res_configuration_main["conf_value_int"];
								}
			    				if($res_configuration_main["conf_ident"] == "comp") {
			    					$comp = $res_configuration_main["conf_value_int"];
								}
			    				if($res_configuration_main["conf_ident"] == "textn") {
			    					$textn = $res_configuration_main["conf_value_int"];
								}
			    				if($res_configuration_main["conf_ident"] == "psa") {
			    					$psa = $res_configuration_main["conf_value_int"];
								}
			    				if($res_configuration_main["conf_ident"] == "mfb") {
			    					$mfb = $res_configuration_main["conf_value_int"];
								}
			    				if($res_configuration_main["conf_ident"] == "is_new") {
			    					$is_new = $res_configuration_main["conf_value_int"];
								}
			    				if($res_configuration_main["conf_ident"] == "is_stol") {
			    					$is_stol = $res_configuration_main["conf_value_int"];
								}
			    				if($res_configuration_main["conf_ident"] == "fext") {
			    					$fext = $res_configuration_main["conf_value_text"];
								}
			    				if($res_configuration_main["conf_ident"] == "dir_f") {
			    					$dir_f = $res_configuration_main["conf_value_text"];
								}
			    				if($res_configuration_main["conf_ident"] == "end") {
			    					$end = $res_configuration_main["conf_value_text"];
								}
			    				if($res_configuration_main["conf_ident"] == "theme") {
			    					$theme = $res_configuration_main["conf_value_text"];
								}
			    				if($res_configuration_main["conf_ident"] == "is_tema") {
			    					$is_tema = $res_configuration_main["conf_value_int"];
								}
							}
?>