123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <?php
- /* Smarty version 3.1.30, created on 2018-05-07 00:09:39
- from "D:\phpStudy\WWW\workorder\application\views\templates\template\report.html" */
- /* @var Smarty_Internal_Template $_smarty_tpl */
- if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
- 'version' => '3.1.30',
- 'unifunc' => 'content_5aef28c335bb60_66166406',
- 'has_nocache_code' => false,
- 'file_dependency' =>
- array (
- '584d7fb9f2ffbe878ee5723f5781d1cc252353ff' =>
- array (
- 0 => 'D:\\phpStudy\\WWW\\workorder\\application\\views\\templates\\template\\report.html',
- 1 => 1524913465,
- 2 => 'file',
- ),
- ),
- 'includes' =>
- array (
- ),
- ),false)) {
- function content_5aef28c335bb60_66166406 (Smarty_Internal_Template $_smarty_tpl) {
- ?>
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
- <meta name="robots" content="noindex,nofollow">
- <title><?php echo $_smarty_tpl->tpl_vars['sys_name']->value;?>
- </title>
- <base href="<?php echo base_url();?>
- "/>
- <link href="static/css/bootstrap.min.css" rel="stylesheet">
- <link rel="stylesheet" href="static/css/style.css">
- <?php echo '<script'; ?>
- language="javascript" type="text/javascript">
- var SITE_URL = "<?php echo base_url();?>
- ";
- var message = "<?php echo $_smarty_tpl->tpl_vars['message']->value;?>
- ";<?php echo '</script'; ?>
- >
- <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
- <!--[if lt IE 9]>
- <?php echo '<script'; ?>
- src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"><?php echo '</script'; ?>
- >
- <?php echo '<script'; ?>
- src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"><?php echo '</script'; ?>
- >
- <![endif]-->
- </head>
- <body style="background: #fff; min-width: auto;">
- <div style="padding:10px">
- <div class="panel panel-default grid">
- <div class="panel-body">
- <form class="form-horizontal" role="form" id="validateform" name="validateform" action="" method="post"
- novalidate="novalidate">
- <input type="hidden" name="template_id" value="<?php echo $_smarty_tpl->tpl_vars['template']->value['template_id'];?>
- ">
- <input type="hidden" name="template_name" value="<?php echo $_smarty_tpl->tpl_vars['template']->value['template_name'];?>
- ">
- <input type="hidden" name="template_file" value="<?php echo $_smarty_tpl->tpl_vars['template']->value['template_file'];?>
- ">
- <input type="hidden" name="template_html" id="template_html" value="">
- <div>
- <?php echo '<script'; ?>
- id="editor" type="text/plain" style="width:100%;height:500px;"><?php echo $_smarty_tpl->tpl_vars['template']->value['template_html'];
- echo '</script'; ?>
- >
- </div>
- <div class="form-actions text-left">
- <button type="submit" id="dosubmit" class="btn btn-primary ">保存</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- <?php echo '<script'; ?>
- type="text/javascript" charset="utf-8" src="static/js/jquery.js"><?php echo '</script'; ?>
- >
- <?php echo '<script'; ?>
- type="text/javascript" charset="utf-8" src="static/js/bootstrap.js"><?php echo '</script'; ?>
- >
- <?php echo '<script'; ?>
- type="text/javascript" charset="utf-8" src="static/js/layer/layer.js"><?php echo '</script'; ?>
- >
- <?php echo '<script'; ?>
- type="text/javascript" charset="utf-8" src="static/ueditor/neditor.config.js"><?php echo '</script'; ?>
- >
- <?php echo '<script'; ?>
- type="text/javascript" charset="utf-8" src="static/ueditor/neditor.all.js"><?php echo '</script'; ?>
- >
- <?php echo '<script'; ?>
- type="text/javascript">
- $(function () {
- if (message != "" && message != undefined) {
- layer.alert(message);
- }
- var ue = UE.getEditor('editor');
- $("form").submit(function () {
- $("button").attr("disabled","disabled");
- var content = ue.getContent();
- $("#template_html").val(content);
- })
- })
- <?php echo '</script'; ?>
- >
- </body>
- </html><?php }
- }
|