include("../config/conn.php"); include("../config/function.php"); include("../config/xy.php"); $id=$_GET[id]; $sj=getsj(); checkdjl("c3",$id,"yjcode_pro"); while0("*","yjcode_pro where zt<>99 and id=".$id);if(!$row=mysql_fetch_array($res)){php_toheader("../");} $txtmb=returnjgdw($row[txtmb],"","default"); $_SESSION["tzURL"]=weburl."product/view".$id.".html"; $nowmoney=returnyhmoney($row[yhxs],$row[money2],$row[money3],$sj,$row[yhsj1],$row[yhsj2],$row[id]); $ty1name=returntype(1,$row[ty1id]); $sqlsell="select * from yjcode_user where id=".$row[userid];mysql_query("SET NAMES 'GBK'");$ressell=mysql_query($sqlsell); if(!$rowsell=mysql_fetch_array($ressell)){php_toheader("../");} $nuid=returnuserid($_SESSION["SHOPUSER"]); $nch=""; if(isset($_COOKIE['prohistoy'])){ $nch=$_COOKIE['prohistoy']; if(check_in($row[id]."xcf",$nch)){$nch=str_replace($row[id]."xcf","",$nch);} $a=preg_split("/xcf/",$nch); if(count($a)>6){$ni=6;}else{$ni=count($a);} $nch=""; for($i=0;$i<=$ni;$i++){ $nch=$nch.$a[$i]."xcf"; } } $Month = 864000 + time(); setcookie(prohistoy,$row[id]."xcf".$nch, $Month,'/'); $nch=$_COOKIE['prohistoy']; ?>
"> ">