42 |
<tr><td> |
<tr><td> |
43 |
<img src="<?= "$tipath$topicimage"; ?>" align="right" border="0" alt="<?= "$topictext"; ?>"> |
<img src="<?= "$tipath$topicimage"; ?>" align="right" border="0" alt="<?= "$topictext"; ?>"> |
44 |
<form method="GET"> |
<form method="GET"> |
45 |
<input size="25" type="name" name="query" value="<?= $query; ?>"> |
<input size="25" type="name" name="query" value="<?= htmlspecialchars($query); ?>"> |
46 |
<input type="submit" value="Sök" class="button"><br> |
<input type="submit" value="Sök" class="button"><br> |
47 |
<!-- Topic Selection --> |
<!-- Topic Selection --> |
48 |
<? |
<? |
111 |
} |
} |
112 |
$prev = $min - $offset; |
$prev = $min - $offset; |
113 |
if ($prev >= 0) { |
if ($prev >= 0) { |
114 |
print "<a href=\"search.php?author=$author&topic=$t&min=$prev&query=$query&type=$type\">"; |
print "<a href=\"search.php?author=$author&topic=$t&min=$prev&query=".urlencode($query)."&type=$type\">"; |
115 |
print "<br><br><div align\"center\"><b>$min tidigare</b></div></a>"; |
print "<br><br><div align\"center\"><b>$min tidigare</b></div></a>"; |
116 |
} |
} |
117 |
$next = $min + $offset; |
$next = $min + $offset; |
118 |
if ($x>=29) { |
if ($x>=29) { |
119 |
print "<a href=\"search.php?author=$author&topic=$t&min=$max&query=$query&type=$type"; |
print "<a href=\"search.php?author=$author&topic=$t&min=$max&query=".urlencode($query)."&type=$type"; |
120 |
print "§ion=$section\"><br><br><div align=\"center\"><b>nästa sida</b></div></a>"; |
print "§ion=$section\"><br><br><div align=\"center\"><b>nästa sida</b></div></a>"; |
121 |
} |
} |
122 |
} elseif ($type == "comments") { |
} elseif ($type == "comments") { |
142 |
} |
} |
143 |
$prev = $min - $offset; |
$prev = $min - $offset; |
144 |
if ($prev >= 0) { |
if ($prev >= 0) { |
145 |
print "<a href=\"search.php?author=$author&topic=$t&min=$prev&query=$query&type=$type\">"; |
print "<a href=\"search.php?author=$author&topic=$t&min=$prev&query=".urlencode($query)."&type=$type\">"; |
146 |
print "<br><br><div align=\"center\"><b>$min tidigare</b></div></a>"; |
print "<br><br><div align=\"center\"><b>$min tidigare</b></div></a>"; |
147 |
} |
} |
148 |
$next = $min + $offset; |
$next = $min + $offset; |
149 |
if ($x >= 29) { |
if ($x >= 29) { |
150 |
print "<a href=\"search.php?author=$author&topic=$t&min=$max&query=$query&type=$type"; |
print "<a href=\"search.php?author=$author&topic=$t&min=$max&query=".urlencode($query)."&type=$type"; |
151 |
print "§ion=$section\"><br><br><div align=\"center\"><b>nästa sida</b></div></a>"; |
print "§ion=$section\"><br><br><div align=\"center\"><b>nästa sida</b></div></a>"; |
152 |
} |
} |
153 |
} elseif ($type == "sections") { |
} elseif ($type == "sections") { |
171 |
} |
} |
172 |
$prev = $min - $offset; |
$prev = $min - $offset; |
173 |
if ($prev >= 0) { |
if ($prev >= 0) { |
174 |
print "<a href=\"search.php?author=$author&topic=$t&min=$prev&query=$query&type=$type\">"; |
print "<a href=\"search.php?author=$author&topic=$t&min=$prev&query=".urlencode($query)."&type=$type\">"; |
175 |
print "<br><br><div align=\"center\"><b>$min tidigare</b></div></a>"; |
print "<br><br><div align=\"center\"><b>$min tidigare</b></div></a>"; |
176 |
} |
} |
177 |
$next = $min + $offset; |
$next = $min + $offset; |
178 |
if ($x >= 29) { |
if ($x >= 29) { |
179 |
print "<a href=\"search.php?author=$author&topic=$t&min=$max&query=$query&type=$type"; |
print "<a href=\"search.php?author=$author&topic=$t&min=$max&query=".urlencode($query)."&type=$type"; |
180 |
print "§ion=$section\"><br><br><div align=\"center\"><b>nästa sida</b></div></a>"; |
print "§ion=$section\"><br><br><div align=\"center\"><b>nästa sida</b></div></a>"; |
181 |
} |
} |
182 |
} elseif ($type == "users") { |
} elseif ($type == "users") { |
200 |
} |
} |
201 |
$prev = $min - $offset; |
$prev = $min - $offset; |
202 |
if ($prev >= 0) { |
if ($prev >= 0) { |
203 |
print "<a href=\"search.php?author=$author&topic=$t&min=$prev&query=$query&type=$type\">"; |
print "<a href=\"search.php?author=$author&topic=$t&min=$prev&query=".urlencode($query)."&type=$type\">"; |
204 |
print "<br><br><div align=\"center\"><b>$min tidigare</b></div></a>"; |
print "<br><br><div align=\"center\"><b>$min tidigare</b></div></a>"; |
205 |
} |
} |
206 |
$next = $min + $offset; |
$next = $min + $offset; |
207 |
if ($x >= 29) { |
if ($x >= 29) { |
208 |
print "<a href=\"search.php?author=$author&topic=$t&min=$max&query=$query&type=$type"; |
print "<a href=\"search.php?author=$author&topic=$t&min=$max&query=".urlencode($query)."&type=$type"; |
209 |
print "§ion=$section\"><br><br><div align=\"center\"><b>nästa sidan</b></div></a>"; |
print "§ion=$section\"><br><br><div align=\"center\"><b>nästa sidan</b></div></a>"; |
210 |
} |
} |
211 |
} |
} |
212 |
html_page_foot(); |
html_page_foot(); |
213 |
include('footer.php'); |
include('footer.php'); |
214 |
break; |
exit; # break; |
215 |
|
|
216 |
?> |
?> |