|
#include "web_api.h"
#include "lrw_custom_body.h"
vuser_init()
{
web_url("UserValid.asp",
"URL=http://10.10.6.238/ehkwebadmin/UserValid.asp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_think_time( 6 );
web_submit_data("UserValid.asp_2",
"Action=http://10.10.6.238/ehkwebadmin/UserValid.asp",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.10.6.238/ehkwebadmin/UserValid.asp",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=rightID", "Value=admin", ENDITEM,
"Name=pwd", "Value=admin", ENDITEM,
"Name=Enter", "Value=秈", ENDITEM,
"Name=subID", "Value=1", ENDITEM,
LAST);
return 0;
}
#include "as_web.h"
Action()
{
web_url("left.asp",
"URL=http://10.10.6.238/ehkwebadmin/left.asp?item=11",
"Resource=0",
"RecContentType=text/html",
"Referer=http://10.10.6.238/ehkwebadmin/main.asp",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
lr_think_time( 8 );
web_link("Financial Products",
"Text=Financial Products",
"Snapshot=t4.inf",
LAST);
web_submit_data("FinancialProducts_a.asp",
"Action=http://10.10.6.238/ehkwebadmin/FinancialProducts_a.asp?item=11",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.10.6.238/ehkwebadmin/FinancialProducts_a.asp?item=11",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=begintime", "Value=dd/mm/yyyy", ENDITEM,
"Name=endtime", "Value=dd/mm/yyyy", ENDITEM,
"Name=author", "Value=All", ENDITEM,
"Name=update_ID", "Value=", ENDITEM,
"Name=del_ID", "Value=", ENDITEM,
"Name=OKID", "Value=", ENDITEM,
"Name=cmdAction", "Value=PreAdd", ENDITEM,
LAST);
lr_think_time( 3 );
web_url("Calendar.html",
"URL=http://10.10.6.238/ehkwebadmin/Calendar.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);
lr_think_time( 5 );
web_submit_data("FinancialProducts_a.asp_2",
"Action=http://10.10.6.238/ehkwebadmin/FinancialProducts_a.asp?item=11",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.10.6.238/ehkwebadmin/FinancialProducts_a.asp?item=11",
"Snapshot=t7.inf",
"Mode=HTML",
ITEMDATA,
"Name=begintime", "Value=dd/mm/yyyy", ENDITEM,
"Name=endtime", "Value=dd/mm/yyyy", ENDITEM,
"Name=author", "Value=All", ENDITEM,
"Name=fxbt", "Value={name}", ENDITEM,
"Name=xxrq", "Value=30/4/2006", ENDITEM,
"Name=fxqy", "Value=", ENDITEM,
"Name=fxnr", "Value=", ENDITEM,
"Name=fxzz", "Value=0", ENDITEM,
"Name=xzwz", "Value=", ENDITEM,
"Name=fbsj", "Value={NewParam}", ENDITEM,
"Name=AddItem", "Value=1", ENDITEM,
"Name=update_ID", "Value=", ENDITEM,
"Name=del_ID", "Value=", ENDITEM,
"Name=OKID", "Value=", ENDITEM,
"Name=cmdAction", "Value=Add", ENDITEM,
LAST);
web_find("web_find",
"What=Financial Products",
LAST);
#include "as_web.h"
vuser_end()
{
web_url("logout.asp",
"URL=http://10.10.6.238/ehkwebadmin/logout.asp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t8.inf",
"Mode=HTML",
LAST);
return 0;
}
return 0; |
|