assign('lang', $lang); //Clean variables $R70936771F26FE59707D3C4143FB7835E = array("store"); cleanGetVars($R70936771F26FE59707D3C4143FB7835E); $_GET['store'] = intval($_GET['store']); //Validate lat, lng are present (redirect if needed) if($_GET['store']<1){ @header('Location:store_locator.php'); die(""); //js backup redirect } $R3AB29FE76F1D0CE315C2230369CCE966->assign('styleHref', 'skins/'.$R36FA884870866B1F7CD9448941E1AFC0['skin'].'/style.css'); $R3AB29FE76F1D0CE315C2230369CCE966->assign('skinLoc','skins/'.$R36FA884870866B1F7CD9448941E1AFC0['skin']); $R7B27345D6CB7CCB27E5C6DD3D6F7851C = @explode("@", $R36FA884870866B1F7CD9448941E1AFC0['contactEmail']); $R3AB29FE76F1D0CE315C2230369CCE966->assign('siteEmail',sprintf("", $R7B27345D6CB7CCB27E5C6DD3D6F7851C[0], $R7B27345D6CB7CCB27E5C6DD3D6F7851C[1])); $R3AB29FE76F1D0CE315C2230369CCE966->assign('sitePhone',$R36FA884870866B1F7CD9448941E1AFC0['contactPhone']); $R3AB29FE76F1D0CE315C2230369CCE966->assign('pageTitle', $R36FA884870866B1F7CD9448941E1AFC0['pageTitle']); $R3AB29FE76F1D0CE315C2230369CCE966->assign('metaKeywords', $R36FA884870866B1F7CD9448941E1AFC0['metaKeywords']); $R3AB29FE76F1D0CE315C2230369CCE966->assign('metaDescription', $R36FA884870866B1F7CD9448941E1AFC0['metaDescription']); $R130D64A4AD653C91E0FD80DE8FEADC3A = sprintf("select * from stores where id = %s", mysql_real_escape_string($_GET['store'], $mysql->conn)); $R679E9B9234E2062F809DBD3325D37FB6 = $mysql->exSql($R130D64A4AD653C91E0FD80DE8FEADC3A) or die($mysql->debugPrint()); if(mysql_num_rows($R679E9B9234E2062F809DBD3325D37FB6)<1){ @header('Location:store_locator.php'); die(""); //js backup redirect } $R4EEB713E57BBAAF1217CF39632604473 = mysql_fetch_assoc($R679E9B9234E2062F809DBD3325D37FB6); //Adjust for location of logo $R4EEB713E57BBAAF1217CF39632604473['logo'] = "uploads/".trim($R4EEB713E57BBAAF1217CF39632604473['logo']); //Assign data to template $R3AB29FE76F1D0CE315C2230369CCE966->assign('data', $R4EEB713E57BBAAF1217CF39632604473); if(trim($R4EEB713E57BBAAF1217CF39632604473['logo'])!="uploads/"){ if(@is_file($R4EEB713E57BBAAF1217CF39632604473['logo'])){ $R3AB29FE76F1D0CE315C2230369CCE966->parse('main.storelogo'); } } //parse and output to template $R3AB29FE76F1D0CE315C2230369CCE966->parse('main'); $R3AB29FE76F1D0CE315C2230369CCE966->out('main'); ?>