Файл: qwest/3_1.php
Строк: 27
<?
$b_k=mysql_query("select*from qwest_book where id_pers='".$row['ID']."' and id_qw='11' and tek_status='1'");
if(mysql_num_rows($b_k)==1){
if (!isset($_GET['numtext'])) {
$_GET['numtext']=0;
$kr = "and numtext='0'";
} else {
$kr = "and numtext='" . $_GET['numtext'] . "'";
}
if($_GET['numtext']==6){
mysql_query("update qwest_book set `tek_status`='2',`opisan_qw`='Пойти к Халли.Он живет в районе города Ривер [143 S/55w]' where id_pers='".$row['ID']."' and id_qw='11'");
$_SESSION['statusis']='Пойти к Халли.Он живет в районе города Ривер [143 S/55w]';
header("location:88.php?go=do"); exit ;
;}
$qw = mysql_query("select*from big_qwest_two where gorodnum='3' and num='3' $kr") or die(mysql_error());
$qw_viv = mysql_fetch_array($qw);
$t=$_GET['numtext']+1;
print "<strong>" . $qw_viv['mob'] . "</strong>:<br>";
print "" . $qw_viv['text'] . "<br><a href=88.php?go=qw_big&num=" . $qw_viv['num'] .
"&numtext=$t >" . $qw_viv['pers'] . "</a>";
;}
exitt($row, $opredelenie);
?>