include("../config/conn.php"); include("../config/function.php"); include("../config/tpclass.php"); sesCheck(); $sqluser="select * from yjcode_user where uid='".$_SESSION[SHOPUSER]."'";mysql_query("SET NAMES 'GBK'");$resuser=mysql_query($sqluser); if(!$rowuser=mysql_fetch_array($resuser)){php_toheader("../reg/");} if(sqlzhuru($_POST[jvs])=="inf"){ zwzr(); $nc=sqlzhuru($_POST[tnc]); if(empty($nc)){Audit_alert("请输入昵称","inf.php");} updatetable("yjcode_user","uqq='".sqlzhuru($_POST[tuqq])."',weixin='".sqlzhuru($_POST[tweixin])."',mytxt='".sqlzhuru1($_POST[content])."' where uid='".$_SESSION[SHOPUSER]."'"); if(panduan("uid,nc","yjcode_user where uid<>'".$_SESSION[SHOPUSER]."' and nc='".$nc."'")){Audit_alert("该昵称已被其他用户使用","inf.php");} updatetable("yjcode_user","nc='".$nc."' where uid='".$_SESSION[SHOPUSER]."'"); uploadtpnodata(1,"upload/".$rowuser[id]."/","wx.jpg","allpic",150,150,0,0,"no"); php_toheader("inf.php?t=suc"); } ?>