-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfirm.php
37 lines (32 loc) · 849 Bytes
/
confirm.php
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
<html>
<head>
<link HREF="xcstyle.css" REL="stylesheet" TYPE="text/css">
</head>
<body>
<div id="container">
<?php
require 'authorisation.php';
$restrict='';
$comPk = reqival('comPk');
menubar($comPk);
//$link = dbconnect();
$return = $_REQUEST['return'];
$action = $_REQUEST['action'];
// Confirm buttons
echo "<p><p><center>\n";
echo "<form action=\"$return\" method=\"post\">";
echo "<table><tr>\n";
echo "<td><button type=\"submit\" name=\"$return?$action\" value=\"confirm\">Confirm $action</button></td>";
echo "<td><button type=\"submit\" name=\"$return\" value=\"cancel\">Cancel</button></td>";
echo "</tr></table>\n";
foreach ($_REQUEST as $key => $value)
{
echo "<input type=\"hidden\" name=\"$key\" value=\"$value\">";
}
echo "</form>\n";
echo "</center>\n";
// Closing connection
//mysql_close($link);
?>
</div></body>
</html>