PageRenderTime 62ms CodeModel.GetById 34ms RepoModel.GetById 0ms app.codeStats 0ms

/actus/fritti/index.php

https://bitbucket.org/darrellhawley/actus_radius_connect_django
PHP | 324 lines | 291 code | 25 blank | 8 comment | 4 complexity | adbd8fe51cd936a442b54434f4541221 MD5 | raw file
  1. <!DOCTYPE html >
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>W Atlanta Free Wi-Fi Coming Soon</title>
  6. <script type='text/javascript' src="/radiusconnect/actus/js/jquery.min.js"></script>
  7. <script type='text/javascript' src='js/infinite-rotator.js'></script>
  8. <link rel="icon" type="image/ico" href="http://www.watlantadowntown.com/favicon.ico" />
  9. <meta name="apple-mobile-web-app-capable" content="yes" />
  10. <style type="text/css">
  11. body {
  12. background-color: #000;
  13. margin: 0px;
  14. padding: 0px;
  15. }
  16. html, body
  17. {
  18. height: 100%;
  19. }
  20. a:active {
  21. outline: none;
  22. }
  23. .table_top {
  24. margin: 0px;
  25. padding: 0px;
  26. height: 400px;
  27. background-image: url(images/bodyback_top.jpg);
  28. background-repeat: repeat-x;
  29. background-position: center top;
  30. }
  31. .table_mid {
  32. margin: 0px;
  33. padding: 0px;
  34. height: 68px;
  35. background-image: url(images/bodyback_mid.jpg);
  36. background-repeat: repeat-x;
  37. background-position: center top;
  38. }
  39. #holder_top {
  40. padding: 0px;
  41. height: 400px;
  42. width: 948px;
  43. margin-right: auto;
  44. margin-left: auto;
  45. text-align: left;
  46. }
  47. #holder_mid {
  48. padding: 0px;
  49. height: 68px;
  50. width: 948px;
  51. margin-right: auto;
  52. margin-left: auto;
  53. text-align: left;
  54. }
  55. form label {
  56. font-family: Arial, Helvetica, sans-serif;
  57. color: #999;
  58. font-size: 14px;
  59. line-height: 14px;
  60. font-weight: bold;
  61. padding: 0px;
  62. margin-top: -3px;
  63. margin-right: 0px;
  64. margin-bottom: 0px;
  65. margin-left: 0px;
  66. }
  67. form input {
  68. font-family: Arial, Helvetica, sans-serif;
  69. color: #FFFFFF;
  70. font-size: 13px;
  71. height: 25px;
  72. margin-top: 0px;
  73. margin-right: 20px;
  74. margin-bottom: 0px;
  75. margin-left: 10px;
  76. line-height: 12px;
  77. padding-top: 0px;
  78. padding-right: 3px;
  79. padding-bottom: 0px;
  80. padding-left: 3px;
  81. background-color: #6C6C6C;
  82. border: 1px solid #999999;
  83. box-shadow: 4px 4px 7px rgba(0,0,0,0.4);
  84. width: 150px;
  85. }
  86. form input.button {
  87. font-family: Arial, Helvetica, sans-serif;
  88. color: #4F4F4F;
  89. font-size: 13px;
  90. height: 25px;
  91. margin-top: 0px;
  92. margin-right: 20px;
  93. margin-bottom: 0px;
  94. margin-left: 20px;
  95. line-height: 12px;
  96. background-color: #999999;
  97. border: 1px solid #999999;
  98. font-weight: bold;
  99. box-shadow: 4px 4px 7px rgba(0,0,0,0.4);
  100. padding: 3px;
  101. width: 100px;
  102. }
  103. form input.button:hover {
  104. font-family: Arial, Helvetica, sans-serif;
  105. color: #FFFFFF;
  106. font-size: 13px;
  107. height: 25px;
  108. margin-top: 0px;
  109. margin-right: 20px;
  110. margin-bottom: 0px;
  111. margin-left: 20px;
  112. line-height: 12px;
  113. padding-top: 3px;
  114. padding-right: 3px;
  115. padding-bottom: 3px;
  116. padding-left: 3px;
  117. background-color: #999999;
  118. border: 1px solid #999999;
  119. font-weight: bold;
  120. box-shadow: 4px 4px 7px rgba(0,0,0,0.4);
  121. }
  122. form {
  123. height: 30px;
  124. margin-top: 20px;
  125. margin-left: 285px;
  126. padding: 0px;
  127. margin-right: 0px;
  128. margin-bottom: 0px;
  129. }
  130. #holder_mid p {
  131. font-family: Arial, Helvetica, sans-serif;
  132. font-size: 16px;
  133. line-height: 14px;
  134. color: #D9D9D9;
  135. padding: 0px;
  136. margin-top: 28px;
  137. margin-right: 0px;
  138. margin-bottom: 0px;
  139. margin-left: 300px;
  140. }
  141. #holder_ftr {
  142. padding: 12px;
  143. width: 918px;
  144. margin-right: auto;
  145. margin-left: auto;
  146. text-align: left;
  147. margin-top: 0px;
  148. margin-bottom: 0px;
  149. }
  150. #holder_ftr p{
  151. font-family: Arial, Helvetica, sans-serif;
  152. color: #686868;
  153. font-size: 11px;
  154. margin: 0px;
  155. padding-top: 0px;
  156. padding-right: 0px;
  157. padding-bottom: 7px;
  158. padding-left: 0px;
  159. line-height: 12px;
  160. }
  161. #holder_ftr p a {
  162. color: #686868;
  163. text-decoration: none;
  164. }
  165. #holder_ftr p a:hover {
  166. color: #CCCCCC;
  167. text-decoration: none;
  168. }
  169. #rotating-item-wrapper {
  170. position: relative;
  171. width: 948px;
  172. height: 170px;
  173. margin: 0px;
  174. padding: 0px;
  175. float: left;
  176. background-image: url(images/animate_back.jpg);
  177. }
  178. .rotating-item {
  179. display: none;
  180. position: absolute;
  181. top: 0;
  182. left: 0;
  183. }
  184. </style>
  185. </head>
  186. <body>
  187. <table width="100%" border="0" cellspacing="0" cellpadding="0" style="height: 100%;">
  188. <tr>
  189. <td align="center" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  190. <tr>
  191. <td align="center" valign="top" class="table_top">
  192. <div id="holder_top">
  193. <div id="rotating-item-wrapper">
  194. <img src="images/01.jpg" class="rotating-item" width="948" height="170" />
  195. <img src="images/02.jpg" class="rotating-item" width="948" height="170" />
  196. <img src="images/03.jpg" class="rotating-item" width="948" height="170" />
  197. <img src="images/04.jpg" class="rotating-item" width="948" height="170" />
  198. </div>
  199. <img src="images/welcome.jpg" width="948" height="230" border="0" usemap="#Map" /></div>
  200. </td>
  201. </tr>
  202. <tr>
  203. <td align="center" valign="top" class="table_mid">
  204. <!--
  205. <div id="holder_mid">
  206. <?php
  207. if ($_SERVER['REQUEST_METHOD'] != 'POST'){
  208. $me = $_SERVER['PHP_SELF'];
  209. ?>
  210. <form name="form1" method="post"
  211. action="<?php echo $me;?>">
  212. <label for="name">Name<input type="text" name="name" id="name" /></label><label for="email">Email<input type="text" name="email" id="email" /></label>
  213. <input name="button" type="submit" class="button" id="button" value="Register Me!" />
  214. </form>
  215. <?php
  216. } else {
  217. error_reporting(0);
  218. $errors = array();
  219. $page = $_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
  220. if (count($errors)>0) {
  221. echo "<p class=\"oops\">Oops! There was a problem:</p>";
  222. foreach($errors as $err)
  223. echo "$err<br>\n";
  224. echo "<p class=\"goback\">Please use your browser's Back button to fix.</p>";
  225. } else {
  226. error_reporting(0);
  227. $recipient = 'iricelis.patino@gmail.com';
  228. $subject = 'W FREE WI-FI UPDATE SIGNUP';
  229. $name = stripslashes($_POST['name']);
  230. $email = stripslashes($_POST['email']);
  231. $from = "$email";
  232. $msg = "The following person filled out the W Free Wi-Fi Updates online form:
  233. Name: $name
  234. Email: $email
  235. ";
  236. if (mail($recipient, $subject, $msg, $from))
  237. echo nl2br("<p>Thank you $name for registering for updates</p>
  238. ");
  239. else
  240. echo "Message failed to send";
  241. }
  242. }
  243. ?>
  244. </div>
  245. -->
  246. </td>
  247. </tr>
  248. <tr>
  249. <td align="center" valign="top">
  250. <div id="holder_ftr">
  251. <p><span>More Starwood Hotels:</span> <a href="http://www.watlantabuckhead.com/" target="_blank">W Atlanta - Buckhead</a> | <a href="http://www.watlantamidtown.com/" target="_blank">W Atlanta - Midtown</a> | <a href="http://www.watlantaperimeter.com/" target="_blank">Atlanta Perimeter Hotel & Suites</a> </p>
  252. <p> <a href="http://www.starwoodhotels.com/bestrate/index.html" target="_blank">Best Rate Guarantee</a>
  253. | <a href="http://www.starwoodhotels.com/whotels/explore/world/hotels.html" target="_blank">W Hotel Directory</a>
  254. | <a target="_parent" href="http://www.watlantadowntown.com/terms" >Website Terms of Use</a>
  255. | <a href="http://www.starwoodhotels.com/whotels/property/features/accessibility.html?propertyID=1788&language=en_US&localCode=en_US" target="_blank">Accessibility Information</a></p>
  256. <p><a href="http://www.starwoodhotels.com/index.html" target="_blank">&copy; 2009-2012 45 Allen Plaza Associates LLC with portions of website content &copy; 2009-2012 Starwood Hotels &amp; Resorts Worldwide Inc.</a> All rights reserved. </p>
  257. <p><img src="images/spg.jpg" width="833" height="77" border="0" usemap="#Map2" /></p>
  258. </div>
  259. </td>
  260. </tr>
  261. </table></td>
  262. </tr>
  263. </table>
  264. <map name="Map2" id="Map2">
  265. <area shape="rect" coords="0,12,125,72" href="http://www.starwoodhotels.com/preferredguest/index.html" target="_blank" />
  266. <area shape="rect" coords="365,5,438,30" href="http://www.starwoodhotels.com/lemeridien/index.html" target="_blank" />
  267. <area shape="rect" coords="411,37,447,77" href="http://www.starwoodhotels.com/whotels/index.html" target="_blank" />
  268. <area shape="rect" coords="460,3,514,29" href="http://www.starwoodhotels.com/alofthotels/index.html" target="_blank" />
  269. <area shape="rect" coords="490,36,547,77" href="http://www.starwoodhotels.com/sheraton/index.html" target="_blank" />
  270. <area shape="rect" coords="530,-8,588,29" href="http://www.starwoodhotels.com/fourpoints/index.html" target="_blank" />
  271. <area shape="rect" coords="573,37,640,78" href="http://www.starwoodhotels.com/stregis/index.html" target="_blank" />
  272. <area shape="rect" coords="603,2,666,30" href="http://www.starwoodhotels.com/westin/index.html" target="_blank" />
  273. <area shape="rect" coords="671,37,724,78" href="http://www.starwoodhotels.com/element/index.html" target="_blank" />
  274. <area shape="rect" coords="687,-2,763,30" href="http://www.starwoodhotels.com/luxury/index.html" target="_blank" />
  275. </map>
  276. <?php include '../radius.php'; ?>
  277. </body>
  278. </html>