=2){for($ei=1;$eisetOutputEncoding('CP936'); $data->read($mu.$bh.".xls"); error_reporting(E_ALL ^ E_NOTICE); for ($i = 1; $i <= $data->sheets[0]['numRows']; $i++) { $ka= $data->sheets[0]['cells'][$i][1].""; $mi= $data->sheets[0]['cells'][$i][2].""; if(panduan("probh,userid,ka","yjcode_kc where probh='".$bh."' and ka='".$ka."' and userid=".$userid)==0){ intotable("yjcode_kc","probh,userid,ka,mi,ifok","'".$bh."',".$userid.",'".$ka."','".$mi."',0"); } } //导入结束 delFile($mu.$bh.".xls"); } } kamikc($bh); php_toheader("kc.php?t=suc&bh=".$bh); }elseif($_GET[control]=="update"){ zwzr(); $id=$_GET[id]; if(panduan("id,probh,userid,ka","yjcode_kc where probh='".$bh."' and ka='".sqlzhuru($_POST[tka])."' and id<>".$id." and userid=".$userid)==1){ Audit_alert("卡号已存在,保存失败!","kc.php?bh=".$bh."&action=update&id=".$id);} updatetable("yjcode_kc","ka='".sqlzhuru($_POST[tka])."',mi='".sqlzhuru($_POST[tmi])."',ifok=".sqlzhuru($_POST[Rifok])." where id=".$id); kamikc($bh); php_toheader("kc.php?t=suc&bh=".$bh."&action=update&id=".$id); } ?> 用户管理面板 - <?=webname?>
  • 添加方式:
  • 说明:
  • 导入格式为卡号+空格+密码(可跟上附加内容),一行一组,如AAAAA BBBBB
  • 卡密内容:
  • 卡号:
  • 密码:
  • 使用情况: