-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
301 lines (273 loc) · 12.2 KB
/
index.php
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<html><!-- InstanceBegin template="/Templates/wenjian.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<script>
//js上一页 下一页 代码
//说明:文件名必须是abc-123.htm的格式,分为四个部分:其中abc是任意名字;-是连字符不能少;123只能是数字;后缀必须是.htm
var url=window.location.href;
var n=url.split("/")[url.split("/").length-1].split(".")[0];
var num= n.replace(/[^0-9]/ig,"");
var pre=url.lastIndexOf("-")+1;
var pre2=url.substring(0,pre);
//上一页
function up(){
var pageno=num-1;
if(pageno==0){
alert("当前已经是第一页!");
return false;
}
window.location.href=pre2+pageno+".htm";
}
//下一页
function down(){
var pageno=num-(-1);
if(pageno==1000){
alert("当前已经是最后一页!");
return false;
}
window.location.href=pre2+pageno+".htm";
}
</script>
<script>
//js上一页 下一页 代码
//说明:文件名必须是abc-123.htm的格式,分为四个部分:其中abc是任意名字;-是连字符不能少;123只能是数字;后缀必须是.htm
var url=window.location.href;
var n=url.split("/")[url.split("/").length-1].split(".")[0];
var num= n.replace(/[^0-9]/ig,"");
var pre=url.lastIndexOf("-")+1;
var pre2=url.substring(0,pre);
//上一页
function up(){
var pageno=num-1;
if(pageno==0){
alert("当前已经是第一页!");
return false;
}
window.location.href=pre2+pageno+".htm";
}
//下一页
function down(){
var pageno=num-(-1);
if(pageno==1000){
alert("当前已经是最后一页!");
return false;
}
window.location.href=pre2+pageno+".htm";
}
</script>
<!-- InstanceBeginEditable name="doctitle" -->
<title></title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="佛教与佛学,菩提道次第,佛教文艺,佛教心理学,禅定与禅修,buda
">
<link href="../../puti.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<!-- putixin.com Baidu tongji analytics -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?13dd5c046c14d2de56c550ab86bb904e";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- InstanceBeginEditable name="EditRegion4" --> <!-- InstanceEndEditable -->
<!-- InstanceBeginEditable char="EditRegion5" --> <!-- InstanceEndEditable -->
<div id="Layer2" style="position:absolute; left:13px; top:14px; width:65px; height:65px; z-index:9; visibility: visible;" class="font4"><img src="../../images/index-logo.gif" width="65" height="65" border="0"></div>
<table width="778" height="52" border="0" cellpadding="0" cellspacing="0" bgcolor="#FEF1DA">
<!--DWLayoutTable-->
<tbody>
<tr>
<td width="75" height="52"></td>
<td width="703"><img src="../../fls/images/daoshi-t1.jpg" width="704" height="57"></td>
</tr>
</tbody>
</table>
<table width="778" border="0" cellpadding="0" cellspacing="0" bgcolor="#FEF1DA">
<!--DWLayoutTable-->
<tbody>
<tr>
<td width="55" height="20" class="font2"></td>
<td width="18" bgcolor="#556aa7" class="font2"></td>
<td width="169" height="20" bgcolor="#556aa7" class="font4"> <div align="center"><font color="#FFFFFF">www.putixin.com</font></div></td>
<td width="27" valign="bottom" bgcolor="#00468e"> <div align="center"></div></td>
<td width="159" valign="bottom" bgcolor="#00468e"> <div align="center"><a href="../../index.htm" class="BAR">返回《一日一读》</a></div></td>
<td width="153" align="left" valign="bottom" bgcolor="#00468e"> <div align="center"><a href="../con-index.htm" class="BAR">返回《连载专栏》</a></div></td>
<td width="197" align="left" valign="bottom" bgcolor="#00468e"><!--DWLayoutEmptyCell--> </td>
</tr>
</tbody>
</table>
<table width="778" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<!-- InstanceBeginEditable name="EditRegion7" -->
<tr>
<td width="30" valign="top" bgcolor="#FFE7B9" ><div id="Layer6" style="position:absolute; width:187px; height:44px; z-index:18; left: 38px; top: 87px;">
<p align="center" class="p13"><font color="#008800" face="宋体"> <span class="p13-6"><a href="http://www.putixin.com/art" target="_blank"><font color="#FF0000">佛教文艺演出</font></a></span><br>
<a href="http://www.putixin.com/art" target="_blank">(视频在线播放)</a></font></p>
</div></td>
<td width="202" valign="top" bgcolor="#FFDFA4" ><table width="212" height="212" border="0">
<tr>
<td width="212" height="40"><p> </p>
<p> </p></td>
</tr>
</table>
<table width="201" height="56" border="3" align="center" cellpadding="0" cellspacing="3" bordercolor="#FCD38F" bgcolor="#FFECC8">
<tr>
<td height="25" colspan="2" align="center" valign="middle"> <div align="center" class="p13"><a href="../con-index.htm"><font color="#008080"><strong>连载专栏</strong></font></a></div></td>
</tr>
<tr>
<td width="93" height="25" align="center" valign="middle"> <div align="center"><a href="../../index.htm" class="BAR2" onFocus="if(this.blur)this.blur()">首页(一日一读)</a></div></td>
<td width="89" align="center" valign="middle"><a href="../con-index.htm#fxjj" class="BAR2" onFocus="if(this.blur)this.blur()">佛学讲记</a></td>
</tr>
<tr>
<td height="25" align="center" valign="middle"><a href="../con-index.htm#zcll" class="BAR2" onFocus="if(this.blur)this.blur()">政策理论</a></td>
<td align="center" valign="middle"><a href="../con-index.htm#wx" class="BAR2" onFocus="if(this.blur)this.blur()">文
学</a></td>
</tr>
<tr>
<td height="25" align="center" valign="middle"><a href="../con-index.htm#dtbd" class="BAR2" onFocus="if(this.blur)this.blur()">动态报道</a></td>
<td align="center" valign="middle"><a href="http://www.putixin.com/psy" class="BAR2" onFocus="if(this.blur)this.blur()">佛教心理学</a></td>
</tr>
<tr>
<td height="25" align="center" valign="middle"><a href="../con-index.htm#jsfj" class="BAR2" onFocus="if(this.blur)this.blur()">介绍佛教</a></td>
<td align="center" valign="middle"><a href="http://www.putixin.com/chan/chan-index.htm" class="BAR2" onFocus="if(this.blur)this.blur()">佛学禅定</a></td>
</tr>
<tr>
<td height="25" align="center" valign="middle"><a href="../con-index.htm#jsft" class="BAR2" onFocus="if(this.blur)this.blur()">介绍佛陀</a></td>
<td align="center" valign="middle"><a href="../con-index.htm#fjgs" class="BAR2" onFocus="if(this.blur)this.blur()">佛教故事</a></td>
</tr>
<tr>
<td height="25" align="center" valign="middle"><a href="../con-index.htm#rwjs" class="BAR2" onFocus="if(this.blur)this.blur()">人物介绍</a></td>
<td align="center" valign="middle"><a href="../con-index.htm#shdjy" class="BAR2" onFocus="if(this.blur)this.blur()">生活的教育</a></td>
</tr>
<tr>
<td height="25" align="center" valign="middle"><a href="../con-index.htm#ymgy" class="BAR2" onFocus="if(this.blur)this.blur()">幽默格言</a></td>
<td align="center" valign="middle"><a href="../con-index.htm#hnwfj" class="BAR2" onFocus="if(this.blur)this.blur()">海内外佛教</a></td>
</tr>
</table>
</td>
<td width="1" bgcolor="#FFECC8"></td>
<td width="535" valign="top" bgcolor="#FFECC8"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr align="center" valign="middle" class="font10Copy2">
<td width="44%" height="33" align="left"><span class="font2"> </span></td>
<td width="10%"> </td>
<td width="46%" align="left"> <span class="font2"><a href="fptxxxgf-02.htm"></a></span></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="95%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr valign="top">
<td class="font6"></td>
</tr>
<tr>
<td height="103" valign="top">
<div align="center">
<?php
$doc = new DOMDocument;
$doc->preserveWhiteSpace = false;
$filename = basename(__FILE__);
$pre_filename = preg_split('/-/', $filename)[0];
//$doc->load($filename);
//$xpath = new DOMXPath($doc);
//$query = '/html/body/table[3]/tbody/tr/td[4]/table[3]/tbody/tr[2]/td/div/p[1]/span/strong/font/font';
?>
<p> </p>
<p class="font8"><font color="#750000">目录</font></p>
<p style="margin-top:-20" class="p13">──────────────────────────────</p>
<p style="margin-top:-20" class="font10"> </p>
</div></td>
</tr>
<tr class="p13">
<td height="1218" valign="top">
<div align="center">
<table width="95%" border="1" cellspacing="1">
<?php
$files = array_diff(scandir('.'), array('.', '..'));
sort($files, SORT_NATURAL);
$tr_times = 0;
foreach($files as $file){
$number = abs((int) filter_var($file, FILTER_SANITIZE_NUMBER_INT));
if($number == 0)
continue;
if($tr_times == 8){
echo '<td width="11%"><span class="font1"><a href="' . $file . '" >' . $number . '</a></span></td>';
echo '</tr>';
echo '<tr align="center" bordercolor="#FCD38F" bgcolor="#FFECC8"> ';
$tr_times = 0;
}else if ($tr_times == 0){
echo '<tr align="center" bordercolor="#FCD38F" bgcolor="#FFECC8"> ';
echo '<td width="11%"><span class="font1"><a href="' . $file . '" >' . $number . '</a></span></td>';
$tr_times ++;
}else{
echo '<td width="11%"><span class="font1"><a href="' . $file . '" >' . $number . '</a></span></td>';
$tr_times ++;
}
}
?>
</table>
<p align="left" class="h21copy1"> </p>
</div></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr align="center" valign="middle" class="font10Copy2">
<td width="44%" height="33" align="left"> </td>
<td width="10%"> </td>
<td width="46%" align="left"> </td>
</tr>
</table></td>
</tr>
<!-- InstanceEndEditable -->
</table>
<table width="778" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20" height="1" bgcolor="#ffecc8" class="font1"></td>
<td width="730" height="1" bgcolor="#666666" class="font1"></td>
<td width="28" height="1" bgcolor="#ffecc8" class="font1"></td>
</tr>
</table>
<table width="778" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFECC8">
<tr>
<td width="200" height="66"> </td>
<td width="61" rowspan="2" align="center" valign="middle"><a href="http://www.putixin.com" ><img src="/images/index-logo.gif" alt="佛教菩提心—佛教文化、佛学讲记、佛教心理、佛学禅定、佛教故事……" width="45" height="45" border="0"></a></td>
<td width="420" height="66" valign="bottom" class="font3">
<div align="center"><font color="#666666"><span class="font3"><font color="#555555"><img src="/images/email.jpg">
<font color="#555555">
</font></font></span><font color="#555555"><br>
<font color="#777777"><br>
</font><font color="#555555"><span class="font3copy">菩提心网站版权所有,转载请注明出处,翻印须征得本站授权</span></font><font color="#777777">
</font></font></font></div></td>
<td width="97" height="66" valign="bottom"> </td>
</tr>
<tr>
<td height="10"> </td>
<td height="10"> </td>
<td height="10"> </td>
</tr>
</table>
<!-- InstanceBeginRepeat name="RepeatRegion1" --><!-- InstanceBeginRepeatEntry -->
<!-- InstanceBeginEditable name="EditRegion6" -->
<div id="Layer5" style="position:absolute; width:100px; height:26px; z-index:26; left: 658px; top: 26px;"><span style="font-size: 9pt">
</span> <font color="#BF2600"> <a href="javascript%20StranBody();" id="StranLink" name="StranLink">繁體中文</a>
<br>
<script language="JavaScript1.1~JavaScript1.1" src="include/Language.js" type="text/javascript"></script>
</font></div>
<!-- InstanceEndEditable --><!-- InstanceEndRepeatEntry --><!-- InstanceEndRepeat -->
</body>
<!-- InstanceEnd --></html>