YaWK  24.1
Yet another WebKit
menu-new.php
Go to the documentation of this file.
1 <?php
2 
3 use YAWK\backend;
4 use YAWK\db;
5 use YAWK\language;
6 
7 /** @var $db db */
8 /** @var $lang language */
9 ?>
10 
11 <!-- Content Wrapper. Contains page content -->
12 <div class="content-wrapper" id="content-FX">
13  <!-- Content Header (Page header) -->
14  <section class="content-header">
15  <!-- draw title on top-->
16  <?php echo backend::getTitle($lang['MENU'], $lang['MENU_CREATE']); ?>
17 <ol class="breadcrumb">
18  <li><a href="./" title="Dashboard"><i class="fa fa-dashboard"></i> <?php echo $lang['DASHBOARD']; ?></a></li>
19  <li><a href="index.php?page=menus" title="<?php echo $lang['MENUS']; ?>"> <?php echo $lang['MENUS']; ?></a></li>
20  <li class="active"><a href="index.php?page=menu-new" title="<?php echo $lang['MENU_CREATE'];?>"> <?php echo $lang['MENU+']; ?></a></li>
21 </ol>
22 </section>
23 <!-- Main content -->
24 <section class="content">
25 <!-- START CONTENT HERE -->
26 <div class="box box-default">
27  <div class="box-header">
28  <h3 class="box-title"><?php echo $lang['MENU+']; ?></h3>
29  </div>
30  <div class="box-body">
31  <form action="index.php?page=menus&add=1" role="form" method="POST">
32  <input name="menu"
33  class="form-control"
34  value="<?php // print $id; ?>"
35  type="hidden">
36  <input name="page"
37  class="form-control"
38  value="menu-create"
39  type="hidden">
40 
41  <label><?php echo $lang['MENU_ADD_SUBTEXT']; ?>
42  <input type="text"
43  class="form-control"
44  placeholder="<?php echo $lang['MENU_NAME']; ?>"
45  id="name"
46  name="name">
47  </label>
48  <input class="btn btn-success"
49  type="submit"
50  name="create"
51  value="<?php echo $lang['MENU+']; ?>">
52  </form>
53  </div>
54 </div>
print $lang['FILEMAN_UPLOAD']
Backend class serves a few useful functions for the admin backend.
Definition: backend.php:27
Mysqli database class; returns db connection object.
Definition: db.php:16
The language class - support multilingual backend.
Definition: language.php:17
FuckAdBlock prototype on
Definition: fuckAdBlock.js:227
function a
Definition: browser.js:14
type
Definition: menu-new.php:35
print $page title
Definition: page-edit.php:377
function i(e, t)
Definition: plyr.js:1
$template name