www
/
wwwroot
/
magazinmiorita.be
/
admin
/
templates_c
➕ New
📤 Upload
✎ Editing:
79d976fab0eb96a0308a5b284a15651f8332eaf1.file.add_subcategory.tpl.php
← Back
<?php /* Smarty version Smarty-3.1.18, created on 2016-01-23 12:18:14 compiled from "/home/miorita/public_html/shop/admin/templates/default/add_subcategory.tpl" */ ?> <?php /*%%SmartyHeaderCode:160611836656a36f866b83b5-47826775%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '79d976fab0eb96a0308a5b284a15651f8332eaf1' => array ( 0 => '/home/miorita/public_html/shop/admin/templates/default/add_subcategory.tpl', 1 => 1453488076, 2 => 'file', ), ), 'nocache_hash' => '160611836656a36f866b83b5-47826775', 'function' => array ( ), 'variables' => array ( 'admintpl' => 0, 'message' => 0, 'type' => 0, 'categories' => 0, 'cat' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.18', 'unifunc' => 'content_56a36f866f3259_98128490', ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_56a36f866f3259_98128490')) {function content_56a36f866f3259_98128490($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_alert')) include '/home/miorita/public_html/shop/lib/smarty/plugins/modifier.alert.php'; ?><?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['admintpl']->value)."header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['admintpl']->value)."sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> <!-- Right side column. Contains the navbar and content of the page --> <aside class="right-side"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Products <small>Categories</small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li> <li><a href="#">Categories</a></li> <li class="active">New</li> </ol> </section> <!-- Main content --> <section class="content"> <div class="row"> <!-- left column --> <div class="col-md-12"> <?php echo smarty_modifier_alert($_smarty_tpl->tpl_vars['message']->value,$_smarty_tpl->tpl_vars['type']->value);?> <!-- general form elements --> <form role="form" action="" method="post" enctype="multipart/form-data"> <div class="box box-primary"> <div class="box-header"> <h3 class="box-title">Add New Subcategory</h3> </div><!-- /.box-header --> <!-- form start --> <div class="box-body"> <div class="form-group pad col-md-2"> <label>Category</label> <select class="form-control" name="cat_id"> <option value="0">Select Category</option> <?php $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cat']->_loop = false; $_from = $_smarty_tpl->tpl_vars['categories']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value) { $_smarty_tpl->tpl_vars['cat']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['cat']->value['id'];?> "><?php echo $_smarty_tpl->tpl_vars['cat']->value['name'];?> </option> <?php } ?> </select> </div> </div> <div class="clearfix"></div> <div class="box-body"> <div class="pad col-md-5"> <label for="name">Subcategory Title</label> <input type="text" class="form-control" id="name" name="name" placeholder="Enter package name"> </div> <div class="clearfix"></div> </div><!-- /.box-body --> </div><!-- /.box --> <div class="clearfix"></div> <div class="box-footer"> <button type="submit" name="add" class="btn btn-primary">Submit</button> </div> </div><!-- /.box-body --> </form> </div> </div> </section> </aside> <script> function getXMLHTTP() { //fuction to return the xml http object var xmlhttp=false; try{ xmlhttp=new XMLHttpRequest(); } catch(e) { try{ xmlhttp= new ActiveXObject("Microsoft.XMLHTTP"); } catch(e){ try{ xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e1){ xmlhttp=false; } } } return xmlhttp; } function getData(strURL,id) { var req = getXMLHTTP(); if (req) { req.onreadystatechange = function() { if (req.readyState == 4) { // only if "OK" if (req.status == 200) { text = document.getElementById(id).innerHTML=req.responseText; } else { alert("There was a problem while using XMLHTTP:\n" + req.statusText); } } } req.open("GET", strURL, true); req.send(null); } } </script> <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['admintpl']->value)."footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> <?php }} ?>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel