-
Notifications
You must be signed in to change notification settings - Fork 0
/
quote.php
executable file
·41 lines (24 loc) · 1.21 KB
/
quote.php
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
<table cellspacing="2" cellpadding="0" align="center" border="0" width="99%">
<tr>
<td>
<h1>Viewing quote <?=$qr ?></h1>
<?
$res = getquote($qr);
if(!check_empty($res[0][col_qtext])) {
for($i=0; $i < count($res); $i++) {
?>
<p class="quote"><a class="quote" href="/?<?=$res[$i][col_qid] ?>">#<?=$res[$i][col_qid] ?></a> <a class="nlquote" href="/?markdn&q=<?=$res[$i][col_qid] ?>">-</a> (<?=$res[$i][col_score] ?>) <a class="nlquote" href="/?markup&q=<?=$res[$i][col_qid] ?>">+</a> [<a class="quote" href="/?markbd&q=<?=$res[$i][col_qid] ?>">sucks</a>]<br />
<br/>
<?=formatentry($res[$i][col_qtext]) ?>
</p>
<?
}
} else {
?>
<p>Quote <?=$qr ?> was not found! :/</p>
<?
}
?>
</td>
</tr>
</table>