4.php
6.01 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
<?php
if(!defined('InEmpireCMS'))
{
exit();
}
?><table width=100% align=center cellpadding=3 cellspacing=1 class=tableborder>
<tr>
<td width=16% height=25 bgcolor=ffffff>作品名(*)</td>
<td bgcolor=ffffff>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#DBEAF5">
<tr>
<td height="25" bgcolor="#FFFFFF">
<?=$tts?"<select name='ttid'><option value='0'>標題分類</option>$tts</select>":""?>
<input type=text name=title value="<?=ehtmlspecialchars(stripSlashes($r[title]))?>" size="60">
<input type="button" name="button" value="圖文" onclick="document.add.title.value=document.add.title.value+'(圖文)';">
</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">屬性:
<input name="titlefont[b]" type="checkbox" value="b"<?=$titlefontb?>>粗體
<input name="titlefont[i]" type="checkbox" value="i"<?=$titlefonti?>>斜體
<input name="titlefont[s]" type="checkbox" value="s"<?=$titlefonts?>>刪除線
顏色: <input name="titlecolor" type="text" value="<?=stripSlashes($r[titlecolor])?>" size="10"><a onclick="foreColor();"><img src="../data/images/color.gif" width="21" height="21" align="absbottom"></a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width='16%' height=25 bgcolor='ffffff'>特殊屬性</td>
<td bgcolor='ffffff'>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#DBEAF5">
<tr>
<td height="25" bgcolor="#FFFFFF">信息屬性:
<input name="checked" type="checkbox" value="1"<?=$r[checked]?' checked':''?>>
審核 推薦
<select name="isgood" id="isgood">
<option value="0">不推薦</option>
<?=$ftnr['igname']?>
</select>
頭條
<select name="firsttitle" id="firsttitle">
<option value="0">非頭條</option>
<?=$ftnr['ftname']?>
</select></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">關鍵字 :
<input name="keyboard" type="text" size="52" value="<?=stripSlashes($r[keyboard])?>">
<font color="#666666">(多個請用","隔開)</font></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">外部鏈接:
<input name="titleurl" type="text" value="<?=stripSlashes($r[titleurl])?>" size="52">
<font color="#666666">(填寫後信息連接地址將為此鏈接)</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=16% height=25 bgcolor=ffffff>發佈時間</td>
<td bgcolor=ffffff>
<input name="newstime" type="text" value="<?=$r[newstime]?>"><input type=button name=button value="設為當前時間" onclick="document.add.newstime.value='<?=$todaytime?>'">
</td>
</tr>
<tr>
<td width=16% height=25 bgcolor=ffffff>作品預覽圖</td>
<td bgcolor=ffffff><input name="titlepic" type="text" id="titlepic" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[titlepic]))?>" size="45">
<a onclick="window.open('ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic<?=$ecms_hashur[ehref]?>','','width=700,height=550,scrollbars=yes');" title="選擇已上傳的圖片"><img src="../data/images/changeimg.gif" border="0" align="absbottom"></a>
</td>
</tr>
<tr>
<td width=16% height=25 bgcolor=ffffff>作者</td>
<td bgcolor=ffffff><input name="flashwriter" type="text" id="flashwriter" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[flashwriter]))?>" size="60">
</td>
</tr>
<tr>
<td width=16% height=25 bgcolor=ffffff>作者郵箱</td>
<td bgcolor=ffffff><input name="email" type="text" id="email" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[email]))?>" size="60">
</td>
</tr>
<tr>
<td width=16% height=25 bgcolor=ffffff>作品評價</td>
<td bgcolor=ffffff><select name="star" id="star"><option value="1"<?=$r[star]=="1"?' selected':''?>>1星</option><option value="2"<?=$r[star]=="2"||$ecmsfirstpost==1?' selected':''?>>2星</option><option value="3"<?=$r[star]=="3"?' selected':''?>>3星</option><option value="4"<?=$r[star]=="4"?' selected':''?>>4星</option><option value="5"<?=$r[star]=="5"?' selected':''?>>5星</option></select></td>
</tr>
<tr>
<td width=16% height=25 bgcolor=ffffff>文件大小</td>
<td bgcolor=ffffff><input name="filesize" type="text" id="filesize" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[filesize]))?>" size="60">
<select name="select" onchange="document.add.filesize.value+=this.value">
<option value="">單位</option>
<option value=" MB">MB</option>
<option value=" KB">KB</option>
<option value=" GB">GB</option>
<option value=" BYTES">BYTES</option>
</select></td>
</tr>
<tr>
<td width=16% height=25 bgcolor=ffffff>Flash地址(*)</td>
<td bgcolor=ffffff><input name="flashurl" type="text" id="flashurl" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[flashurl]))?>" size="45">
<a onclick="window.open('ecmseditor/FileMain.php?type=2&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=flashurl<?=$ecms_hashur[ehref]?>','','width=700,height=550,scrollbars=yes');" title="選擇已上傳的FLASH"><img src="../data/images/changeflash.gif" border="0" align="absbottom"></a>
</td>
</tr>
<tr>
<td width=16% height=25 bgcolor=ffffff>Flash規格</td>
<td bgcolor=ffffff><input name="width" type="text" id="width" value="<?=$ecmsfirstpost==1?"600":ehtmlspecialchars(stripSlashes($r[width]))?>" size="6">
*<input name="height" type="text" id="height" value="<?=$ecmsfirstpost==1?"450":ehtmlspecialchars(stripSlashes($r[height]))?>" size="6">
<font color="#666666">(寬度*高度)</font></td>
</tr>
<tr>
<td width=16% height=25 bgcolor=ffffff>作品簡介(*)</td>
<td bgcolor=ffffff><textarea name="flashsay" cols="80" rows="10" id="flashsay"><?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[flashsay]))?></textarea>
</td>
</tr>
</table>