IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
  Reply to this topicStart new topicStart Poll

 Making a search page

 how would i include it?
 
MiNdLeSs  
Posted: Monday, Apr 18 2005, 20:27
Quote Post


Hustler
Group Icon
Group: Members
Joined: Apr 26, 2004

XXXXX



I'm using the autoindex php script and have search enabled. I'm wondering if it's possible to make a search page elsewhere on the site and when you search it will search using the autoindex search function. I noticed a search.php in the classes folder of autoindex, but thats it.

Also, how would i change the colors to green and white? im kinda clueless about php

This post has been edited by MiNdLeSs on Tuesday, Apr 19 2005, 00:49
Users WebsitePMMSNAOL
  Top
 

 
Samutz  
Posted: Monday, Apr 18 2005, 21:28
Quote Post


if ($lol) { die(rofl()); }
Group Icon
Group: Members
Joined: Sep 17, 2003

us.gif

Member Award




Just what is "the autoindex php script"?
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
MiNdLeSs  
Posted: Tuesday, Apr 19 2005, 00:49
Quote Post


Hustler
Group Icon
Group: Members
Joined: Apr 26, 2004

XXXXX



sorry for not being specific-
http://autoindex.sourceforge.net/
Users WebsitePMMSNAOL
  Top
 

 
Samutz  
Posted: Tuesday, Apr 19 2005, 02:26
Quote Post


if ($lol) { die(rofl()); }
Group Icon
Group: Members
Joined: Sep 17, 2003

us.gif

Member Award




Best I can tell is to just make a copy of the form (just html, no php required) and stick it on any page you want.

CODE
<form method='get' action='/autoindex/index.php?'>
<p>
<input type='text' name='search' value='' />
<input type='hidden' name='dir' value='' /><br />
<select name='searchMode'>
<option value='f'>Files</option>
<option value='d'>Folders</option>
<option value='fd'>Both</option>
</select>
<input type='submit' value='Search' class="button" />
</p>
</form>


Here's an example:
http://bluehydraro.hostnmore.com/samutz/search.html

Just change '/autoindex/index.php?' if needed.
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
MiNdLeSs  
Posted: Tuesday, Apr 19 2005, 11:03
Quote Post


Hustler
Group Icon
Group: Members
Joined: Apr 26, 2004

XXXXX



thanks! smile.gif
that worked perfectly.
for the colors would i edit the default.css?
Users WebsitePMMSNAOL
  Top
 

 
Samutz  
Posted: Tuesday, Apr 19 2005, 15:37
Quote Post


if ($lol) { die(rofl()); }
Group Icon
Group: Members
Joined: Sep 17, 2003

us.gif

Member Award




For the colors of the autoindex pages, yes. Or you can put them directly into the page via html.
For the colors of the page with the extra search thing, you'd have to put them in directly, or add the code in the header that calls the css to be used.
CODE
<link rel="stylesheet" href="stylesheet.css" type="text/css" title="AutoIndex Default" />
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG