3
<!-- IF _file.S_DENIED -->
4
<p>[{_file.DENIED_MESSAGE}]</p>
7
<!-- IF _file.S_THUMBNAIL -->
9
<dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
10
<!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
15
<!-- IF _file.S_IMAGE -->
17
<dt class="attach-image"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt>
18
<!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
19
<dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
23
<!-- IF _file.S_FILE -->
25
<dt><!-- IF _file.UPLOAD_ICON -->{_file.UPLOAD_ICON} <!-- ENDIF --><a class="postlink" href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a></dt>
26
<!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
27
<dd>({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
33
<!-- IF _file.S_WM_FILE -->
34
<!-- method used here from http://alistapart.com/articles/byebyeembed / autosizing seems to not work always, this will not fix -->
35
<object width="320" height="285" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="wmstream_{_file.ATTACH_ID}">
36
<param name="url" value="{_file.U_DOWNLOAD_LINK}" />
37
<param name="showcontrols" value="1" />
38
<param name="showdisplay" value="0" />
39
<param name="showstatusbar" value="0" />
40
<param name="autosize" value="1" />
41
<param name="autostart" value="0" />
42
<param name="visible" value="1" />
43
<param name="animationstart" value="0" />
44
<param name="loop" value="0" />
45
<param name="src" value="{_file.U_DOWNLOAD_LINK}" />
47
<object width="320" height="285" type="video/x-ms-wmv" data="{_file.U_DOWNLOAD_LINK}">
48
<param name="src" value="{_file.U_DOWNLOAD_LINK}" />
49
<param name="controller" value="1" />
50
<param name="showcontrols" value="1" />
51
<param name="showdisplay" value="0" />
52
<param name="showstatusbar" value="0" />
53
<param name="autosize" value="1" />
54
<param name="autostart" value="0" />
55
<param name="visible" value="1" />
56
<param name="animationstart" value="0" />
57
<param name="loop" value="0" />
62
<!-- ELSEIF _file.S_FLASH_FILE -->
63
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="{_file.WIDTH}" height="{_file.HEIGHT}">
64
<param name="movie" value="{_file.U_DOWNLOAD_LINK}" />
65
<param name="play" value="true" />
66
<param name="loop" value="true" />
67
<param name="quality" value="high" />
68
<param name="allowScriptAccess" value="never" />
69
<param name="allowNetworking" value="internal" />
70
<embed src="{_file.U_DOWNLOAD_LINK}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{_file.WIDTH}" height="{_file.HEIGHT}" play="true" loop="true" quality="high" allowscriptaccess="never" allownetworking="internal"></embed>
72
<!-- ELSEIF _file.S_QUICKTIME_FILE -->
73
<object id="qtstream_{_file.ATTACH_ID}" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" width="0" height="16">
74
<param name="src" value="{_file.U_DOWNLOAD_LINK}" />
75
<param name="controller" value="true" />
76
<param name="autoplay" value="false" />
77
<param name="type" value="video/quicktime" />
78
<embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="0" height="16" type="video/quicktime" autoplay="false"></embed>
80
<!-- ELSEIF _file.S_RM_FILE -->
81
<object id="rmstream_{_file.ATTACH_ID}" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="200" height="50">
82
<param name="src" value="{_file.U_DOWNLOAD_LINK}" />
83
<param name="autostart" value="false" />
84
<param name="controls" value="ImageWindow" />
85
<param name="console" value="ctrls_{_file.ATTACH_ID}" />
86
<param name="prefetch" value="false" />
87
<embed name="rmstream_{_file.ATTACH_ID}" type="audio/x-pn-realaudio-plugin" src="{_file.U_DOWNLOAD_LINK}" width="0" height="0" autostart="false" controls="ImageWindow" console="ctrls_{_file.ATTACH_ID}" prefetch="false"></embed>
90
<object id="ctrls_{_file.ATTACH_ID}" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="0" height="36">
91
<param name="controls" value="ControlPanel" />
92
<param name="console" value="ctrls_{_file.ATTACH_ID}" />
93
<embed name="ctrls_{_file.ATTACH_ID}" type="audio/x-pn-realaudio-plugin" width="200" height="36" controls="ControlPanel" console="ctrls_{_file.ATTACH_ID}"></embed>
96
<script type="text/javascript">
98
if (document.rmstream_{_file.ATTACH_ID}.GetClipWidth)
100
while (!document.rmstream_{_file.ATTACH_ID}.GetClipWidth())
104
var width = document.rmstream_{_file.ATTACH_ID}.GetClipWidth();
105
var height = document.rmstream_{_file.ATTACH_ID}.GetClipHeight();
107
document.rmstream_{_file.ATTACH_ID}.width = width;
108
document.rmstream_{_file.ATTACH_ID}.height = height;
109
document.ctrls_{_file.ATTACH_ID}.width = width;
115
<!-- IF _file.S_WM_FILE or _file.S_RM_FILE or _file.S_FLASH_FILE or _file.S_QUICKTIME_FILE -->
117
<!-- IF _file.S_QUICKTIME_FILE --><a href="#" onclick="play_qt_file(document.qtstream_{_file.ATTACH_ID}); return false;">[ {L_PLAY_QUICKTIME_FILE} ]</a> <!-- ENDIF -->
118
<a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</p>