PageRenderTime 49ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/src/page_3.php

https://bitbucket.org/jwubs/gratisgolfpolis.nl
PHP | 72 lines | 68 code | 4 blank | 0 comment | 3 complexity | ac589e6ffabef7a4e89db222e7f3a4df MD5 | raw file
  1. <?php
  2. $conn = mysql_connect('91.184.10.91', 'mysqlgratisgolf', 'g0lfp0l1s');
  3. mysql_select_db('gratisgolfpolis', $conn);
  4. $result = mysql_query("SELECT * FROM akties WHERE name LIKE ('".$_POST["id"]."') AND entrycode LIKE ('".$_POST["entry"]."')");
  5. if(mysql_num_rows($result) == 0) {
  6. header("Location: index.php");
  7. exit;
  8. } else {
  9. $row = mysql_fetch_array($result);
  10. $shop = $row["aanbieder"];
  11. $result = mysql_query("SELECT * FROM aanbieders WHERE id ='".$shop."'");
  12. $row = mysql_fetch_array($result);
  13. ?>
  14. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  15. <html xmlns="http://www.w3.org/1999/xhtml">
  16. <head>
  17. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  18. <title>GRATIS-GOLFPOLIS.nl</title>
  19. <link href="golfpolis_styling.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  23. <tr>
  24. <td colspan="3"><img src="images/logo_golfpolis.jpg" alt="Logo gratis-golfpolis.nl" width="780" height="110" /><br />
  25. <br /></td>
  26. </tr>
  27. <tr>
  28. <td width="130">&nbsp;</td>
  29. <td width="520" class="Frame"><?= $row["detail"] ?>
  30. <form action="page_4.php" method="post">
  31. <input type="hidden" name="id" value="<?=$_POST["id"]?>"/>
  32. <input type="hidden" name="entry" value="<?=$_POST["entry"]?>"/>
  33. <div align="center"><input type="image" src="images/aanmeld_verzekering.png" alt="Aanmelden voor de gratis verzekering!" width="298" height="44" border="0" /></div>
  34. </form>
  35. <br />
  36. <br />
  37. <br />
  38. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  39. <tr>
  40. <td width="150" align="center" valign="top"><span class="HoleInOne">HOLE-IN-ONE<br />
  41. =<br />
  42. GRATIS WINKELEN</span><br />
  43. <form action="page_6.php" method="post">
  44. <input type="hidden" name="id" value="<?=$_POST["id"]?>"/>
  45. <input type="hidden" name="entry" value="<?=$_POST["entry"]?>"/>
  46. <input type="hidden" name="prev" value="page_3.php" />
  47. <input type="image" src="images/voor_info.png" alt="Klik hier voor info" width="142" height="66" border="0" /></a> </td>
  48. </form>
  49. <td align="right"><img src="images/logo_intergolf.png" alt="InterGolf Assurantieën" width="174" height="117" /></td>
  50. </tr>
  51. </table>
  52. <br />
  53. <br /></td>
  54. <td width="130">&nbsp;</td>
  55. </tr>
  56. <tr>
  57. <td colspan="3" align="center"><a href="contact.php" style="color:#000000;">contact</a> | <a href="privacy.php" style="color:#000000;">privacybeleid</a> | <a href="disclaimer.php" style="color:#000000;">disclaimer</a></td>
  58. </tr>
  59. <tr>
  60. <td colspan="3" class="Footer">&copy; 01-2013: INTER-GOLF ASSURANTIEN</td>
  61. </tr>
  62. </table>
  63. </form>
  64. </body>
  65. </html>
  66. <?php
  67. }
  68. ?>