<!DOCTYPE html>
<html>
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - {$site.sitename}</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> <link href="__ADMIN__/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="__ADMIN__/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="__ADMIN__/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__ADMIN__/css/animate.min.css" rel="stylesheet">
    <link href="__ADMIN__/css/style.min862f.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        
        
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>网站基本设置 <small></small></h5>
                        
                    </div>
                    <div class="ibox-content">
                        <form action="" method="post" enctype="multipart/form-data" data-type="ajax" class="form-horizontal">
                          <?php foreach ($systemres as $k => $v):?>
                           <?php if($v['type']==1):?>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><?php echo $v['cnname'];?>：</label>

                                <div class="col-sm-6">
                                    <input type="text" name="<?php echo $v['enname'];?>" value="<?php echo $v['value'];?>" class="form-control">
                                </div>
                            </div>
                            <?php endif;?>
                            <?php if($v['type']==2):?>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><?php echo $v['cnname'];?>：</label>

                                <div class="col-sm-6">
                                    <input type="file" id="file" name="<?php echo $v['enname'];?>" value="<?php echo $v['value'];?>" class="form-control">
                                    {if condition="$v['value']" }
                                    <img src="__ROOT__{$v.value}" height="80" />
                                    {else/}
                                    暂无图片
                                    {/if}
                                </div>
                            </div>
                            <?php endif;?>
                            <?php if($v['type']==3):?>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><?php echo $v['cnname'];?>：</label>

                                <div class="col-sm-6">
                                    <textarea name="<?php echo $v['enname'];?>" class="form-control"><?php echo $v['value'];?></textarea>
                                </div>
                            </div>
                            <?php endif;?>
                        <?php endforeach;?> 
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary" type="submit">保存内容</button>
                                    <button class="btn btn-white"  type="submit">取消</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    

    <script src="__ADMIN__/js/jquery.min.js?v=2.1.4"></script>
    <script src="__ADMIN__/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="__ADMIN__/js/content.min.js?v=1.0.0"></script>
    <script src="__ADMIN__/js/plugins/iCheck/icheck.min.js"></script>
    <script>
        $(document).ready(function(){$(".i-checks").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",})});
    </script>
   
    <!-- <script src="__ADMIN__/js/plugins/layer/layer.min.js"></script>
   
    <script src="__ADMIN__/js/layer_hplus.js"></script> -->
   
</body>

</html>
