Created
April 6, 2012 07:32
-
-
Save awsong/2317929 to your computer and use it in GitHub Desktop.
spoof code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script language="javascript" src="jquery-1.4.2.js"></script> | |
<SCRIPT LANGUAGE=JAVASCRIPT> | |
if (top.location != self.location) { | |
top.location=self.location; | |
} | |
</SCRIPT> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=gbk" /> | |
<title>北京市卫生局网上预约挂号平台</title> | |
<link href="/comm/css/allt.css" rel="stylesheet" type="text/css" /> | |
</head> | |
<script> | |
function check(){ | |
var us="刘冬凌"; | |
if(us==''){ | |
alert('您还没有登陆,请先登录!'); | |
} | |
} | |
function refreshlog(obj){ | |
//点击验证码图片时候刷新验证码 | |
var $obj = "code.php?id="+Math.random(); | |
obj.src = $obj ; | |
} | |
function isNumberString (InString,RefString) | |
{ | |
if(InString.length==0) return (false); | |
for (Count=0; Count < InString.length; Count++) | |
{ | |
TempChar= InString.substring (Count, Count+1); | |
if (RefString.indexOf (TempChar, 0)==-1) | |
return (false); | |
} | |
return (true); | |
} | |
function checkForm() | |
{ | |
if(document.form1.truename.value=="") | |
{ | |
document.form1.truename.focus(); | |
alert("真实姓名不能为空!"); | |
return false; | |
} | |
if(document.form1.sfzhm.value=="") | |
{ | |
document.form1.sfzhm.focus(); | |
alert("证件号不能为空!"); | |
return false; | |
} | |
/* | |
if ( isNumberString(document.form1.sfzhm.value,"1234567890xX")!=1 || (document.form1.sfzhm.value.length !=15 && document.form1.sfzhm.value.length !=18) ) | |
{ | |
document.form1.sfzhm.focus(); | |
alert("身份证号不正确!"); | |
return false; | |
} | |
*/ | |
if(document.form1.yzm.value=="") | |
{ | |
document.form1.yzm.focus(); | |
alert("验证码不能为空!"); | |
return false; | |
} | |
/* | |
if(document.form1.yzm.value!=document.form1.syzm.value) | |
{ | |
document.form1.yzm.focus(); | |
alert("验证码不正确!"); | |
return false; | |
} | |
*/ | |
} | |
</script> | |
<body> | |
<!-- 头文件开始 --> | |
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0" class="top"> | |
<tr> | |
<td><img src="images/top.gif" width="980" height="81" alt="北京市卫生局网上预约挂号平台" /></td> | |
</tr> | |
</table> | |
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0" class="menu"> | |
<tr> | |
<td valign="top"> | |
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0" class="menu"> | |
<tr> | |
<td valign="top"> | |
<!-- 导航及搜索开始 --> | |
<form action="/comm/yyjh.php" method="post"> | |
<table width="930" border="0" align="center" cellpadding="0" cellspacing="0" class="marg"> | |
<tr> | |
<td width="585" class="white"><a href="/comm/index.php" class="white">首页</a> | <a href="/comm/yyghzn.php" class="white">预约指南</a> | <a href="/comm/newgg.php" class="white">最新公告</a> | <a href="/comm/cjwt.php" class="white">常见问题</a> | <a href="/comm/cjbdyks.php" class="white">常见病对应科室</a> | <a href="/comm/vote/yjfk.php" class="white">意见反馈</a></td> | |
<td width="150"> | |
<select name="select1" id="class1" style="width:150px "> | |
<option value="">请选择医院类别</option> | |
<option value="1" >卫生部直属医院</option> | |
<option value="2" >北京市卫生局直属医院</option> | |
<option value="3" >中国医科院所属医院</option> | |
<option value="4" >中国中医科学院</option> | |
<option value="5" >北京中医药大学</option> | |
<option value="6" >北京大学附属医院</option> | |
<option value="7" >驻京部队医院</option> | |
<option value="8" >驻京武警医院</option> | |
<option value="9" >部属厂矿高校医院</option> | |
<option value="10" >北京区县属医院</option> | |
</select></td> | |
<td width="140" align="center"><input id="search" name="search" type="text" value="输入医院名称" onfocus="javascript:this.value='';" class="input3"></td> | |
<td width="50" align="center"> | |
<input type="image" name="submit" src="images/search.gif" width="47" height="22" align="absmiddle"/></td> | |
</tr> | |
</table> | |
</form> | |
<!-- 导航及搜索结束 --> | |
<!-- 登录开始 --> | |
<table width="920" border="0" align="center" cellpadding="0" cellspacing="0" class="marg15"> | |
<tr> | |
<td class="dblue">用户名:刘冬凌 证件号:23010319740219002x <a href="/comm/logout.php">退出登录</a></td> | |
<td width="320" align="right"><a href="/comm/vote/myquestion.php" class="dblue">我的意见</a> <a href="/comm/zcxxxg.php" target="_blank" class="dblue">修改注册信息</a> <a href="/comm/cxqxzn.php" target="_blank" class="dblue">查询/取消预约</a></td> | |
</tr> | |
</table> | |
<!-- 登录结束 --> | |
</td> | |
</tr> | |
</table> | |
<!-- 登录结束 --> | |
</td> | |
</tr> | |
</table> | |
<!-- 头文件结束 --> | |
<script> | |
function testt(){ | |
var fa = document.ti; | |
var dxcode = $("#dxcode1").val(); | |
if(dxcode == "" || dxcode == null){ | |
alert('短信验证码为空'); | |
fa.dxcode1.focus(); | |
}else{ | |
fa.submit(); | |
} | |
} | |
function getcode(t){ | |
var i=1; | |
t.disabled=true; | |
var timer=setInterval(function(){t.value="等待中"+i;i++; | |
if(i>180){t.disabled=false;i=1;t.value="点击获取";clearInterva(timer)}},1000) | |
var jiuz = $("#jiuz").val(); | |
var ybkh = $("#ybkh").val(); | |
var baoxiao = $("#baoxiao").val(); | |
var hpid = $("#code_hpid").val(); | |
var ksid = $("#code_ksid").val(); | |
var datid = $("#code_datid").val(); | |
$.get("dx_code.php?hpid="+hpid+"&ksid="+ksid+"&datid="+datid+"&jiuz="+jiuz+"&ybkh="+ybkh+"&baoxiao="+baoxiao,null,callback); | |
} | |
function callback(data){ | |
var a = $("#tian"); | |
a.html(data); | |
} | |
</script> | |
<!-- 预约挂号流程开始 --> | |
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0"> | |
<tr> | |
<td><img src="images/liucheng4.gif" width="980" height="91" /></td> | |
</tr> | |
</table> | |
<!-- 预约挂号流程结束 --> | |
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0" class="dqwz"> | |
<tr> | |
<td width="35" height="30"><img src="images/yy_01.gif" width="35" height="30" align="absmiddle" /></td> | |
<td class="blue"><a href="/comm/yyks.php?hpid=142" class="blue">北京大学第三医院</a> <a href="../yyjh.php" class="black12">【选择其他医院】</a></td> | |
</tr> | |
</table> | |
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0" class="yy_bg"> | |
<tr> | |
<td width="200" valign="top" bgcolor="#F6F6F6"> | |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="left_box"> | |
<tr> | |
<td align="center" class="left_menu"><a href="/comm/yyxz.php?hpid=142" class="gray">预约须知</a></td> | |
</tr> | |
<tr> | |
<td align="center" class="left_menu"><a href="/comm/seorca.php?hpid=142" class="gray" onclick="check()">查询/取消预约</a></td> | |
</tr> | |
<tr> | |
<td align="center" class="left_menu"> | |
<a href="/comm/stop.php?hpid=142" class="gray">停诊信息</a> | |
</td> | |
</tr> | |
</table> | |
</td> | |
<td valign="top"> | |
<table width="740" border="0" align="center" cellpadding="0" cellspacing="0" class="marg15"> | |
<form action ="ghdown.php" method="post" name="ti"> | |
<tr> | |
<td height="40" colspan="2" valign="top"><a href="../yyks.php?hpid=142" class="b">返回科室选择</a></td> | |
</tr> | |
<tr> | |
<td width="50%" valign="top" class="padgh"> | |
<br /> | |
选择的医院:北京大学第三医院<br /> | |
选择的院区:本院<br /> | |
选择的科室:中医科门诊<br /> | |
选择的医生:普通专业号5元<br /> | |
挂号费:5.00<br /> | |
就诊日期:2012-04-13 下午<br /></td> | |
<td valign="top" class="padgh"> | |
<span id="tian" style="color:red"></span><br />就 诊 卡: <input type="text" name="jiuz" id="jiuz" value="" / style="width:160px;height:18px;"> <br /> 医保卡号: <input type="text" name="ybkh" id="ybkh" value="" / style="width:160px;height:18px;"> <br />报销类型: <select name="baoxiao" id="baoxiao" style="width:160px;height:18px;"><option value="0" selected >==请选择==</option><option value="1">医疗保险</option><option value="2">商业保险</option><option value="3">公费医疗</option><option value="4">新农合</option><option value="5">异地医保</option><option value="6">红本医疗</option><option value="7">工伤</option><option value="8">一老一小</option><option value="9">超转</option><option value="10">自费</option><option value="11">其他</option></select><br />短信验证码:<input type="text" name="dxcode" id="dxcode1" / style="width:160px;height:18px;"><br /><input type="button" value="点击获取" onclick="getcode(this)" > | |
</td> | |
</tr> | |
<input type="hidden" name="hpid" id="code_hpid" value="142"> | |
<input type="hidden" name="ksid" id="code_ksid" value="1190101"> | |
<input type="hidden" name="datid" id="code_datid" value="40730"> | |
<tr> | |
<td height="30" colspan="2" align="center"><input type="button" name="button2" id="button2" value=" 确认提交 " onclick="testt()" /></td> | |
</tr> | |
</form> | |
</table></td> | |
</tr> | |
</table> | |
<!-- 尾文件开始 --> | |
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0" class="foot"> | |
<tr> | |
<td align="center" class="f12px"> <a href="/comm/lxwm.php" target="_blank">联系我们</a> ┊ <a href="/comm/hzhb.php" target="_blank">合作伙伴</a> ┊ <a href="/comm/flsm.php" target="_blank">法律声明</a> ┊ <a href="/comm/vote/yjfk.php" target="_blank">意见反馈</a><br /> | |
主办单位:北京市卫生局 承办单位:中国联通北京分公司<br /> | |
<a href="http://www.miibeian.gov.cn/" target="_blank">京ICP备05056889号</a><br /> | |
</td> | |
</tr> | |
</table> | |
<!-- 尾文件结束 --> | |
</body> | |
</html></body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment