| 12345678910111213141516171819 |
- <?
- include("../config/conn.php");
- include("../config/function.php");
- sesCheck();
- $userid=returnuserid($_SESSION[SHOPUSER]);
- $sj=date("Y-m-d H:i:s");
- $bh=time()."p".$userid;
- $ty1id=$_GET[ty1id];
- deletetable("yjcode_protype where userid=".$userid." and zt=99");
- while1("*","yjcode_protype where id=".$ty1id." and userid=".$userid." and admin=1");
- if(!$row1=mysql_fetch_array($res1)){Audit_alert("À´Ô´´íÎó","protypelist.php","parent.");}
- $nxh=returnxh("yjcode_protype"," and userid=".$userid." and admin=2 and name1='".$row1[name1]."' and zt=0");
- intotable("yjcode_protype","bh,userid,name1,admin,xh,sj,zt","'".$bh."',".$userid.",'".$row1[name1]."',2,".$nxh.",'".$sj."',99");
- php_toheader("protype2.php?bh=".$bh);
- ?>
|