SetMoreClass.php
34.6 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
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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
<?php
define('EmpireCMSAdmin','1');
require("../class/connect.php");
require("../class/db_sql.php");
require("../class/functions.php");
$link=db_connect();
$empire=new mysqlquery();
//驗證用戶
$lur=is_login();
$logininid=$lur['userid'];
$loginin=$lur['username'];
$loginrnd=$lur['rnd'];
$loginlevel=$lur['groupid'];
$loginadminstyleid=$lur['adminstyleid'];
//ehash
$ecms_hashur=hReturnEcmsHashStrAll();
//驗證權限
CheckLevel($logininid,$loginin,$classid,"setmclass");
$r[newline]=10;
$r[hotline]=10;
$r[goodline]=10;
$r[hotplline]=10;
$r[firstline]=10;
$url="<a href=SetMoreClass.php".$ecms_hashur['whehref'].">批量設置欄目</a>";
//系統模型
$m_sql=$empire->query("select mid,mname,usemod from {$dbtbpre}enewsmod order by myorder,mid");
while($m_r=$empire->fetch($m_sql))
{
if(empty($m_r[usemod]))
{
if($m_r[mid]==$r[modid])
{$m_d=" selected";}
else
{$m_d="";}
$mod_options.="<option value=".$m_r[mid].$m_d.">".$m_r[mname]."</option>";
}
//列表模板
$listtemp_options.="<option value=0 style='background:#99C4E3'>".$m_r[mname]."</option>";
$lt_sql=$empire->query("select tempid,tempname from ".GetTemptb("enewslisttemp")." where modid='$m_r[mid]'");
while($lt_r=$empire->fetch($lt_sql))
{
if($lt_r[tempid]==$r[listtempid])
{$lt_d=" selected";}
else
{$lt_d="";}
$listtemp_options.="<option value=".$lt_r[tempid].$lt_d."> |-".$lt_r[tempname]."</option>";
}
//搜索模板
$searchtemp.="<option value=0 style='background:#99C4E3'>".$m_r[mname]."</option>";
$st_sql=$empire->query("select tempid,tempname from ".GetTemptb("enewssearchtemp")." where modid='$m_r[mid]'");
while($st_r=$empire->fetch($st_sql))
{
if($st_r[tempid]==$r[searchtempid])
{$st_d=" selected";}
else
{$st_d="";}
$searchtemp.="<option value=".$st_r[tempid].$st_d."> |-".$st_r[tempname]."</option>";
}
$newstemp_options.="<option value=0 style='background:#99C4E3'>".$m_r[mname]."</option>";
$nt_sql=$empire->query("select tempid,tempname from ".GetTemptb("enewsnewstemp")." where modid='$m_r[mid]'");
while($nt_r=$empire->fetch($nt_sql))
{
if($nt_r[tempid]==$r[newstempid])
{$nt_d=" selected";}
else
{$nt_d="";}
$newstemp_options.="<option value=".$nt_r[tempid].$nt_d."> |-".$nt_r[tempname]."</option>";
}
}
//會員組
$qgroup='';
$qgbr='';
$qgi=0;
$sql1=$empire->query("select groupid,groupname from {$dbtbpre}enewsmembergroup order by level");
while($l_r=$empire->fetch($sql1))
{
if($r[groupid]==$l_r[groupid])
{$select=" selected";}
else
{$select="";}
$group.="<option value=".$l_r[groupid].$select.">".$l_r[groupname]."</option>";
//投稿
$qgi++;
if($qgi%6==0)
{
$qgbr='<br>';
}
else
{
$qgbr='';
}
$qgchecked='';
if(strstr($r[qaddgroupid],','.$l_r[groupid].','))
{
$qgchecked=' checked';
}
$qgroup.="<input type=checkbox name=qaddgroupidck[] value='".$l_r[groupid]."'".$qgchecked.">".$l_r[groupname]." ".$br;
}
//封面模板
$classtempsql=$empire->query("select tempid,tempname from ".GetTemptb("enewsclasstemp")." order by tempid");
while($classtempr=$empire->fetch($classtempsql))
{
$select="";
if($r[classtempid]==$classtempr[tempid])
{
$select=" selected";
}
$classtemp.="<option value='".$classtempr[tempid]."'".$select.">".$classtempr[tempname]."</option>";
}
//js模板
$jstempsql=$empire->query("select tempid,tempname from ".GetTemptb("enewsjstemp")." order by tempid");
while($jstempr=$empire->fetch($jstempsql))
{
$select="";
if($r[jstempid]==$jstempr[tempid])
{
$select=" selected";
}
$jstemp.="<option value='".$jstempr[tempid]."'".$select.">".$jstempr[tempname]."</option>";
}
//評論模板
$pltempsql=$empire->query("select tempid,tempname from ".GetTemptb("enewspltemp")." order by tempid");
while($pltempr=$empire->fetch($pltempsql))
{
$select="";
if($r[pltempid]==$pltempr[tempid])
{
$select=" selected";
}
$pltemp.="<option value='".$pltempr[tempid]."'".$select.">".$pltempr[tempname]."</option>";
}
//WAP模板
$wapstyles='';
$wapstyle_sql=$empire->query("select styleid,stylename from {$dbtbpre}enewswapstyle order by styleid");
while($wapstyle_r=$empire->fetch($wapstyle_sql))
{
$select="";
if($r[wapstyleid]==$wapstyle_r[styleid])
{
$select=" selected";
}
$wapstyles.="<option value='".$wapstyle_r[styleid]."'".$select.">".$wapstyle_r[stylename]."</option>";
}
//預設投票
$infovotesql=$empire->query("select voteid,ysvotename from {$dbtbpre}enewsvotemod order by voteid desc");
while($infovoter=$empire->fetch($infovotesql))
{
$select="";
if($r[definfovoteid]==$infovoter[voteid])
{
$select=" selected";
}
$definfovote.="<option value='".$infovoter[voteid]."'".$select.">".$infovoter[ysvotename]."</option>";
}
//--------------------操作的欄目
$fcfile="../data/fc/ListEnews.php";
$do_class="<script src=../data/fc/cmsclass.js></script>";
if(!file_exists($fcfile))
{$do_class=ShowClass_AddClass("","n",0,"|-",0,0);}
db_close();
$empire=null;
//當前使用的模板組
$thegid=GetDoTempGid();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>批量設置欄目</title>
<link href="adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td height="25">位置:<?=$url?></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
<form name="form1" method="post" action="ecmsclass.php" onsubmit="return confirm('確認要操作?');">
<?=$ecms_hashur['form']?>
<tr class="header">
<td height="25" colspan="2"><div align="center">批量設置欄目屬性</div></td>
</tr>
<tr>
<td width="23%" height="25" valign="top" bgcolor="#FFFFFF">
<div align="center">
<select name="classid[]" size="73" multiple id="classid[]" style="width:180">
<?=$do_class?>
</select>
<br>
選擇多個欄目請用CTRL/SHIFT</div></td>
<td width="77%" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="3" cellspacing="1" class="tableborder">
<tr bgcolor="#FFFFFF">
<td height="25"><div align="center">修改</div></td>
<td colspan="2">設置項目</td>
</tr>
<tr class="header">
<td width="6%" height="25"> <div align="center"></div></td>
<td colspan="2"><font class=tabcolor><strong>基本屬性設置</strong></font></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input name="doclasstype" type="checkbox" id="doclasstype" value="1">
</div></td>
<td width="23%" bgcolor="#FFFFFF">欄目文件擴展名</td>
<td width="71%" bgcolor="#FFFFFF"> <input name="classtype" type="text" id="classtype" value=".html" size="10">
<select name="select" onchange="document.form1.classtype.value=this.value">
<option value=".html">擴展名</option>
<option value=".html">.html</option>
<option value=".htm">.htm</option>
<option value=".php">.php</option>
<option value=".shtml">.shtml</option>
</select> </td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dolisttempid" type="checkbox" id="dolisttempid" value="1">
</div></td>
<td bgcolor="#FFFFFF">所屬列表模板</td>
<td bgcolor="#FFFFFF"><select name="listtempid" id="listtempid">
<?=$listtemp_options?>
</select> <input type="button" name="Submit6222" value="管理列表模板" onclick="window.open('template/ListListtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dodtlisttempid" type="checkbox" value="1">
</div></td>
<td bgcolor="#FFFFFF">動態列表模板</td>
<td bgcolor="#FFFFFF"><select name="dtlisttempid">
<?=$listtemp_options?>
</select> <input type="button" name="Submit62226" value="管理列表模板" onclick="window.open('template/ListListtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');">
</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="domaxnum" type="checkbox" id="dobmaxnum" value="1">
</div></td>
<td bgcolor="#FFFFFF">顯示總記錄數</td>
<td bgcolor="#FFFFFF"><input name="maxnum" type="text" id="maxnum" value="0" size="5">
條<font color="#666666">(0為顯示所有記錄)</font></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dolencord" type="checkbox" id="domaxnum" value="1">
</div></td>
<td bgcolor="#FFFFFF">每頁顯示記錄數</td>
<td bgcolor="#FFFFFF"><input name="lencord" type="text" id="lencord" value="25" size="5">
條</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input name="dosearchtempid" type="checkbox" id="dosearchtempid" value="1">
</div></td>
<td bgcolor="#FFFFFF">搜索模板</td>
<td bgcolor="#FFFFFF"> <select name="searchtempid" id="searchtempid">
<option value="0">使用默認模板 </option>
<?=$searchtemp?>
</select> <input type="button" name="Submit62" value="管理搜索模板" onclick="window.open('template/ListSearchtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dowapstyleid" type="checkbox" id="dowapstyleid" value="1">
</div></td>
<td bgcolor="#FFFFFF">WAP模板</td>
<td bgcolor="#FFFFFF"><select name="wapstyleid" id="wapstyleid">
<option value="0">使用默認模板</option>
<?=$wapstyles?>
</select> <input type="button" name="Submit6232" value="管理WAP模板" onclick="window.open('other/WapStyle.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input name="dolistorder" type="checkbox" id="dosearchtempid3" value="1">
</div></td>
<td bgcolor="#FFFFFF">管理信息排序方式</td>
<td bgcolor="#FFFFFF">
<input name="listorder" type="text" id="listorder" value="id DESC" size="38">
</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input name="doreorder" type="checkbox" id="doreorder" value="1">
</div></td>
<td bgcolor="#FFFFFF">列表式頁面排序方式</td>
<td bgcolor="#FFFFFF">
<input name="reorder" type="text" id="reorder" value="newstime DESC" size="38">
</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input name="dolistdt" type="checkbox" id="dolistdt" value="1">
</div></td>
<td bgcolor="#FFFFFF">欄目頁模式</td>
<td bgcolor="#FFFFFF"> <input type="radio" name="listdt" value="0"<?=$r[listdt]==0?' checked':''?>>
靜態頁面
<input type="radio" name="listdt" value="1"<?=$r[listdt]==1?' checked':''?>>
動態頁面</td>
</tr>
<tr>
<td height="24" bgcolor="#FFFFFF"> <div align="center">
<input name="doshowdt" type="checkbox" id="doshowdt" value="1">
</div></td>
<td bgcolor="#FFFFFF">內容頁模式</td>
<td bgcolor="#FFFFFF"> <input type="radio" name="showdt" value="0"<?=$r[showdt]==0?' checked':''?>>
靜態頁面
<input type="radio" name="showdt" value="1"<?=$r[showdt]==1?' checked':''?>>
動態生成
<input type="radio" name="showdt" value="2"<?=$r[showdt]==2?' checked':''?>>
動態頁面</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input name="doshowclass" type="checkbox" id="doshowclass" value="1">
</div></td>
<td bgcolor="#FFFFFF">是否顯示到導航</td>
<td bgcolor="#FFFFFF"> <input type="radio" name="showclass" value="0"<?=$r[showclass]==0?' checked':''?>>
是
<input type="radio" name="showclass" value="1"<?=$r[showclass]==1?' checked':''?>>
否<font color="#666666"> </font><font color="#666666">(如:導航標籤,地圖標籤)</font></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doopenadd" type="checkbox" id="doopenadd" value="1">
</div></td>
<td bgcolor="#FFFFFF">開放投稿功能</td>
<td bgcolor="#FFFFFF"><input name="openadd" type="radio" value="0" checked<?=$openadd0?>>
是
<input type="radio" name="openadd" value="1"<?=$openadd1?>>
否</td>
</tr>
<tr class="header">
<td height="25"> <div align="center"></div></td>
<td colspan="2"><strong>選項設置[大欄目]</strong></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doclasstempid" type="checkbox" id="doclasstempid" value="1">
</div></td>
<td bgcolor="#FFFFFF">封面模板</td>
<td bgcolor="#FFFFFF"><select name="classtempid">
<?=$classtemp?>
</select> <input type="button" name="Submit62232" value="管理封面模板" onclick="window.open('template/ListClasstemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');">
</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input name="doislist" type="checkbox" id="doshowclass3" value="1">
</div></td>
<td bgcolor="#FFFFFF">列表式</td>
<td bgcolor="#FFFFFF"><input type="radio" name="islist" value="0"<?=$r[islist]==0?' checked':''?>>
封面式
<input type="radio" name="islist" value="1"<?=$r[islist]==1?' checked':''?>>
列表式
<input type="radio" name="islist" value="2"<?=$r[islist]==2?' checked':''?>>
頁面內容式</td>
</tr>
<tr class="header">
<td height="25"> <div align="center"></div></td>
<td colspan="2"><strong>選項設置[終極欄目]</strong></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="donewstempid" type="checkbox" id="donewstempid" value="1">
</div></td>
<td bgcolor="#FFFFFF">所屬內容模板</td>
<td bgcolor="#FFFFFF"><select name="newstempid" id="newstempid">
<?=$newstemp_options?>
</select> <input type="button" name="Submit62222" value="管理內容模板" onclick="window.open('template/ListNewstemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');">
(
<input name="tobetempinfo" type="checkbox" id="tobetempinfo" value="1">
應用於已生成的信息)</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dopltempid" type="checkbox" id="dopltempid" value="1">
</div></td>
<td bgcolor="#FFFFFF">所屬評論模板</td>
<td bgcolor="#FFFFFF"><select name="pltempid" id="pltempid">
<option value="0">使用默認模板 </option>
<?=$pltemp?>
</select> <input type="button" name="Submit623" value="管理評論模板" onclick="window.open('template/ListPltemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dolink_num" type="checkbox" id="dolencord" value="1">
</div></td>
<td bgcolor="#FFFFFF">相關鏈接顯示記錄數</td>
<td bgcolor="#FFFFFF"><input name="link_num" type="text" id="link_num" value="10" size="5">
條<font color="#666666">(0為不生成相關鏈接)</font></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doinfopath" type="checkbox" id="doinfopath" value="1">
</div></td>
<td bgcolor="#FFFFFF">內容頁存放目錄</td>
<td bgcolor="#FFFFFF"><input type="radio" name="infopath" value="0"<?=$r[ipath]==''?' checked':''?>>
欄目目錄
<input type="radio" name="infopath" value="1"<?=$r[ipath]<>''?' checked':''?>>
自定義: /
<input name="ipath" type="text" id="ipath" value="<?=$r[ipath]?>">
<font color="#666666">(從根目錄開始)</font></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="donewspath" type="checkbox" id="dolink_num" value="1">
</div></td>
<td bgcolor="#FFFFFF">信息頁目錄存放形式</td>
<td bgcolor="#FFFFFF"><input name="newspath" type="text" id="newspath" value="<?=$r[newspath]?>" size="10">
<select name="select2" onchange="document.form1.newspath.value=this.value">
<option value="Y-m-d">選擇</option>
<option value="Y-m-d">2005-01-27</option>
<option value="Y/m-d">2005/01-27</option>
<option value="Y/m/d">2005/01/27</option>
<option value="Ymd">20050127</option>
<option value="">不設置目錄</option>
</select> <font color="#666666">(如Y-m-d,Y/m-d,Ymd等形式)</font></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dofilename_qz" type="checkbox" id="donewspath" value="1">
</div></td>
<td bgcolor="#FFFFFF">信息頁文件名前綴</td>
<td bgcolor="#FFFFFF"> <input name="filename_qz" type="text" id="filename_qz" value="<?=$r[filename_qz]?>" size="15">
</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dofilename" type="checkbox" id="dofilename" value="1">
</div></td>
<td bgcolor="#FFFFFF">信息頁文件命名規則</td>
<td bgcolor="#FFFFFF"><input name="filename" type="radio" value="0" checked>
信息ID
<input type="radio" name="filename" value="1">
time()
<input type="radio" name="filename" value="2">
md5()
<input type="radio" name="filename" value="3">
目錄</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dofiletype" type="checkbox" id="dofiletype" value="1">
</div></td>
<td bgcolor="#FFFFFF">信息頁文件擴展名</td>
<td bgcolor="#FFFFFF"><input name="filetype" type="text" id="filetype" value=".html" size="10">
<select name="select3" onchange="document.form1.filetype.value=this.value">
<option value=".html">擴展名</option>
<option value=".html">.html</option>
<option value=".htm">.htm</option>
<option value=".php">.php</option>
<option value=".shtml">.shtml</option>
</select>
(如.html,.xml,.htm等)</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doopenpl" type="checkbox" id="doopenpl" value="1">
</div></td>
<td bgcolor="#FFFFFF">是否開放評論功能</td>
<td bgcolor="#FFFFFF"><input name="openpl" type="radio" value="0" checked<?=$openpl0?>>
是
<input type="radio" name="openpl" value="1"<?=$openpl1?>>
否</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="docheckpl" type="checkbox" id="docheckpl" value="1">
</div></td>
<td bgcolor="#FFFFFF">評論需要審核</td>
<td bgcolor="#FFFFFF"><input name="checkpl" type="checkbox" id="checkpl2" value="1"<?=$checkpl?>>
是</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doqaddshowkey" type="checkbox" id="docheckpl3" value="1">
</div></td>
<td bgcolor="#FFFFFF">投稿開啟驗證碼</td>
<td bgcolor="#FFFFFF"><input name="qaddshowkey" type="checkbox" id="qaddshowkey2" value="1"<?=$r['qaddshowkey']==1?' checked':''?>>
是 </td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="docheckqadd" type="checkbox" id="doqaddshowkey" value="1">
</div></td>
<td bgcolor="#FFFFFF">投稿需要審核</td>
<td bgcolor="#FFFFFF"><input name="checkqadd" type="checkbox" id="checkqadd2" value="1"<?=$r['checkqadd']==1?' checked':''?>>
直接通過審核</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doqaddgroupid" type="checkbox" id="doqaddgroupid" value="1">
</div></td>
<td bgcolor="#FFFFFF">投稿權限</td>
<td bgcolor="#FFFFFF">
<?=$qgroup?>
</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doqaddlist" type="checkbox" id="doqaddlist" value="1">
</div></td>
<td bgcolor="#FFFFFF">投稿生成列表</td>
<td bgcolor="#FFFFFF"><select name="qaddlist" id="qaddlist">
<option value="0"<?=$r['qaddlist']==0?' selected':''?>>不生成</option>
<option value="1"<?=$r['qaddlist']==1?' selected':''?>>生成當前欄目</option>
<option value="2"<?=$r['qaddlist']==2?' selected':''?>>生成首頁</option>
<option value="3"<?=$r['qaddlist']==3?' selected':''?>>生成父欄目</option>
<option value="4"<?=$r['qaddlist']==4?' selected':''?>>生成當前欄目與父欄目</option>
<option value="5"<?=$r['qaddlist']==5?' selected':''?>>生成父欄目與首頁</option>
<option value="6"<?=$r['qaddlist']==6?' selected':''?>>生成當前欄目、父欄目與首頁</option>
</select></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doaddinfofen" type="checkbox" id="doaddinfofen" value="1">
</div></td>
<td bgcolor="#FFFFFF">單篇投稿審核後獲得</td>
<td bgcolor="#FFFFFF"><input name="addinfofen" type="text" id="addinfofen" value="<?=$r[addinfofen]?>" size="6">
點數 <font color="#666666">(不增加請設為0,扣點請設為負數)</font></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doadminqinfo" type="checkbox" id="doadminqinfo" value="1">
</div></td>
<td bgcolor="#FFFFFF">管理投稿</td>
<td bgcolor="#FFFFFF"><strong>
<select name="adminqinfo" id="adminqinfo">
<option value="0"<?=$r['adminqinfo']==0?' selected':''?>>不能管理信息</option>
<option value="1"<?=$r['adminqinfo']==1?' selected':''?>>可管理未審核信息</option>
<option value="2"<?=$r['adminqinfo']==2?' selected':''?>>只可編輯未審核信息</option>
<option value="3"<?=$r['adminqinfo']==3?' selected':''?>>只可刪除未審核信息</option>
<option value="4"<?=$r['adminqinfo']==4?' selected':''?>>可管理所有信息</option>
<option value="5"<?=$r['adminqinfo']==5?' selected':''?>>只可編輯所有信息</option>
<option value="6"<?=$r['adminqinfo']==6?' selected':''?>>只可刪除所有信息</option>
</select>
</strong></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doqeditchecked" type="checkbox" id="doqeditchecked" value="1">
</div></td>
<td bgcolor="#FFFFFF">編輯投稿需要審核</td>
<td bgcolor="#FFFFFF"><strong>
<input name="qeditchecked" type="checkbox" id="qeditchecked" value="1"<?=$r['qeditchecked']==1?' checked':''?>>
</strong>是</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doaddreinfo" type="checkbox" id="doaddreinfo" value="1">
</div></td>
<td bgcolor="#FFFFFF">發佈信息生成內容頁</td>
<td bgcolor="#FFFFFF"><input name="addreinfo" type="checkbox" id="addreinfo" value="1"<?=$r['addreinfo']==1?' checked':''?>>
是</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dohaddlist" type="checkbox" id="dohaddlist" value="1">
</div></td>
<td bgcolor="#FFFFFF">發佈信息生成列表</td>
<td bgcolor="#FFFFFF"><select name="haddlist" id="haddlist">
<option value="0"<?=$r['haddlist']==0?' selected':''?>>不生成</option>
<option value="1"<?=$r['haddlist']==1?' selected':''?>>生成當前欄目</option>
<option value="2"<?=$r['haddlist']==2?' selected':''?>>生成首頁</option>
<option value="3"<?=$r['haddlist']==3?' selected':''?>>生成父欄目</option>
<option value="4"<?=$r['haddlist']==4?' selected':''?>>生成當前欄目與父欄目</option>
<option value="5"<?=$r['haddlist']==5?' selected':''?>>生成父欄目與首頁</option>
<option value="6"<?=$r['haddlist']==6?' selected':''?>>生成當前欄目、父欄目與首頁</option>
</select></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dosametitle" type="checkbox" id="dosametitle" value="1">
</div></td>
<td bgcolor="#FFFFFF">檢測標題重複</td>
<td bgcolor="#FFFFFF"><input name="sametitle" type="checkbox" id="sametitle" value="1"<?=$r['sametitle']==1?' checked':''?>>
是</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dochecked" type="checkbox" id="dochecked" value="1">
</div></td>
<td bgcolor="#FFFFFF">發佈信息是否直接審核</td>
<td bgcolor="#FFFFFF"><input name="checked" type="checkbox" id="checked" value="1"<?=$checked?>>
是</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dorepreinfo" type="checkbox" id="dorepreinfo" value="1">
</div></td>
<td bgcolor="#FFFFFF">發佈信息生成上一篇信息</td>
<td bgcolor="#FFFFFF"><input name="repreinfo" type="checkbox" id="repreinfo" value="1"<?=$r[repreinfo]==1?' checked':''?>>
是</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dodefinfovoteid" type="checkbox" id="dodefinfovoteid" value="1">
</div></td>
<td bgcolor="#FFFFFF">信息預設投票</td>
<td bgcolor="#FFFFFF"><select name="definfovoteid" id="definfovoteid">
<option value="0">不設置</option>
<?=$definfovote?>
</select> <input type="button" name="Submit622" value="管理預設投票" onclick="window.open('other/ListVoteMod.php<?=$ecms_hashur['whehref']?>');">
<font color="#666666"> </font></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dogroupid" type="checkbox" id="dogroupid" value="1">
</div></td>
<td bgcolor="#FFFFFF">默認查看信息權限</td>
<td bgcolor="#FFFFFF"><select name="groupid" id="groupid">
<option value="0">遊客</option>
<?=$group?>
</select> <font color="#666666">(增加信息時默認的會員組權限)</font></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dodoctime" type="checkbox" id="dodoctime" value="1">
</div></td>
<td bgcolor="#FFFFFF">歸檔時間</td>
<td bgcolor="#FFFFFF">歸檔大於
<input name="doctime" type="text" id="doctime" value="100" size="6">
天的信息<font color="#666666">(0為不歸檔)</font></td>
</tr>
<tr class="header">
<td height="25"> <div align="center"></div></td>
<td colspan="2"><strong>特殊模型設置</strong></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dodown_num" type="checkbox" id="dodown_num" value="1">
</div></td>
<td bgcolor="#FFFFFF">下載/影視模型</td>
<td bgcolor="#FFFFFF">每行顯示
<input name="down_num" type="text" id="link_num3" value="1" size="5">
個下載地址</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="doonline_num" type="checkbox" id="do3" value="1">
</div></td>
<td bgcolor="#FFFFFF">影視模型</td>
<td bgcolor="#FFFFFF">每行顯示
<input name="online_num" type="text" id="down_num" value="1" size="5">
個在線觀看地址</td>
</tr>
<tr class="header">
<td height="25"> <div align="center"></div></td>
<td colspan="2"><strong>JS調用設置</strong></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dojstempid" type="checkbox" id="doonline_num" value="1">
</div></td>
<td bgcolor="#FFFFFF">所用JS模板</td>
<td bgcolor="#FFFFFF"><select name="jstempid" id="jstempid">
<?=$jstemp?>
</select> <input type="button" name="Submit62223" value="管理JS模板" onclick="window.open('template/ListJstemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');"></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="donewjs" type="checkbox" id="dojstempid" value="1">
</div></td>
<td bgcolor="#FFFFFF">最新信息js設置</td>
<td bgcolor="#FFFFFF">調用
<input name="newline" type="text" id="newline" value="<?=$r[newline]?>" size="6">
條記錄</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dohotjs" type="checkbox" id="do4" value="1">
</div></td>
<td bgcolor="#FFFFFF">熱門信息js設置</td>
<td bgcolor="#FFFFFF">調用
<input name="hotline" type="text" id="hotline" value="<?=$r[hotline]?>" size="6">
條記錄</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dogoodjs" type="checkbox" id="do5" value="1">
</div></td>
<td bgcolor="#FFFFFF">推薦信息js設置</td>
<td bgcolor="#FFFFFF">調用
<input name="goodline" type="text" id="goodline" value="<?=$r[goodline]?>" size="6">
條記錄</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dohotpljs" type="checkbox" id="do6" value="1">
</div></td>
<td bgcolor="#FFFFFF">熱門評論信息js設置</td>
<td bgcolor="#FFFFFF">調用
<input name="hotplline" type="text" id="hotplline" value="<?=$r[hotplline]?>" size="6">
條記錄</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">
<input name="dofirstjs" type="checkbox" id="do7" value="1">
</div></td>
<td bgcolor="#FFFFFF">頭條信息js設置</td>
<td bgcolor="#FFFFFF">調用
<input name="firstline" type="text" id="firstline" value="<?=$r[firstline]?>" size="6">
條記錄</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"> <div align="center"> </div></td>
<td colspan="2"> <input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="重置">
<input name="enews" type="hidden" id="enews" value="SetMoreClass"></td>
</tr>
</table></td>
</tr>
</form>
</table>
</body>
</html>