//================================================================================ // PLEASE DO NOT REMOVE THIS HEADER!!! // // COPYRIGHT NOTICE // This script is licensed under the GPL // // Copyright 2007-2008 Alias 454 Studios and Brandon Keep (c) All rights reserved. // Created 11/18/2007 // Brandon Keep, http://www.openautoclassifieds.com // http://www.alias454studios.com/scripts/ // // Last Modified 10-12-2008 by // Brandon Keep, bkeep@alias454studios.com //================================================================================ // This software IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR // OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // OTHER DEALINGS IN THE SOFTWARE. //================================================================================ Changelog: version v1.4.10b Added Tell A Friend functionality Fixed defined seller variable being used in sidebar in contact.php Fixed preg_replace() No ending delimiter '/' found in contact.php Change removed commented code that is not needed Change header and footer links can be styled in the style.css Change cleaned up codeClean functions throught the php Added more variable checking for type int version v1.4.9b Added Lightbox function based off of the slimbox javascript Added chained dropdown box for quick search and advanced search select a make then the models change Fixed path to correct css in the poster.tpl page Fixed on the listing page when using the sort functions if the page is in a subdirectory it will take you back to the root directory Fixed on the db.inc.php page now checks for a default timezone before trying setting a default Fixed no_image image link wrong since migration to the new directory structure Change Added inline style to advanced search select boxes version v1.4.8.2b A reupload of v1.4.8 with one SQL Fix version v1.4.8b Fixed changed SQL to allow for proper phone number entry old value was 12 new value is 25 to allow for new phone validation scheme Fixed made sure validation happens on useredit page as well as registration page Fixed Check for edge case in search results for price [leowmjw] Fixed Edit Listing shows "View this Listing" after delete [leowmjw] Fixed SQL issue where correct admin information was not propagated Fixed in certain cases the style.css was not being pointed to correctly Change adjusted listing.tpl to not show blank fax and alt phone information Added check for html tags and links in listing descriptions [sentry] Added 2 new entries in the english lang file for the choose template section version v1.4.7b Added SetPageLimit to slim down page groupings on listings.php [sentry] Fixed referrer function not iterating through all checks before redirecting [leowmjw] Added entries to the lang file for new registration error texts Change ereg and eregi_replace with preg_match and preg_replace Change Start preperation for new templates directory structure for use of multiple themes Change misc code cleanup version v1.4.6b Fixed search glitch when browsing previous and next pages then viewing a single listing and using the back button messes up your search Fixed quick search glitch Fixed added strtolower in image.php to resolve watermark failing [Mike Pryslak] Fixed/Added Sort by price make or model functionality on listings.php Change sold listing automaticly sort to the bottom of the listings.php list Change when addlisting fails you no longer have to refill all fields Change link to get to main listings view to fit with search modifications Change featured listings on index have ad title displayed underneth Added Vin and Stock numbers to description on listings.php Added seller info on single listing details page Added Poster page /work in progress Added Javascript code to allow for tabs on the listings pages Added search by seller id and view all sellers listings Added update required fields for user login and required fields version v1.4.5b Changed Moved a lot of hardcoded text into the lang file most of the userside tpl files have all of the text in the lang file now. Exceptions are the header, sidebar and index tpl files Fixed listing id is passed as an int version v1.4.4b CRITICAL RELEASE!!! FIXED bypass login SQL injection attack FIXED remote SQL exploit to gather user data by unauthorized user in listing.php FIXED unauthorized user escalation in admin section FIXED SQL attack vulnerability which allows unauthorized user to change database entries version v1.4.3b Fixed function mismatch typo in the image functions and the image php file [partsnthings] Fixed typo in en lang file milage should be mileage Fixed typo in functions php for listing_condition in addListing function [sammy95] Changed listings.tpl will not display empty fields now if no data is in the db column Changed the way random images are displayed on the index page does not show sold autos in the random list Added currency symbol in the lang file [gathrawn] version v1.4.2b Fixed Syntax error when importing openauto.sql[galeens] version v1.4.1b Fixed missing brackets around sql query caused errors when not contacting seller Fixed invalid id in sidebar.tpl for w3c code validator version v1.4.0b Fixed Refined the search functions so the session was reset when performing a new search Added a Loan Calculator page Added a "QUICK SEARCH" on the sidebar Added a stock # box Added Captcha for contact us page Added contact seller feature Added view changes to listing link on edit listing page Added misc new text for new pages in en lang file Added Mark as "SOLD" with a watermark Changed Text in en lang file Removed "static" class functions version rc 1.3.0 Fixed show proper search results when multiple pages of search results Added a search by zip code into search Added a search by state into search Added vin for future use maybe checking with carfax reports Added check for empty zip value when adding new or editing a listing Changed Reduced ad title to only allow 25 chars to reduce line wrapping when browser text set to large Changed Sort order for search items when displayed now shows newest listing first other misc fix/changes version rc 1.2.1 Fixed updated the search Fixed bug that only appears in MySQL 5 not allowing the adding or editing of listings Changed moved some of the static settings into the admin site settings misc fixes/updates version rc 1.2.0 Added Expanded search functionality Added search by min and max price Added dynamic content in title when viewing a listing Added dynamic keywords when viewing a listing Changed Moved all text into the language file except the sidebar.tpl text and link text version rc 1.1.1 Fixed MySQL column count mismatch Changed name= tag to id= in listings.tpl for valid markup version rc 1.1.0 Fixed no image bug added search function added featured listings on front page add javascript onmouseover event to change single listing main image fixed bug for editlistings when logged in as seller misc fixes and style additions/changes changed error text input from referrer to ip address version rc 1.0.0 initial release