template.php
21.5 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
<?php
if(!defined('InEmpireCMS'))
{
exit();
}
//模板組
$gid=(int)$_GET['gid'];
if(!$gid)
{
if($ecms_config['sets']['deftempid'])
{
$gid=$ecms_config['sets']['deftempid'];
}
elseif($public_r['deftempid'])
{
$gid=$public_r['deftempid'];
}
else
{
$gid=1;
}
}
$tempgroup="";
$tgname="";
$tgsql=$empire->query("select gid,gname,isdefault from {$dbtbpre}enewstempgroup order by gid");
while($tgr=$empire->fetch($tgsql))
{
$tgselect="";
if($tgr['gid']==$gid)
{
$tgname=$tgr['gname'];
$tgselect=" selected";
}
$tempgroup.="<option value='".$tgr['gid']."'".$tgselect.">".$tgr['gname']."</option>";
}
if(empty($tgname))
{
printerror("ErrorUrl","");
}
?>
<!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="../../../data/menu/menu.css" rel="stylesheet" type="text/css">
<script src="../../../data/menu/menu.js" type="text/javascript"></script>
<SCRIPT lanuage="JScript">
function tourl(url){
parent.main.location.href=url;
}
</SCRIPT>
</head>
<body onLoad="initialize()">
<table border='0' cellspacing='0' cellpadding='0' align='center' width='100%'>
<tr>
<td>
<select name="selecttempgroup" onchange="self.location.href='left.php?<?=$ecms_hashur['ehref']?>&ecms=template&gid='+this.options[this.selectedIndex].value">
<?=$tempgroup?>
</select>
</td>
</tr>
</table>
<table border='0' cellspacing='0' cellpadding='0' align='center' width='100%'>
<tr>
<td height="20"><img src="images/noadd.gif" width="20" height="9"><a href="#empirecms" onclick="window.open('../../template/EnewsBq.php<?=$ecms_hashur['whehref']?>','','width=600,height=600,scrollbars=yes,resizable=yes');">查看標籤語法</a>
</td>
</tr>
<tr>
<td height="20"><img src="images/noadd.gif" width="20" height="9"><a href="#empirecms" onclick="window.open('../../template/MakeBq.php<?=$ecms_hashur['whehref']?>','','width=600,height=600,scrollbars=yes,resizable=yes');">自動生成標籤</a>
</td>
</tr>
</table>
<?php
if($ecms_config['esafe']['openeditdttemp']&&$r[dodttemp])
{
?>
<table border='0' cellspacing='0' cellpadding='0' align='center' width='100%'>
<tr>
<td height="20"><img src="images/noadd.gif" width="20" height="9"><a href="#empirecms" onclick="window.open('../../openpage/AdminPage.php?leftfile=<?=urlencode('../template/dttemppageleft.php'.$ecms_hashur['whehref'])?>&title=<?=urlencode('動態頁面模板管理')?><?=$ecms_hashur['ehref']?>','dttemppage','');">動態頁面模板管理</a>
</td>
</tr>
</table>
<?php
}
?>
<table border='0' cellspacing='0' cellpadding='0'>
<tr height=20>
<td id="home"><img src="../../../data/images/homepage.gif" border=0></td>
<td><b>模板管理</b></td>
</tr>
</table>
<table border='0' cellspacing='0' cellpadding='0'>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prindextemp" class="menu1" onclick="chengstate('indextemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">首頁模板</a>
</td>
</tr>
<tr id="itemindextemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=indextemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">首頁模板</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListIndexpage.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理首頁方案</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prclasstemp" class="menu1" onclick="chengstate('classtemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">封面模板</a>
</td>
</tr>
<tr id="itemclasstemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/ClassTempClass.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理封面模板分類</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListClasstemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理封面模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prlisttemp" class="menu1" onclick="chengstate('listtemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">列表模板</a>
</td>
</tr>
<tr id="itemlisttemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/ListtempClass.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理列表模板分類</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListListtemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理列表模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prnewstemp" class="menu1" onclick="chengstate('newstemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">內容模板</a>
</td>
</tr>
<tr id="itemnewstemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/NewstempClass.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理內容模板分類</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListNewstemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理內容模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prsearchtemp" class="menu1" onclick="chengstate('searchtemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">搜索模板</a>
</td>
</tr>
<tr id="itemsearchtemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/SearchtempClass.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理搜索模板分類</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListSearchtemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理搜索模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prbqtemp" class="menu1" onclick="chengstate('bqtemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">標籤模板</a>
</td>
</tr>
<tr id="itembqtemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/BqtempClass.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理標籤模板分類</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListBqtemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理標籤模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotempvar])
{
?>
<tr>
<td id="prtempvar" class="menu1" onclick="chengstate('tempvar')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">公共模板變量</a>
</td>
</tr>
<tr id="itemtempvar" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/TempvarClass.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理模板變量分類</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListTempvar.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理模板變量</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prpubtemp" class="menu1" onclick="chengstate('pubtemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">公共模板</a>
</td>
</tr>
<tr id="itempubtemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=cptemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">控制面板模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=schalltemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">全站搜索模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=searchformtemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">高級搜索表單模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=searchformjs&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">橫向搜索JS模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=searchformjs1&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">縱向搜索JS模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=otherlinktemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">相關信息模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=gbooktemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">留言板模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=pljstemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">評論JS調用模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=downpagetemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">最終下載頁模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=downsofttemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">下載地址模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=onlinemovietemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">在線播放地址模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=listpagetemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">列表分頁模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/EditPublicTemp.php?tname=loginiframe&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">登陸狀態模板</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/EditPublicTemp.php?tname=loginjstemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">JS調用登陸模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prjstemp" class="menu1" onclick="chengstate('jstemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">JS模板</a>
</td>
</tr>
<tr id="itemjstemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/JsTempClass.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理JS模板分類</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListJstemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理JS模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prpltemp" class="menu1" onclick="chengstate('pltemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">評論列表模板</a>
</td>
</tr>
<tr id="itempltemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/AddPltemp.php?enews=AddPlTemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">增加評論模板</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListPltemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理評論模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prprinttemp" class="menu1" onclick="chengstate('printtemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">打印模板</a>
</td>
</tr>
<tr id="itemprinttemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/AddPrinttemp.php?enews=AddPrintTemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">增加打印模板</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListPrinttemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理打印模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="pruserpagetemp" class="menu1" onclick="chengstate('userpagetemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">自定義頁面模板</a>
</td>
</tr>
<tr id="itemuserpagetemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/AddPagetemp.php?enews=AddPagetemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">增加自定義頁面模板</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListPagetemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理自定義頁面模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prvotetemp" class="menu1" onclick="chengstate('votetemp')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">投票模板</a>
</td>
</tr>
<tr id="itemvotetemp" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/AddVotetemp.php?enews=AddVoteTemp&gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">增加投票模板</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListVotetemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理投票模板</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dobq])
{
?>
<tr>
<td id="prbq" class="menu1" onclick="chengstate('bq')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">標籤</a>
</td>
</tr>
<tr id="itembq" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/BqClass.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理標籤分類</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/ListBq.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理標籤</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotempgroup])
{
?>
<tr>
<td id="prtempgroup" class="menu1" onclick="chengstate('tempgroup')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">模板組管理</a>
</td>
</tr>
<tr id="itemtempgroup" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file1">
<a href="../../template/TempGroup.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">導入/導出模板組</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if($r[dotemplate])
{
?>
<tr>
<td id="prtother" class="menu3" onclick="chengstate('tother')">
<a onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">其他相關</a>
</td>
</tr>
<tr id="itemtother" style="display:none">
<td class="list1">
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td class="file">
<a href="../../template/LoadTemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量導入欄目模板</a>
</td>
</tr>
<tr>
<td class="file">
<a href="../../template/ChangeListTemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量更換列表模板</a>
</td>
</tr>
<tr>
<td class="file1">
<a href="../../template/RepTemp.php?gid=<?=$gid?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量替換模板字符</a>
</td>
</tr>
</table>
</td>
</tr>
<?
}
?>
</table>
</body>
</html>