<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:87:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\contact\index.html";i:1557903312;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;s:82:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\admin_items.html";i:1557480234;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>安全猫官网</title>
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.7 -->
        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
        <script type="text/javascript">
            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
            layui.use('layer', function () {
                var layer = layui.layer;
            });
        </script>
    </head>
    <body>
        
<form class="layui-form layui-form-pane" method="post">
    <div class="layui-tab layui-tab-card">
        <!--<?php if($admin_item): ?>
<ul class="layui-tab-title">
    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): if(array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],7,-5))),$allpower) || array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],31,-16))),$allpower)): ?>
    <li <?php if($item['name'] == $curitem): ?>class="layui-this" <?php endif; ?>>
    <a href="<?php echo $item['url']; ?>"><?php echo $item['text']; ?></a>
    <?php endif; ?>
    </li>
    <?php endforeach; endif; else: echo "" ;endif; ?>
    <div class="tool-btns">
        <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></i></a>
    </div>
</ul>
<?php endif; ?>-->
        <ul class="layui-tab-title">
            <li>
                <a href="index">联系我们</a>
            </li>
            <div class="tool-btns">
                <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
            </div>
        </ul>
        <div class="layui-tab-content page-tab-content">
            <div class="layui-tab-item layui-show ">
                <div class="layui-form-item">
                    <label class="layui-form-label"><?php echo \think\Lang::get('address'); ?></label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input field-name" name="address" id="address" value="<?php echo (isset($contact['address']) && ($contact['address'] !== '')?$contact['address']:''); ?>" lay-verify="address" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><?php echo \think\Lang::get('phone'); ?></label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input field-name" name="phone" id="phone" value="<?php echo (isset($contact['phone']) && ($contact['phone'] !== '')?$contact['phone']:''); ?>" lay-verify="phone" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
                    </div>
                </div>
                <!-- //////////////////// -->
                <div class="layui-form-item">
                    <label class="layui-form-label"><?php echo \think\Lang::get('email'); ?></label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input field-name" name="email" id="email" value="<?php echo (isset($contact['email']) && ($contact['email'] !== '')?$contact['email']:''); ?>" lay-verify="email" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><?php echo \think\Lang::get('fax'); ?></label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input field-name" name="fax" id="fax" value="<?php echo (isset($contact['fax']) && ($contact['fax'] !== '')?$contact['fax']:''); ?>" lay-verify="fax" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><?php echo \think\Lang::get('detail'); ?></label>
                    <div class="layui-input-inline">
                        <!--<input type="text" class="layui-input field-name" name="detail" id="detail" value="<?php echo (isset($contact['detail']) && ($contact['detail'] !== '')?$contact['detail']:''); ?>" lay-verify="detail" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />-->
                        <textarea name="detail" id="" cols="35" rows="50"  style="resize:none" ><?php echo (isset($contact['detail']) && ($contact['detail'] !== '')?$contact['detail']:''); ?></textarea>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><?php echo \think\Lang::get('update_time'); ?></label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input field-name" name="update_time" id="update_time" value="<?php echo (isset($contact['update_time']) && ($contact['update_time'] !== '')?$contact['update_time']:''); ?>" lay-verify="update_time" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="submit" class="layui-btn layui-btn-normal" lay-submit value="<?php echo lang('ds_submit'); ?>"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        var form = layui.form;
    });
</script>
<script>
    //Demo
    layui.use('form', function () {
        var form = layui.form;

        //监听提交
        form.on('submit(formDemo)', function (data) {
            layer.msg(JSON.stringify(data.field));
            return false;
        });
    });
</script>


    </body>
</html>



