-
Notifications
You must be signed in to change notification settings - Fork 0
/
markquote.php
executable file
·49 lines (34 loc) · 1.18 KB
/
markquote.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
42
43
44
45
46
47
48
49
<table cellspacing="2" cellpadding="0" align="center" border="0" width="99%">
<tr>
<td>
<?
switch($mark) {
case "down":
$mkres = scorequotedown($qra[1]);
break;
case "up":
$mkres = scorequoteup($qra[1]);
break;
case "sucks":
$mkres = quotesucks($qra[1]);
break;
}
?>
<center>
<?
if ($mkres) {
?>
<a href="/?<?=$qra[1] ?>">Quote #<?=$qra[1] ?></a> marked <?=$mark ?>!<br />
<?
} else {
?>
Quote could not be marked (does not exist?)<br />
<?
}
?>
<br />
<a href="javascript:history.go(-1);">Go back</a>
</center>
</td>
</tr>
</table>