View Single Post
  #1  
Old 01-20-2011, 03:15 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 32,376
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default Adoptable Search Addon [by Kae]

Adoptable Search Addon
By Kaeliah

Modification TOS
**Note that there is no viewable credit required for this mod**

This was suggested for a new release of the MysAdopts version 1.2.0 I believe.

Functions: Adoptable search allows searching using name, type or owner and is similar to a search engine. If you type in 'sea', you're results may look like: sea, sea bass, horsea, etc. Results are listed in order of adoptable ID. Guests cannot search, this is to prevent server overload from malicious guests and spambots.

Installation: Upload the file adoptsearch.php to your main folder. Also included is some CSS arrangements specifically for the table on the page. You can see them below, add them pretty much anywhere on your CSS page to use them.

Code:
table#searchresults {
    border: 1px solid black;
    width: 490px;
}
table#searchresults td {
    padding: 5px;
    border: 1px solid black;
}
Enjoy!
Attached Files
File Type: php adoptsearch.php (6.0 KB, 10 views)

Last edited by Kaeliah; 01-25-2011 at 06:38 PM.
Reply With Quote