-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.php
More file actions
263 lines (222 loc) · 7.93 KB
/
input.php
File metadata and controls
263 lines (222 loc) · 7.93 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<?php
require_once("menu.php");
require_once("site_dim.php");
?>
<!DOCTYPE html>
<html lang="en-US">
<head>
<!-- Basic Page Head -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo $site_title; ?></title>
<meta name="description" content="ARCT - Architects Corporate Template">
<meta name="author" content="Loco Theme - locotheme.com">
<meta name="keywords" content="architects, architect, multipurpose, html5 template, premium template, theme, corporate">
<!-- Mobile Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Favicons -->
<link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.ico">
<link rel="apple-touch-icon" href="assets/img/apple-touch-icon-precomposed.png">
<!-- Css -->
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="assets/css/font-awesome.css">
<link rel="stylesheet" type="text/css" href="assets/css/owl.carousel.css">
<link rel="stylesheet" type="text/css" href="assets/css/owl.theme.css">
<link rel="stylesheet" type="text/css" href="assets/css/prettyPhoto.css">
<link rel="stylesheet" type="text/css" href="assets/css/bxslider.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<link rel="stylesheet" type="text/css" href="assets/css/responsive.css">
<!-- Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=Khand:300,400,500,600,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- Site Loader -->
<?php
if($loader==1)
{
echo '<div class="site-loader"><img src="assets/img/loader.gif" alt="Loading"></div>';
}
?>
<!-- Site Loader End -->
<!-- Site Back Top -->
<div class="site-back-top" title="Back to top"></div>
<!-- Site Back Top End -->
<!-- Site Background -->
<div class="site-background"></div>
<!-- Site Background End -->
<div class="site-container">
<!-- Site Menu Button -->
<button class="site-toggle" type="button"><i class="fa fa-bars"></i></button>
<!-- Site Menu Button End -->
<!-- Site Menu -->
<?php
$menu = new Menu();
$menu->menu_generator();
$menu = NULL;
?>
<!-- Site Menu End -->
<!-- Site Content -->
<div class="site-wrapper">
<div class="site-page shadow-top">
<!-- Page Title -->
<h1 class="center">Site Manager</h1>
<!-- Page Title End -->
<!-- Page Description -->
<h2 class="title-border center">An award-winning architecture & interior design studio</h2>
<!-- Page Description End -->
<!-- Space -->
<div class="space"></div>
<!-- Space End -->
<!-- Grid Row -->
<div class="row margin-none">
<!-- Grid Col -->
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 padding-none">
<div class="box-white padding-all">
<h2 class="title-border right block-mobile">Update</h2>
<div class="data-form">
<form class="selectme" action="post">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="form-field">
<select name="select" placeholder="Select to update">
<option>-Select-</option>
<option value="menu">Menu item</option>
<option value="project">Project</option>
<option value="social">Social Link</option>
</select>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 padding-none menu">
<div class="box-white padding-all">
<h2 class="title-border right block-mobile">Add new Menu item</h2>
<div class="data-form">
<form action="entry.php" method="post">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<label>Label</label>
<div class="form-field">
<i class="fa fa-user"></i>
<input type="text" name="label" placeholder="Enter label" required>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<label>Url</label>
<div class="form-field">
<i class="fa fa-envelope-o"></i>
<input type="text" name="url" placeholder="Enter url" required>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<input type="hidden" name="type" value="menu">
<input type="submit" class="btn btn-dark" value="ADD MENU ITEM">
</div>
</div>
</form>
</div>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 padding-none social">
<div class="box-white padding-all">
<h2 class="title-border right block-mobile">Add Social link</h2>
<div class="data-form">
<form action="entry.php" method="post">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<label>Label</label>
<div class="form-field">
<i class="fa fa-user"></i>
<input type="text" name="label" placeholder="Enter label" required>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<label>Url</label>
<div class="form-field">
<i class="fa fa-envelope-o"></i>
<input type="text" name="url" placeholder="Enter url" required>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<input type="hidden" name="type" value="social">
<input type="submit" class="btn btn-dark" value="ADD SOCIAL LINK">
</div>
</div>
</form>
</div>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 padding-none project ">
<div class="box-white padding-all">
<form action="123.php">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 btn btn-align:center">
<input type="hidden" name="type" value="project" >
<input type="submit" class="btn btn-dark" value="CREATE NEW PROJECT">
</div>
</div>
</form>
</div>
</div>
<!-- Grid Row End -->
<!-- Space -->
<div class="space"></div>
<!-- Space End -->
</div>
</div>
<!-- Site Content End -->
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.js"></script>
<script src="assets/js/jquery.nicescroll.js"></script>
<script src="assets/js/jquery.prettyPhoto.js"></script>
<script src="assets/js/jquery.countTo.js"></script>
<script src="assets/js/jquery.fitvids.js"></script>
<script src="assets/js/owl.carousel.js"></script>
<script src="assets/js/imagesloaded.pkgd.js"></script>
<script src="assets/js/masonry.pkgd.js"></script>
<script src="assets/js/bxslider.js"></script>
<!-- Map Scripts -->
<script src="http://maps.google.com/maps/api/js?sensor=false&language=en"></script>
<script src="assets/js/gmap3.js"></script>
<!-- Custom Scripts -->
<script src="assets/js/scripts.js"></script>
<script>
$('.menu').hide();
$('.social').hide();
$('.project').hide();
$('select[name="select"]').on('change',function(){
var selectedVal=$(this).val();
switch(selectedVal){
case 'project':
$('.menu').hide();
$('.social').hide();
$('.project').show();
break;
case 'menu':
$('.menu').show();
$('.social').hide();
$('.project').hide();
break;
case 'social':
$('.menu').hide();
$('.social').show();
$('.project').hide();
break;
default: //change this according to your need
$('.project').hide();
$('.menu').hide();
$('.social').hide();
break;
}
});
</script>
</body>
</html>