Jak temu zapobiedz? Co zmienić w kodzie?
Adres do strony: http://b4rt3k.pdg.pl/betaal3.php
Kod:
Kod
<?php /** ------------------------- **/
error_reporting(E_ALL ^ E_NOTICE);
include("includes/db_connect.php");
/** ------------------------- **/ ?>
<?
# instellingen
$partnerid = 3942;
$betaalurl = 'http://www.gangster-town.nl/nieuw/betaal3.php';
# gebruik de onderstaande methode zodat het POST of GET onafhankelijk is;
$betaalnummer = ( !empty($_POST['betaalnummer']) ) ? $_POST['betaalnummer'] : $_GET['betaalnummer'];
$betaalcode = ( !empty($_POST['betaalcode']) ) ? $_POST['betaalcode'] : $_GET['betaalcode'];
$c = ( !empty($_POST['c']) ) ? $_POST['c'] : $_GET['c'];
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Gebouw kopen</title>
<meta name="generator" content="Namo WebEditor v5.0(Trial)">
</head>
<body style="background: #333333; margin: 0px;">
<table width=100%>
</head>
<body bgcolor="red" leftmargin="6" topmargin="6" scroll=no>
<?
if (!$betaald) {
if ($error) {
echo 'Betaalcode is niet betaald. Probeer opnieuw!<hr>';
}
?>
<p><strong>Koop een gebouw</strong></p>
First look at countrys if the building is free yet.<br>
Call the number <span style="font-weight: bold;font-size:14px;">
<?= $betaalnummer ?>
</span><br>
Now please type in the code: <span style="font-weight: bold;font-size:14px;">
<?= $betaalcode ?>
</span><br>
<br>
You can call it costs you 1.30.
Press the button here downstairs</font><br>
<br>
<form method="post" action="<?= $betaalurl ?>">
<input type="hidden" name="betaalnummer" value="<?= $betaalnummer ?>">
<input type="hidden" name="betaalcode" value="<?= $betaalcode ?>">
<input type="hidden" name="c" value="1">
<input type="submit" value="Click here after payed.">
After this send a message to mic4 with the building you want to have!
</form>
</p>
<?
} elseif ($betaald) {
echo "
<h3>Call finished!</h3>
<p>Remember: Send a message to mic4 whith the building you want to have!</p>
<p>Thanks Gangster-town</p>";
}
?>
</body>
</html>
error_reporting(E_ALL ^ E_NOTICE);
include("includes/db_connect.php");
/** ------------------------- **/ ?>
<?
# instellingen
$partnerid = 3942;
$betaalurl = 'http://www.gangster-town.nl/nieuw/betaal3.php';
# gebruik de onderstaande methode zodat het POST of GET onafhankelijk is;
$betaalnummer = ( !empty($_POST['betaalnummer']) ) ? $_POST['betaalnummer'] : $_GET['betaalnummer'];
$betaalcode = ( !empty($_POST['betaalcode']) ) ? $_POST['betaalcode'] : $_GET['betaalcode'];
$c = ( !empty($_POST['c']) ) ? $_POST['c'] : $_GET['c'];
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Gebouw kopen</title>
<meta name="generator" content="Namo WebEditor v5.0(Trial)">
</head>
<body style="background: #333333; margin: 0px;">
<table width=100%>
</head>
<body bgcolor="red" leftmargin="6" topmargin="6" scroll=no>
<?
if (!$betaald) {
if ($error) {
echo 'Betaalcode is niet betaald. Probeer opnieuw!<hr>';
}
?>
<p><strong>Koop een gebouw</strong></p>
First look at countrys if the building is free yet.<br>
Call the number <span style="font-weight: bold;font-size:14px;">
<?= $betaalnummer ?>
</span><br>
Now please type in the code: <span style="font-weight: bold;font-size:14px;">
<?= $betaalcode ?>
</span><br>
<br>
You can call it costs you 1.30.
Press the button here downstairs</font><br>
<br>
<form method="post" action="<?= $betaalurl ?>">
<input type="hidden" name="betaalnummer" value="<?= $betaalnummer ?>">
<input type="hidden" name="betaalcode" value="<?= $betaalcode ?>">
<input type="hidden" name="c" value="1">
<input type="submit" value="Click here after payed.">
After this send a message to mic4 with the building you want to have!
</form>
</p>
<?
} elseif ($betaald) {
echo "
<h3>Call finished!</h3>
<p>Remember: Send a message to mic4 whith the building you want to have!</p>
<p>Thanks Gangster-town</p>";
}
?>
</body>
</html>