'2008-01-01' ORDER BY gt.date ASC");*/
$results = mysql_query("SELECT gr.retailer_id, gr.retailer_name, gr.retailer_address, gr.retailer_address_two, gr.retailer_city, gr.retailer_state, gr.retailer_zip, gr.retailer_phone, gr.retailer_fax, gr.retailer_email, gr.retailer_website, gr.retailer_cart
FROM gforum_Retailers AS gr
RIGHT JOIN gforum_TriathlonsStates AS gts
ON gts.regionid = '".mysql_real_escape_string($_GET[region])."' AND gr.retailer_state_tag = gts.statetag
WHERE gr.retailer_valid = 1 ORDER BY gr.retailer_name ASC");
$none = FALSE;
if (mysql_num_rows($results) == 0) {
$none = TRUE;
}
/*$results = mysql_query("SELECT onetype, twotype, threetype, oneunit, twounit, threeunit, name, nametag, statetag, swim, bike, run, city, state, uid, UNIX_TIMESTAMP(date) as foo FROM gforum_Triathlons RIGHT JOIN WHERE regionid='$_GET[region]' AND valid=1 AND date > '2008-01-01' ORDER BY date ASC");**/
// set the page title
$pagetitle = $regionname;
// set meta tags
$meta_keywords = "triathlon retailers in ".$regionname;
$meta_description = "Trying to find triathlon retailers in ".$regionname."? Here is a listing of all ".$regionname." triathlon retailers.";
?>
include("include_common_head.php"); ?>
include("include_common_head.php"); ?>
include($common_path . "/ads/ad_wallpaper.html"); ?>
include($common_path . "/templates/include_header.php"); ?>
include("include_breadcrumb.php"); ?>
include($common_path . "/templates/include_footer.php") ?>
include($common_path . "/templates/include_global_js.php") ?>