down.js
4.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//获取当前网址,如: http://localhost:8083/myproj/view/my.jsp
var curWwwPath = window.document.location.href;
//获取主机地址之后的目录,如: myproj/view/my.jsp
var pathName = window.document.location.pathname;
var pos = curWwwPath.indexOf(pathName);
//获取主机地址,如: http://localhost:8083
var localhostPaht = curWwwPath.substring(0, pos);
document.writeln("<!DOCTYPE html>");
document.writeln("<html lang=\'en\'>");
document.writeln("");
document.writeln("<head>");
document.writeln("");
document.writeln("<body> ");
document.writeln(" <div class=\'footer\'> ");
document.writeln(" <div class=\'system_service\'>");
document.writeln(" <ul class=\'\'>");
document.writeln(" <li>");
document.writeln(" <a href=\'"+localhostPaht+"/staticViews/gsgg.html\' title=\'公示公告\'>");
document.writeln(" <span>公示公告</span>");
document.writeln(" </a>");
document.writeln(" </li>");
document.writeln(" <li>");
document.writeln(" <a href=\'"+localhostPaht+"/staticViews/flfg.html\' title=\'法律法规\'>");
document.writeln(" <span>法律法规</span>");
document.writeln(" </a>");
document.writeln(" </li>");
document.writeln(" <li>");
document.writeln(" <a href=\'"+localhostPaht+"/staticViews/xyzc.html\' title=\'相应政策\'>");
document.writeln(" <span>相应政策</span>");
document.writeln(" </a>");
document.writeln(" </li>");
document.writeln(" <li>");
document.writeln(" <a href=\'\' title=\'下载服务\'>");
document.writeln(" <span>下载服务</span>");
document.writeln(" </a>");
document.writeln(" </li>");
document.writeln(" <li>");
document.writeln(" <a href=\'\' title=\'关于我们\'>");
document.writeln(" <span>关于我们</span>");
document.writeln(" </a>");
document.writeln(" </li>");
document.writeln(" </ul>");
document.writeln(" </div> ");
document.writeln(" <div class=\'subject\'>");
document.writeln(" <div class=\'footer_logo\'>");
document.writeln(" <a href=\'\' title=\'党政机关\'>");
document.writeln(" <img src=\'"+localhostPaht+"/staticImages/jiguan.png\' alt=\'党政机关\' />");
document.writeln(" </a>");
document.writeln(" </div>");
document.writeln(" <ul>");
document.writeln(" <li>");
document.writeln(" 西安市自然资源和规划局");
document.writeln(" </li>");
document.writeln(" <li>");
document.writeln(" 电话:028-456465");
document.writeln(" </li>");
document.writeln(" <li>");
document.writeln(" 地址:西安市丰城8路");
document.writeln(" </li>");
document.writeln(" <li>");
document.writeln(" 网站标识吗:87987987");
document.writeln(" </li>");
document.writeln(" <li>");
document.writeln(" 备案:陕IPC456465465");
document.writeln(" </li>");
document.writeln(" <li>");
document.writeln(" 陕公网备案:456465465");
document.writeln(" </li>");
document.writeln(" </ul>");
document.writeln(" <ol>");
document.writeln(" <li>");
document.writeln(" <img src=\'"+localhostPaht+"/staticImages/code.png\' alt=\'公众号\' />");
document.writeln(" <p>扫描关注公众号</p>");
document.writeln(" </li>");
document.writeln(" <li>");
document.writeln(" <img src=\'"+localhostPaht+"/staticImages/code.png\' alt=\'公众号\' />");
document.writeln(" <p>扫描关注公众号</p>");
document.writeln(" </li>");
document.writeln("");
document.writeln(" </ol>");
document.writeln(" </div>");
document.writeln(" </div>");
document.writeln("");
document.writeln("</body>");
document.writeln("");
document.writeln("</html>");
document.writeln("<script type='text/javascript' src=\'" + localhostPaht + "/staticLib/layui/layui.js\'></script>");
document.writeln("");