ЧАТ  


Hosted by uCoz
$SiteId = "2070"; // id вашего сайта в системе $CategoryColumns = "3"; // количество столбцов категорий $CatId = $HTTP_GET_VARS['cat_id']; $FullUrl = "http://".$HTTP_SERVER_VARS["HTTP_HOST"].$HTTP_SERVER_VARS["REQUEST_URI"]; $QueryString = "lid=".urlencode($SiteId); $QueryString .= "&cat_id=".urlencode($CatId); $QueryString .= "&td=".urlencode($CategoryColumns); $QueryString .= "&d_url=".urlencode($FullUrl); foreach ($_GET as $key => $value) { $value = urlencode(stripslashes($value)); $QueryString .= "&$key=$value"; } if(intval(get_cfg_var('allow_url_fopen')) && function_exists('readfile')) { if(!@readfile("http://www.obmenlink.ru/cat.php?".$QueryString)) { echo "Error processing request"; } } elseif(intval(get_cfg_var('allow_url_fopen')) && function_exists('file')) { if(!($content = @file("http://www.obmenlink.ru/cat.php?".$QueryString))) { echo "Error processing request"; } else { echo @join('', $content); } } elseif(function_exists('curl_init')) { $ch = curl_init ("http://www.obmenlink.ru/cat.php?".$QueryString); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_exec ($ch); if(curl_error($ch)) echo "Error processing request"; curl_close ($ch); } else { echo "It seems that web host has disabled all functions for handling remote pages and as a result the QLX software will not function on your web site. Please contact your web host and ask them to enable PHP curl or fopen."; } ?>