Mercurial > hg > ywww
comparison index.php @ 0:5f4560ac65b7
original
author | robert |
---|---|
date | Wed, 28 Dec 2016 12:41:21 +0000 |
parents | |
children | 1477b5e6dd16 093e42d5a874 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5f4560ac65b7 |
---|---|
1 <?php | |
2 $country_code = apache_note("GEOIP_COUNTRY_CODE"); | |
3 switch($country_code){ | |
4 /* case "CA": | |
5 Header( "HTTP/1.1 301 Moved Permanently" ); | |
6 Header ("Location: http://www.yournextread.com/ca/" ); | |
7 break; | |
8 case "DE": | |
9 Header( "HTTP/1.1 301 Moved Permanently" ); | |
10 Header ("Location: http://www.yournextread.com/de/" ); | |
11 break; | |
12 case "FR": | |
13 Header( "HTTP/1.1 301 Moved Permanently" ); | |
14 Header ("Location: http://www.yournextread.com/fr/" ); | |
15 break; | |
16 case "GB": | |
17 Header( "HTTP/1.1 301 Moved Permanently" ); | |
18 Header ("Location: http://www.yournextread.com/uk/" ); | |
19 break; | |
20 case "US": | |
21 Header( "HTTP/1.1 301 Moved Permanently" ); | |
22 Header ("Location: http://www.yournextread.com/us/" ); | |
23 break; */ | |
24 default: | |
25 Header( "HTTP/1.1 301 Moved Permanently" ); | |
26 Header ("Location: http://www.yournextread.com/us/" ); | |
27 break; | |
28 } | |
29 ?> | |
30 <html> | |
31 <head> | |
32 <title>YourNextRead: Book Recommendations</title> | |
33 | |
34 <META NAME="Description" CONTENT="YourNextRead recommends your next book. YourNextRead provides a book recommendation system showing aggregated book reviews, updated by real peoples opinions, in a simple visual map, helping you to decide 'What Should I Read Next?'. Perfect for both bookworms and casual readers!"> | |
35 <meta name="google-site-verification" content="0XCtbGM_bvOH363P2XE6DVjh-APTICOREquY8F38T84" /> | |
36 </HEAD> | |
37 <body> | |
38 </body> | |
39 |