|
#include<ie.au3>
$user = InputBox("提示", "请输入论坛账号", "", "",50,50,780,500,9)
$pass = InputBox("提示", "请输入论坛密码", "", "",50,50,780,500,9)
$oIE = _IECreate ("http://192.168.1.2:1024/index.asp",0,1,0)
Sleep(2000)
$oForm = _IEFormGetObjByName ($oIE, "Login")
$oQuery = _IEFormElementGetObjByName ($oForm, "UserName")
_IEFormElementSetValue ($oQuery, $user)
$oQuery = _IEFormElementGetObjByName ($oForm, "UserPassword")
_IEFormElementSetValue ($oQuery, $pass)
这样实现不了 为什么呢?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML lang=gb2312
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>明发戴斯酒店报修系统-网上报修系统</TITLE>
<meta name="description" content="明发戴斯酒店报修系统">
<meta name="keyword" content="报修">
<META http-equiv=content-type content=text/html;charset=gb2312>
<LINK href="favicon.ico" type=image/x-icon rel=icon><LINK href="favicon.ico" type=image/x-icon rel="shortcut icon">
<META content="MSHTML 6.00.2900.5803" name=GENERATOR>
<LINK href="images/style.css" type=text/css rel=stylesheet>
<SCRIPT src="js/jquery.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/BWS.js" type=text/javascript></SCRIPT>
<SCRIPT language=javaScript src="js/BWSsoft.js" type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>iwms.urlPrefix="";iwms.guestAdd=false;</SCRIPT>
</HEAD>
<BODY>
<center>
<DIV class=twidth>
<div id=sitehead>
<div class=l></div>
<div class=r></div>
<div class=m>
<table width="100%">
<tbody>
<tr>
</tr>
</tbody>
</table>
</div>
</div>
<DIV id=navbar>
<DIV class=l></DIV>
<DIV class=r></DIV>
<DIV class=m><A class=first href=index.asp>首页</A> <A class=first href=index.asp?T=baoxiu>物品报修</A> <A class=first href=index.asp?T=my>我的工单</A> <A class=first href=index.asp?T=chaxun>编号查询</A> <A class=first href=index.asp?T=ziliao>资料修改</A> </DIV></DIV>
<DIV id=navsub>
<DIV class=l></DIV>
<DIV class=r></DIV>
<DIV class=m>
<DIV style="FLOAT: left; WIDTH: 40%"> <a href="index.asp">首页</a> >> 网上报修系统</DIV>
</DIV></DIV>
<TABLE id=middle cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR vAlign=top align=left>
<TD width=250>
<DIV class=lframe>
<DIV class=tl></DIV>
<DIV class=tr></DIV>
<DIV class=tm><SPAN class=tt>用户登录</SPAN> </DIV>
<DIV class=wrapper>
<DIV class=ml></DIV>
<DIV class=mr></DIV>
<DIV class=mm><form name=Login action=Login.asp method=post onSubmit='return CheckForm();'> 帐 号: <input name=UserName type=text value='' size=12 maxlength=20><br> 密 码: <INPUT name=UserPassword type=password id=UserPassword size=12 maxlength=20><br> COOKIE: <select name=CookieDate><option selected value=0>不保存</option><option value=1>保存一天</option><option value=2>保存一月</option><option value=3>保存一年</option></select><br> <input type=submit name=Submit value='登 陆'> <input type=button name=Submit2 value='注 册' onClick=location.href='index.asp?T=reg'> <a href=index.asp?T=csmm>忘记密码</a></FORM></DIV></DIV>
<DIV class=bl></DIV>
<DIV class=br></DIV>
<DIV class=bm></DIV></DIV>
<DIV class=lframe>
<DIV class=tl></DIV>
<DIV class=tr></DIV>
<DIV class=tm><SPAN class=tt>网站通知</SPAN> </DIV>
<DIV class=wrapper>
<DIV class=ml></DIV>
<DIV class=mr></DIV>
<DIV class=mm><div align=center><table border=0 cellpadding=0 cellspacing=0 width=208 height=150><tr><td><p style='line-height: 150%; margin-left: 8px; margin-right: 6px'><MARQUEE direction='Up' id=scrollarea onmouseover=this.stop(); onmouseout=this.start(); scrollAmount=1 scrollDelay=10 height=150>还没有任何滚动公告...</MARQUEE></td></tr></table></div></DIV></DIV>
<DIV class=bl></DIV>
<DIV class=br></DIV>
<DIV class=bm></DIV></DIV>
<DIV class=lframe>
<DIV class=tl></DIV>
<DIV class=tr></DIV>
<DIV class=tm><SPAN class=tt>数据统计</SPAN> </DIV>
<DIV class=wrapper>
<DIV class=ml></DIV>
<DIV class=mr></DIV>
<DIV class=mm> 用户总数:3人<br> 维修员数:1名<br> 工单总数:27条<br> 今日工单:0条<br></DIV></DIV>
<DIV class=bl></DIV>
<DIV class=br></DIV>
<DIV class=bm></DIV></DIV>
</TD>
<TD>
<DIV class="mframe mR">
<DIV class=tl></DIV>
<DIV class=tr></DIV>
<DIV class=tm>
<SPAN class=tt>报修列表</SPAN> </DIV>
<DIV class=wrapper>
<DIV class=ml></DIV>
<DIV class=mr></DIV>
<DIV class=mm><div align=center><table width=98% border=1 cellspacing=0 bordercolor=#C4E6FF></tr><TR><td width=18% bordercolor=#C4E6FF bgcolor=#C4E6FF><div align=center><strong>工单号</strong></div></td><td width=18% bordercolor=#C4E6FF bgcolor=#C4E6FF><div align=center><strong>报修物品</strong></div></td><td width=18% bordercolor=#C4E6FF bgcolor=#C4E6FF><div align=center><strong>报修单位</strong></div></td><td width=9% bordercolor=#C4E6FF bgcolor=#C4E6FF><div align=center><strong>报修人员</strong></div></td><td width=22% bordercolor=#C4E6FF bgcolor=#C4E6FF><div align=center><strong>报修时间</strong></div></td><td width=10% bordercolor=#C4E6FF bgcolor=#C4E6FF><div align=center><strong>维修状态</strong></div></td></TR><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121011115623 title=点击查看该工单号的详情>BX20121011115623</a></div></td><td><div align=center>123</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-11 11:56:23</div></td><td><div align=center><font color=#669900>已维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121011101019 title=点击查看该工单号的详情>BX20121011101019</a></div></td><td><div align=center>点灯</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-11 10:10:19</div></td><td><div align=center><font color=blue>维修中</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010165637 title=点击查看该工单号的详情>BX20121010165637</a></div></td><td><div align=center>3333333333</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:56:37</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010164518 title=点击查看该工单号的详情>BX20121010164518</a></div></td><td><div align=center>44444444444444444444</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:45:18</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010162531 title=点击查看该工单号的详情>BX20121010162531</a></div></td><td><div align=center>3333333333333333333</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:25:31</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010162439 title=点击查看该工单号的详情>BX20121010162439</a></div></td><td><div align=center>111111111111111111</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:24:39</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010162146 title=点击查看该工单号的详情>BX20121010162146</a></div></td><td><div align=center>888888888888</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:21:46</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010162056 title=点击查看该工单号的详情>BX20121010162056</a></div></td><td><div align=center>432423</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:20:56</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010162047 title=点击查看该工单号的详情>BX20121010162047</a></div></td><td><div align=center>432423</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:20:47</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010162037 title=点击查看该工单号的详情>BX20121010162037</a></div></td><td><div align=center>4324</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:20:37</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010162029 title=点击查看该工单号的详情>BX20121010162029</a></div></td><td><div align=center>432</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:20:29</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010162016 title=点击查看该工单号的详情>BX20121010162016</a></div></td><td><div align=center>432523</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:20:16</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010162006 title=点击查看该工单号的详情>BX20121010162006</a></div></td><td><div align=center>523423423</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:20:06</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010161950 title=点击查看该工单号的详情>BX20121010161950</a></div></td><td><div align=center>43225</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:19:50</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010161932 title=点击查看该工单号的详情>BX20121010161932</a></div></td><td><div align=center>4234234234234324234</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 16:19:32</div></td><td><div align=center><font color=red>未维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010130227 title=点击查看该工单号的详情>BX20121010130227</a></div></td><td><div align=center>sad</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 13:02:27</div></td><td><div align=center><font color=#669900>已维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010130048 title=点击查看该工单号的详情>BX20121010130048</a></div></td><td><div align=center>asd</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 13:00:48</div></td><td><div align=center><font color=#669900>已维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010114204 title=点击查看该工单号的详情>BX20121010114204</a></div></td><td><div align=center>888888</div></td><td><div align=center>******</div></td><td><div align=center>u**</div></td><td><div align=center>2012-10-10 11:42:04</div></td><td><div align=center><font color=blue>维修中</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010112509 title=点击查看该工单号的详情>BX20121010112509</a></div></td><td><div align=center>fdsafds</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 11:25:09</div></td><td><div align=center><font color=#669900>已维修</font></div></td></tr><tr><td><div align=center><a href=index.asp?T=gdshow&gdid=BX20121010111957 title=点击查看该工单号的详情>BX20121010111957</a></div></td><td><div align=center>fsdafdsa</div></td><td><div align=center>******</div></td><td><div align=center>张**</div></td><td><div align=center>2012-10-10 11:19:57</div></td><td><div align=center><font color=#669900>已维修</font></div></td></tr><tr><td colspan=7><div align=center>页次: 1/2页数: <a href=index.asp?CurPage=0>首页</a> 1<a href=index.asp?CurPage=2>2</a></div></td></tr></table></div>
</DIV></DIV>
<DIV class=bl></DIV>
<DIV class=br></DIV>
<DIV class=bm></DIV></DIV>
</TD>
</TR></TBODY></TABLE> |
|