|
- <?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:87:"/usr/share/nginx/vietnam/shop/public/../application/admin/view/unishop/product/add.html";i:1618728441;s:72:"/usr/share/nginx/vietnam/shop/application/admin/view/layout/default.html";i:1618728441;s:69:"/usr/share/nginx/vietnam/shop/application/admin/view/common/meta.html";i:1618728441;s:71:"/usr/share/nginx/vietnam/shop/application/admin/view/common/script.html";i:1618728441;}*/ ?>
- <!DOCTYPE html>
- <html lang="<?php echo $config['language']; ?>">
- <head>
- <meta charset="utf-8">
- <title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
- <meta name="renderer" content="webkit">
-
- <link rel="shortcut icon" href="/assets/img/favicon.ico" />
- <!-- Loading Bootstrap -->
- <link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
-
- <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
- <!--[if lt IE 9]>
- <script src="/assets/js/html5shiv.js"></script>
- <script src="/assets/js/respond.min.js"></script>
- <![endif]-->
- <script type="text/javascript">
- var require = {
- config: <?php echo json_encode($config); ?>
- };
- </script>
- </head>
-
- <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
- <div id="main" role="main">
- <div class="tab-content tab-addtabs">
- <div id="content">
- <div class="row">
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
- <section class="content-header hide">
- <h1>
- <?php echo __('Dashboard'); ?>
- <small><?php echo __('Control panel'); ?></small>
- </h1>
- </section>
- <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav')): ?>
- <!-- RIBBON -->
- <div id="ribbon">
- <ol class="breadcrumb pull-left">
- <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
- </ol>
- <ol class="breadcrumb pull-right">
- <?php foreach($breadcrumb as $vo): ?>
- <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
- <?php endforeach; ?>
- </ol>
- </div>
- <!-- END RIBBON -->
- <?php endif; ?>
- <div class="content">
- <style>
- .width100 li {
- width: 100% !important;
- }
- </style>
- <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
-
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><?php echo __('Category_id'); ?>:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-category_id" data-rule="required" data-source="unishop/category/index"
- data-params='{"custom[type]":"product"}' class="form-control selectpage" name="row[category_id]"
- type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><?php echo __('Title'); ?>:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><?php echo __('Image'); ?>:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-image" data-rule="required" class="form-control" size="50" name="row[image]" type="text">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="plupload-image" class="btn btn-danger plupload"
- data-input-id="c-image"
- data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
- data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
- <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose"
- data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i
- class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
- </div>
- <span class="msg-box n-right" for="c-image"></span>
- </div>
- <ul class="row list-inline plupload-preview" id="p-image"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><?php echo __('Images'); ?>:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-images" data-rule="required" class="form-control" size="50" name="row[images]" type="text">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="plupload-images" class="btn btn-danger plupload"
- data-input-id="c-images"
- data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
- data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
- <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose"
- data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i
- class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
- </div>
- <span class="msg-box n-right" for="c-images"></span>
- </div>
- <ul class="row list-inline plupload-preview" id="p-images"></ul>
- </div>
- </div>
-
- <style>
- table tr td, table tr th {
- border-right: 1px solid #f1f1f1;
- }
- </style>
- <script>
- _market_price = 0.00;
- _sales_price = 0.00;
- _stock = 0;
- _sales = 0;
- _specList = '';
- _specTableList = '';
- _use_spec = 0;
- </script>
- <div id="spec">
-
- </div>
-
-
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><?php echo __('Desc'); ?>:</label>
- <div class="col-xs-12 col-sm-8">
- <textarea id="c-desc" class="form-control editor" rows="5" name="row[desc]"
- cols="50"></textarea>
- </div>
- </div>
-
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><?php echo __('Look'); ?>:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-look" data-rule="required" min="0" class="form-control" name="row[look]" type="number" value="0">
- </div>
- </div>
-
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><?php echo __('Weigh'); ?>:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="0">
- </div>
- </div>
- <!-- <div class="form-group">-->
- <!-- <label class="control-label col-xs-12 col-sm-2"><?php echo __('Assign delivery'); ?>:</label>-->
- <!-- <div class="col-xs-12 col-sm-8">-->
- <!-- <input id="c-delivery_id" data-rule="" data-source="unishop/delivery/index" class="form-control selectpage"-->
- <!-- name="row[delivery_id]" type="text" value="">-->
- <!-- </div>-->
- <!-- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><?php echo __('Server'); ?>:</label>
- <div class="col-xs-12 col-sm-8">
- <?php echo build_checkboxs('row[server][]', $servers, [], ['class'=>'form-control', 'required'=>'']); ?>
- </div>
- </div>
-
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><?php echo __('Switch'); ?>:</label>
- <div class="col-xs-12 col-sm-8">
- <?php echo build_radios('row[switch]', ['1'=>__('Yes'), '0'=>__('No')], 1); ?>
- </div>
- </div>
- <div class="form-group layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="submit" class="btn btn-success btn-embossed disabled"><?php echo __('OK'); ?></button>
- <button type="reset" class="btn btn-default btn-embossed"><?php echo __('Reset'); ?></button>
- </div>
- </div>
- </form>
-
-
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
- </body>
- </html>
|