Initial Commit
This commit is contained in:
25
indexes/user/process/interfaces/failed.php
Normal file
25
indexes/user/process/interfaces/failed.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Error Occurred</title>
|
||||
<link rel="stylesheet" href="./instruct.css" type="text/css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="area">
|
||||
<img src="../../../../icon/close.svg">
|
||||
<h2 style="margin: none; padding: none;">Oops!</h2>
|
||||
<?php
|
||||
if(isset($_GET["why"])) {
|
||||
echo "<h1>".$_GET["why"]."</h1>";
|
||||
}
|
||||
else{
|
||||
echo "<h1>The order closed due to some error!</h1>";
|
||||
}
|
||||
?>
|
||||
<a href='../cart_index.php' style="text-decoration: none;">Try again</a>
|
||||
<script type='text/javascript'>
|
||||
setTimeout(function() {window.top.location.href = '../cart.php';}, 500);
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
17
indexes/user/process/interfaces/instruct.css
Normal file
17
indexes/user/process/interfaces/instruct.css
Normal file
@@ -0,0 +1,17 @@
|
||||
#area{
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
width: 300px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
user-select: none;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
img{
|
||||
width: 45%;
|
||||
height: 45%;
|
||||
margin: none;
|
||||
}
|
||||
16
indexes/user/process/interfaces/success.php
Normal file
16
indexes/user/process/interfaces/success.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Success</title>
|
||||
<link rel="stylesheet" href="./instruct.css" type="text/css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="area">
|
||||
<img src="../../../../icon/check.svg">
|
||||
<h1>Success</h1>
|
||||
<script type='text/javascript'>
|
||||
setTimeout(function() {window.top.location.href = '../../../../index.php';}, 500);
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user