Jump to content

Making a search page


Recommended Posts

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

Edited by MiNdLeSs
Link to comment
https://gtaforums.com/topic/188705-making-a-search-page/
Share on other sites

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.

 

 

<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.

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.

 

<link rel="stylesheet" href="stylesheet.css" type="text/css" title="AutoIndex Default" />

 

  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.