/src/page_6.php
PHP | 58 lines | 53 code | 5 blank | 0 comment | 3 complexity | 34659a33cf725f8ba15ab69b2e067686 MD5 | raw file
- <?php
- $conn = mysql_connect('91.184.10.91', 'mysqlgratisgolf', 'g0lfp0l1s');
- mysql_select_db('gratisgolfpolis', $conn);
-
- $result = mysql_query("SELECT * FROM akties WHERE name LIKE ('".$_POST["id"]."') AND entrycode LIKE ('".$_POST["entry"]."')");
-
- if(mysql_num_rows($result) == 0) {
- header("Location: index.php");
- exit;
- } else {
- $row = mysql_fetch_array($result);
- $shop = $row["aanbieder"];
-
- $result = mysql_query("SELECT * FROM aanbieders WHERE id ='".$shop."'");
- $row = mysql_fetch_array($result);
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>GRATIS-GOLFPOLIS.nl</title>
- <link href="golfpolis_styling.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <form action="<?=$_POST['prev']?>" method="post">
- <input type="hidden" name="id" value="<?=$_POST["id"]?>"/>
- <input type="hidden" name="entry" value="<?=$_POST["entry"]?>"/>
- <table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td colspan="3"><img src="images/logo_golfpolis.jpg" alt="Logo gratis-golfpolis.nl" width="780" height="110" /><br />
- <br /></td>
- </tr>
- <tr>
- <td width="130"> </td>
- <td width="520" class="Frame">
- <?= $row["hioinfo"] ?>
- <br/><br/>
- <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>
- <br /><br />
- <input type="submit" value="terug"/>
- </td>
- <td width="130"> </td>
- </tr>
- <tr>
- <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>
- </tr>
- <tr>
- <td colspan="3" class="Footer">© 01-2013: INTER-GOLF ASSURANTIEN</td>
- </tr>
- </table>
- </form>
- </body>
- </html>
- <?php
- }
- ?>