| 12345678910111213141516 |
- <?php
- include("../config/conn.php");
- include("../config/function.php");
- sesCheck();
- $sj=date("Y-m-d H:i:s");
- $bh=$_GET[bh];
- $ty1id=intval($_GET[ty1id]);
- $userid=returnuserid($_SESSION[SHOPUSER]);
- while0("*","yjcode_server where userid=".$userid." and bh='".$bh."'");if(!$row=mysql_fetch_array($res)){php_toheader("serverlist.php");}
- while1("*","yjcode_servertaocan where userid=".$userid." and id=".$ty1id);if(!$row1=mysql_fetch_array($res1)){php_toheader("serverlist.php");}
- $nxh=returnxh("yjcode_servertaocan"," and admin=2 and tit1='".$row1[tit1]."' and serverbh='".$bh."'");
- intotable("yjcode_servertaocan","tit1,xh,admin,serverbh,userid,zt","'".$row1[tit1]."',".$nxh.",2,'".$bh."',".$row[userid].",99");
- $id=mysql_insert_id();
- php_toheader("servertaocan2.php?ty1id=".$ty1id."&bh=".$bh."&id=".$id);
- ?>
|