PageRenderTime 45ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/src/page_6.php

https://bitbucket.org/jwubs/gratisgolfpolis.nl
PHP | 58 lines | 53 code | 5 blank | 0 comment | 3 complexity | 34659a33cf725f8ba15ab69b2e067686 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. <form action="<?=$_POST['prev']?>" method="post">
  23. <input type="hidden" name="id" value="<?=$_POST["id"]?>"/>
  24. <input type="hidden" name="entry" value="<?=$_POST["entry"]?>"/>
  25. <table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  26. <tr>
  27. <td colspan="3"><img src="images/logo_golfpolis.jpg" alt="Logo gratis-golfpolis.nl" width="780" height="110" /><br />
  28. <br /></td>
  29. </tr>
  30. <tr>
  31. <td width="130">&nbsp;</td>
  32. <td width="520" class="Frame">
  33. <?= $row["hioinfo"] ?>
  34. <br/><br/>
  35. <img src="images/file_acrobat.gif" width="16" height="16" align="absmiddle" /> <a href="/GRATIS-GOLFPOLIS VOORWAARDEN GGP-HIO.042011.pdf" target="_blank">Download hier de voorwaarden voor de HOLE-IN-ONE verzekering, PDF</a>
  36. <br /><br />
  37. <input type="submit" value="terug"/>
  38. </td>
  39. <td width="130">&nbsp;</td>
  40. </tr>
  41. <tr>
  42. <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>
  43. </tr>
  44. <tr>
  45. <td colspan="3" class="Footer">&copy; 01-2013: INTER-GOLF ASSURANTIEN</td>
  46. </tr>
  47. </table>
  48. </form>
  49. </body>
  50. </html>
  51. <?php
  52. }
  53. ?>