-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
61 lines (50 loc) · 1.87 KB
/
index.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
require 'vendor/autoload.php';
if ( isset($_POST['module_name'])) {
$module_name = $_POST['module_name'];
echo $module_name;
$test = new \ovicko\opencart\Admin($module_name);
$test->model();
}
?>
<!DOCTYPE html>
<html>
<head>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<title>Generate OpenCart Module</title>
</head>
<body>
<!------ Include the above in your HEAD tag ---------->
<section id="main">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="form-wrap">
<h3>Generate OpenCart Module</h3>
<form role="form" action="#" method="post" id="main-form" autocomplete="off">
<div class="form-group">
<label for="module" class="sr-only">Module Name</label>
<input type="text" name="module_name" id="module" class="form-control" placeholder="Enter Module name">
</div>
<input type="submit" id="btn-login" class="btn btn-primary btn-lg btn-block" value="Generate">
</form>
<hr>
</div>
</div> <!-- /.col-xs-12 -->
</div> <!-- /.row -->
</div> <!-- /.container -->
</section>
<footer id="footer">
<div class="container">
<div class="row">
<div class="col-xs-12">
<p><strong>Author: </strong>AMWOLLO</p>
</div>
</div>
</div>
</footer>
</body>
</html>
<html