blob: 54797feba34c935ac631c9d0d5f3e60d71d52d91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<!DOCTYPE html>
<html lang="en">
<head>
<title>Enter your details</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<?php
if (!isset($_GET['article'])){
echo "Please select an article to buy";
die();
}
else {
session_start();
$_SESSION['cc_payment'] = true;
$article = $_GET['article'];
}
?>
<body>
<header>
<div id="logo">
<svg height="100" width="100">
<circle cx="50" cy="50" r="40" stroke="darkcyan" stroke-width="6" fill="white" />
<text x="19" y="82" font-family="Verdana" font-size="90" fill="darkcyan">B</text>
</svg>
</div>
<h1>Blog site demonstration</h1>
</header>
<aside class="sidebar" id="left">
</aside>
<section id="main">
<article>
<h1>Enter your details</h1>
<p>We need a few details before proceeding with credit card payment</p>
<form>
First name<br> <input type="text"></input><br>
Family name<br> <input type="text"></input><br>
Age<br> <input type="text"></input><br>
Nationality<br> <input type="text"></input><br>
Gender<br> <input type="radio" name"gender">Male</input>
<input type="radio" name="gender">Female</input><br>
</form>
<?php
echo "<form method=\"post\" action=\"essay_cc_pay-fulfillment.php?article=$article\"><input type=\"submit\"></input></form>";
?>
</article>
</section>
</body>
</html>
|