mirror of
https://github.com/hnhx/librex.git
synced 2025-04-29 14:09:27 -04:00
Update search.php
This commit is contained in:
parent
e500d76399
commit
fef7fd957f
1 changed files with 14 additions and 5 deletions
19
search.php
19
search.php
|
@ -38,11 +38,20 @@
|
|||
<button type="submit" class="hide"></button>
|
||||
<input type="hidden" name="p" value="0">
|
||||
<div class="sub-search-button-wrapper">
|
||||
<button name="t" value="0"><img src="static/images/text_result.png" alt="text result" />General</button>
|
||||
<button name="t" value="1"><img src="static/images/image_result.png" alt="image result" />Images</button>
|
||||
<button name="t" value="2"><img src="static/images/video_result.png" alt="video result" />Videos</button>
|
||||
<button name="t" value="3"><img src="static/images/torrent_result.png" alt="torrent result" />Torrents</button>
|
||||
<button name="t" value="4"><img src="static/images/tor_result.png" alt="tor result" />Tor</button>
|
||||
<?php
|
||||
echo "<a href=\"/search.php?q=$query&p=0&t=0\"><img src=\"static/images/text_result.png\" alt=\"text result\" />General</a>";
|
||||
echo "<a href=\"/search.php?q=$query&p=0&t=1\"><img src=\"static/images/image_result.png\" alt=\"image result\" />Images</a>";
|
||||
echo "<a href=\"/search.php?q=$query&p=0&t=2\"><img src=\"static/images/video_result.png\" alt=\"video result\" />Videos</a>";
|
||||
echo "<a href=\"/search.php?q=$query&p=0&t=3\"><img src=\"static/images/torrent_result.png\" alt=\"torrent result\" />Torrents</a>";
|
||||
echo "<a href=\"/search.php?q=$query&p=0&t=4\"><img src=\"static/images/tor_result.png\" alt=\"tor result\" />Tor</a>";
|
||||
<?php
|
||||
echo "<a href=\"/search.php?q=$query&p=0&t=0\"><img src=\"static/images/text_result.png\" alt=\"text result\" />General</a>";
|
||||
echo "<a href=\"/search.php?q=$query&p=0&t=1\"><img src=\"static/images/image_result.png\" alt=\"image result\" />Images</a>";
|
||||
echo "<a href=\"/search.php?q=$query&p=0&t=2\"><img src=\"static/images/video_result.png\" alt=\"video result\" />Videos</a>";
|
||||
echo "<a href=\"/search.php?q=$query&p=0&t=3\"><img src=\"static/images/torrent_result.png\" alt=\"torrent result\" />Torrents</a>";
|
||||
echo "<a href=\"/search.php?q=$query&p=0&t=4\"><img src=\"static/images/tor_result.png\" alt=\"tor result\" />Tor</a>";
|
||||
?>
|
||||
?>
|
||||
</div>
|
||||
<hr>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Reference in a new issue