".$_GET[id])==1) {Audit_alert("该分组已存在!","type2.php?action=update&id=".$_GET[id]."&ty1id=".$ty1id);} updatetable("yjcode_type","type2='".sqlzhuru($_POST[t1])."' where type1='".sqlzhuru($_POST[oldty1])."' and type2='".sqlzhuru($_POST[oldty2])."'"); updatetable("yjcode_type","sj='".$sj."',xh=".sqlzhuru($_POST[t2]).",buyform='".sqlzhuru($_POST[buyform])."',seotit='".sqlzhuru($_POST[tseotit])."',seokey='".sqlzhuru($_POST[tseokey])."',seodes='".sqlzhuru($_POST[tseodes])."' where id=".$_GET[id]); move_uploaded_file($_FILES["inp1"]['tmp_name'], "../upload/type/type2_".$_GET[id].".png"); move_uploaded_file($_FILES["inp2"]['tmp_name'], "../upload/type/type2_".$_GET[id]."_m.png"); php_toheader("type2.php?t=suc&action=update&id=".$_GET[id]."&ty1id=".$ty1id); } //函数结果 while0("*","yjcode_type where id=".$ty1id);if(!$row=mysql_fetch_array($res)){php_toheader("typelist.php");} ?>