superpoker.htm 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="viewport" content="width=device-width" />
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="viewport" content="width=device-width, initial-scale=0.66"/>
  7. <meta name="apple-mobile-web-app-capable" content="yes">
  8. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  9. <meta name="format-detection" content="telephone=no">
  10. <meta name="Keywords" content="" />
  11. <meta name="description" content="" />
  12. <title></title>
  13. <style>
  14. /* CSS Document */
  15. .menu {
  16. margin:0 auto;
  17. border:1pt solid #999999;
  18. border-radius:5px;
  19. -webkit-border-radius: 5px;
  20. -moz-border-radius: 5px;
  21. }
  22. .menu a {
  23. text-decoration:none;
  24. height:100%;
  25. display:block;
  26. border-radius:5px;
  27. -webkit-border-radius: 5px;
  28. -moz-border-radius: 5px; color:#333;
  29. }
  30. .menu a:visited {
  31. text-decoration:none;
  32. color:#000000;
  33. }
  34. .menu a:active {
  35. text-decoration:none;
  36. }
  37. .link-web{
  38. width:210px;
  39. height:40px;
  40. margin:0 auto;
  41. border-radius:4px;
  42. -webkit-border-radius: 4px;
  43. -moz-border-radius: 4px;
  44. /*text-shadow:0 2px 0 #FFF;*/
  45. font-family: "", "";
  46. font-size:18px;
  47. }
  48. .link-web a{
  49. text-decoration:none;
  50. width:210px;
  51. height:40px;
  52. display:block;
  53. border-radius:4px;
  54. -webkit-border-radius: 4px;
  55. -moz-border-radius: 4px;
  56. background-color: #F5F5F5;
  57. border:1px dashed #cccccc;
  58. color:#333;
  59. }
  60. .link-web a:visited{
  61. text-decoration:none;
  62. color:#333;
  63. }
  64. .link-web a:active{
  65. text-decoration:none;
  66. color:#333;
  67. }
  68. .font-arial{
  69. font-family: "微软雅黑", "", Arial, "Arial Black";
  70. }
  71. .font-italic{
  72. font-style:italic;
  73. }
  74. .font-blod{
  75. font-weight:bold;
  76. }
  77. .font-app{
  78. text-align:left;
  79. font-size:25px;
  80. color: #666666;
  81. }
  82. .font-app-display{
  83. text-align:left;
  84. font-size:20px;
  85. color:#999999;
  86. text-shadow:0 2px 0 #FFF;
  87. }
  88. .font02{
  89. font-size:18px; color:#999999;
  90. text-align:left;
  91. }
  92. .dp_copy{
  93. margin-top:10px;
  94. text-align:center;
  95. color:#919090;
  96. font-size:22px;
  97. }
  98. </style>
  99. </head>
  100. <body style="margin:0; padding:0; background:#EFEFEF;text-align:center">
  101. <div id="page-android" style="width:400px; height:800px; margin:0 auto; display:;">
  102. <div style="padding:50px 0 0px 0">
  103. <img src="http://superpoker.vip/img/icon144.jpg" alt="superpoker" />
  104. </div>
  105. <div class="font-arial" id="appname" style="font-size:20px; line-height:34px; height:45px; text-shadow:0 2px 0 #FFF; color:#999999; text-shadow: white 2px 2px; font-weight: bold; letter-spacing:2px;"></div>
  106. <p class="dp_copy" id="description"></p>
  107. <br/>
  108. <div class="font-arial" id="select-device" style=" width:400px; font-size:20px; line-height:30px; height:50px; color:#999999; letter-spacing:2px; text-align:left; margin: 0 auto;"></div>
  109. <br/>
  110. <div style="width:400px; height:100px;">
  111. <a href="https://itunes.apple.com/th/app/ไพ-เท-กซ-สซ-เปอร/id1267293867" target="superpoker">
  112. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" height="100px">
  113. <tr>
  114. <td width="100" align="center" valign="middle" >
  115. <img src="http://superpoker.vip/img/ios.jpg" alt="" border="0" />
  116. </td>
  117. </tr>
  118. </table>
  119. </a>
  120. </div>
  121. <div style="height:60px;"></div>
  122. <div style="width:400px; height:100px;">
  123. <a href="market://details?id=com.superant.superpoker.th">
  124. <!--<a href="http://superpoker.vip/m/SuperPoker-release-1.3.0_onLine.apk">-->
  125. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" height="100px">
  126. <tr>
  127. <td width="100" align="center" valign="middle">
  128. <img src="http://superpoker.vip/img/android.jpg" alt="" border="0" />
  129. </td>
  130. </tr>
  131. </table>
  132. </a>
  133. </div>
  134. <br/>
  135. <br/>
  136. <br/>
  137. <br/>
  138. <a id="fans" style="height:20px; font-size:22px;font-family: 微软雅黑; text-shadow:0 2px 0 #FFF; text-align:center; margin:0px" href="https://www.facebook.com/superpoker.th"></a>
  139. <br/>
  140. <br/>
  141. <br/>
  142. <div id="copyright" style="height:18px; color:#999999; font-size:15px;font-family: 微软雅黑; text-shadow:0 2px 0 #FFF; text-align:center; margin:0px">Copyright © 2017 SuperAnt Technology Co., Ltd..All Rights Reserved.</div>
  143. </div>
  144. <script type="text/javascript">
  145. // 获取终端的相关信息
  146. var lang = getLang();
  147. var langDesc = {
  148. "th":{
  149. "keywords":"poker,texas,ซูเปอร์,,ไพ่เท็กซัส,ไพ่,เกมไพ่,ไพ่เก้าเก,เกมส์ไพ่,poker,ซุปเปอร์เท็กซัสโป๊กเกอร์",
  150. "description":"ไพ่เท็กซัสแรงในกรุงเทพฯ สนุกตื่นเต้น ไฮโซ ชิวๆ โหลดฟรีเล่นฟรี มาเร็ว",
  151. "appname":"ไพ่เท็กซัสซูเปอร์ ",
  152. "selectdevice":"เลือกเวอร์ชชั่นที่ใข้ได้ในเครื่องของท่าน",
  153. "fans":"หน้าแฟนส์"
  154. },
  155. "cn":{
  156. "keywords":"德扑,德州扑克,德州 扑克,德州,德扑游戏,扑克牌,扑克,超级扑克",
  157. "description":"超好玩的德州扑克,免费筹码送不停,一起来玩吧。",
  158. "appname":"超级德州 ",
  159. "selectdevice":"请选择您手机的适用版本",
  160. "fans":"粉丝页"
  161. },
  162. "tw":{
  163. "keywords":"德撲,德州撲克,德州 撲克,德州,德撲遊戲,撲克牌,撲克,超級撲克",
  164. "description":"超好玩的德州撲克,免費籌碼送不停,壹起來玩吧。",
  165. "appname":"超級德州 ",
  166. "selectdevice":"請選擇您手機的適用版本",
  167. "fans":"粉絲頁"
  168. },
  169. "en":{
  170. "keywords":"Texas hold em,Texas poker,hold em,Texas,poker,super poker,poker game",
  171. "description":"Join to have super fun with millions of players in Super Poker free!",
  172. "appname":"Super Poker",
  173. "selectdevice":"Please select the applicable version of your phone.",
  174. "fans":"Fan page"
  175. }
  176. };
  177. //语言配置信息
  178. // langDesc = JSON.parse( langDesc );
  179. var info = langDesc[lang];
  180. if(info == undefined || info == '' || info == null) {
  181. info = langDesc['en'];
  182. }
  183. //设置页面值
  184. document.title = info['appname'];//title
  185. document.getElementById('appname').innerHTML = info['appname'];
  186. document.getElementById('description').innerHTML = info['description'];
  187. document.getElementById('select-device').innerHTML = info['selectdevice'];
  188. document.getElementById('fans').innerHTML = info['fans'];
  189. var meta = document.getElementsByTagName('meta');
  190. meta["Keywords"].setAttribute('content',info['keywords']);
  191. meta["description"].setAttribute('content',info['description']);
  192. // Android
  193. var URL = "superant://superpoker-th";
  194. var MARKET = "market://details?id=com.superant.superpoker.th";
  195. // IOS
  196. var IOS = "superpoker-th://";
  197. var ITUNES = "https://itunes.apple.com/th/app/ไพ-เท-กซ-สซ-เปอร/id1267293867";//appstore
  198. // PC
  199. var PCURL = "https://apps.facebook.com/superpoker-th/";
  200. //获取移动端的语言
  201. function getLang() {
  202. var Terminal = {
  203. // 辨别移动终端的语言:zh-cn、en-us、ko-kr、ja-jp...
  204. language : (navigator.browserLanguage || navigator.language).toLowerCase()
  205. };
  206. // 还可以通过language,区分开多国语言版
  207. switch(Terminal.language){
  208. case 'zh-cn':
  209. lang = "cn";
  210. break;
  211. case 'th':
  212. lang = "th";
  213. break;
  214. case 'zh-tw':
  215. lang = "tw";
  216. break;
  217. default:
  218. lang = "en";
  219. }
  220. return lang;
  221. }
  222. function onLoad() {
  223. if (navigator.userAgent.match(/Android/)) {
  224. var iframe = document.createElement("iframe");
  225. iframe.style.visibility = 'hidden';
  226. iframe.style.border = "none";
  227. iframe.style.width = "1px";
  228. iframe.style.height = "1px";
  229. iframe.src = URL;
  230. iframe.onload = function () { window.location = MARKET; };
  231. document.body.appendChild(iframe);
  232. // window.location.href = 'http://superpoker.vip/m/SuperPoker-release-1.3.0_onLine.apk';
  233. } else if (navigator.userAgent.match(/(iPhone|iPad|iPod)/i)) {
  234. // IOS
  235. setTimeout(function() {
  236. window.location = ITUNES;
  237. }, 500);
  238. window.location = IOS;
  239. } else {
  240. window.location.href = PCURL;
  241. }
  242. }
  243. onLoad();
  244. </script>
  245. </body>
  246. </html>