umm you can find the sql select() method in adopt.php and add the 'ORDER by price' in the where clause. The where clause should be easy to identify as it is passed as the third argument in the select() method as a string.
If you want AJAX sorting feature then its beyond what I can help, send PMs to Fadillzzz and he will tell you what to do.
I believe its possible, add the reward PHP code right after the line that defines adoptables new level. I recall it is line 85.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
|