PDA

View Full Version : Clickable Search for Thread per day...


leon2u
10-08-2002, 12:14 PM
For an idea what I mean see snapshot!

CODE:

Go to the HEADER TEMPLATE and place this:

<div align="right">
<form action="../search.php" method="get" name="name">
<input type="hidden" name="action" value="getdaily">
<smallfont><b><a href="search.php?s=$session[sessionhash]&action=getnew">Show latest Threads</a><br>
Show Threads from x days ago:
<br>
<input name="days" type="submit" value="1">
<input name="days" type="submit" value="2">
<input name="days" type="submit" value="3">
<input name="days" type="submit" value="4">
<input name="days" type="submit" value="5">
<input name="days" type="submit" value="10">
<input name="days" type="submit" value="20">
<input name="days" type="submit" value="30">
</b></smallfont>
</form></div>

That is all!

Xenon
10-08-2002, 12:45 PM
moving to template modifications

Dean C
10-08-2002, 03:30 PM
nice lil modification :D

Regards

- miSt

Gutspiller
03-22-2003, 04:49 AM
How do I go about changing these into plan text links?

I want it so I can do it like this:

1 | 2 | 3 | 4 | 5 | 10 | 20 | 30

Can somebody please help me? I don't know how to do it, but it should be that hard for some peeps here.

Please.

Pollo
04-07-2003, 08:14 AM
I just changed it from a form to links:

<a href="search.php?action=getdaily&days=1">1</a> | <a href="search.php?action=getdaily&days=2">2</a> | etc.

See: http://hosthideout.com/ for example.

Tony G
04-07-2003, 11:05 AM
Nice Modification. Will be handy. :)

0ptima
04-13-2003, 12:55 AM
I just added this!