blob: 421f2b45e373c41ff3490d4bbe56016841aca4ac (
plain)
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
|
<!-- $Id$ -->
<script language="JavaScript" type="text/javascript">
<!--
function insert_quote(text) {
if (document.forms[form_name].elements[text_name].createTextRange && document.forms[form_name].elements[text_name].caretPos)
{
var caretPos = document.forms[form_name].elements[text_name].caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
document.forms[form_name].elements[text_name].focus();
} else {
document.forms[form_name].elements[text_name].value += text;
document.forms[form_name].elements[text_name].focus();
}
}
function addquote(post_id, username) {
var message_name = 'message_' + post_id;
var theSelection = '';
// Get text selection - not only the post content :(
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
}
else if (window.getSelection)
{
theSelection = window.getSelection();
}
if (theSelection == '')
{
if (document.all)
{
eval("theSelection = document.all." + message_name + ".innerText;");
}
else
{
eval("theSelection = document.getElementById('" + message_name + "').firstChild.nodeValue;");
}
}
if (theSelection != '')
{
insert_quote('[quote="' + username + '"]' + theSelection + '[/quote]');
}
return;
}
//-->
</script>
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th align="center">{L_TOPIC_REVIEW} - {TOPIC_TITLE}</th>
</tr>
<tr>
<td class="row1"><div style="overflow: auto; width: 100%; height: 300px;">
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th width="22%">{L_AUTHOR}</th>
<th>{L_MESSAGE}</th>
</tr>
<!-- BEGIN topic_review_row -->
<!-- IF topic_review_row.S_ROW_COUNT is even -->
<tr class="row1">
<!-- ELSE -->
<tr class="row2">
<!-- ENDIF -->
<td rowspan="2" align="left" valign="top"><a name="{topic_review_row.U_POST_ID}"></a><table width="150" cellspacing="0">
<tr>
<td align="center"><b class="postauthor">{topic_review_row.POSTER_NAME}</b></td>
</tr>
<tr>
<td align="center">{topic_review_row.KARMA_IMG}</td>
</tr>
</table></td>
<td width="100%"><table width="100%" cellspacing="0">
<tr>
<td> </td>
<td class="gensmall" valign="middle" nowrap="nowrap"><b>{L_POST_SUBJECT}:</b> </td>
<td class="gensmall" width="100%" valign="middle">{topic_review_row.POST_SUBJECT}</td>
<td valign="top" nowrap="nowrap"> <!-- IF topic_review_row.U_QUOTE --><a href="{topic_review_row.U_QUOTE}">{QUOTE_IMG}</a><!-- ENDIF --></td>
</tr>
</table></td>
</tr>
<!-- IF topic_review_row.S_ROW_COUNT is even -->
<tr class="row1">
<!-- ELSE -->
<tr class="row2">
<!-- ENDIF -->
<td valign="top"><table width="100%" cellspacing="0">
<tr>
<td valign="top"><table width="100%" cellspacing="0" cellpadding="2">
<tr>
<td><div id="message_{topic_review_row.U_POST_ID}" class="postbody">{topic_review_row.MESSAGE}</div></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" cellspacing="0">
<tr valign="middle">
<td width="100%"> </td>
<td width="10" nowrap="nowrap"><a href="{topic_review_row.U_MINI_POST}">{topic_review_row.MINI_POST_IMG}</a></td>
<td class="gensmall" nowrap="nowrap"><b>{L_POSTED}:</b> {topic_review_row.POST_DATE}</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td class="spacer" colspan="2"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END topic_review_row -->
</table>
</div></td>
</tr>
</table>
<br clear="all" />
|