- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
if($city == "Chicago" || $city == "chicago" || $city == "LosAngeles" || $city == "losangeles" || $city == "Orlando" || $city == "orlando" || $city == "LongIsland" || $city == "longisland" || $city == "Baltimore" || $city == "baltimore" || $city == "SouthFlorida" || $city == "southflorida" || $city == "Hartford" || $city == "hartford" || $city == "Allentown" || $city == "allentown" || $city == "Stamford" || $city == "stamford" || $city == "Greenwich" || $city == "greenwich" || $city == "HamptonRoads" || $city == "hamptonroads" || $city == "OrangeCounty" || $city == "orangecounty")
{
if($city == "chicago")
$city = "Chicago";
if($city == "losangeles")
$city = "LosAngeles";
// Еще двадцать таких условий...
if($city == "Chicago")
{
$x = rand(1, 9);
$headerIMG = "/img/".$city."/".$x.".jpg";
$affiliateDomain = "http://wtf.somesite.com";
$affiliateURL = "http://wtf.somesite.come/wtf.jsp";
$poweredByIMG = "/img/poweredBy_wtf.jpg";
$upsellIMG = "/img/wtf.jpg";
$upsellURL = "http://wtf.somesite.com/wtf.aspx";
$searchIMG = "/img/search_".$city.".jpg";
$searchURL = "http://wtf.somesite.com/wtf.jsp";
$topArea = "searches_Chicago.php";
$stateDefault = "IL";
$privacyPolicyURL = "http://wtf.somesite.com/wtf";
$termsURL = "http://wtf.somesite.com/services/wtf";
$showWebID = "1";
}
/// И еще двадцать штук таких блоков..
guest 23.04.2009 19:18 # 0
guest 24.04.2009 09:35 # +1
guest 25.04.2009 13:16 # 0