<?php /*a:2:{s:54:"/www/wwwroot/117.72.69.185/app/curd/view/demo/add.html";i:1734159472;s:76:"/www/wwwroot/117.72.69.185/app/curd/view/../../backend/view/layout/main.html";i:1734156624;}*/ ?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title><?php echo syscfg('site','sys_name'); ?>后台管理</title>
    <meta property="og:keywords" content="<?php echo syscfg('site','site_seo_keywords'); ?>" />
    <meta property="og:description" content="<?php echo syscfg('site','site_seo_desc'); ?>" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="referrer" content="never">
    <meta name="format-detection" content="telephone=no">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css?v=<?php echo syscfg('site','site_version'); ?>" media="all" />
    <link rel="stylesheet" href="/static/backend/css/comm.css?v=<?php echo syscfg('site','site_version'); ?>" media="all">
    <link rel="stylesheet" href="/static/backend/css/global.css?v=<?php echo syscfg('site','site_version'); ?>" media="all" />
    <!--    <script src="/static/plugins/jquery/jquery-3.7.1.min.js"></script>-->
    <script src="/static/plugins/layui/layui.js?v=<?php echo syscfg('site','site_version'); ?>" charset="utf-8"></script>
    <style>
        .tox-promotion,
        .tox-statusbar__branding {  
            display: none;  
        }
    </style>
    <?php echo token_meta(); ?>
    <script>
        window.Config = <?php echo json_encode($config); ?>;
        window.FormArray = <?php echo isset($formData)?(json_encode($formData)):'""'; ?>,
        window.STATIC ='/static'
        window.PLUGINS = '/static/plugins';
        window.APP = '<?php echo htmlentities($APP); ?>';
        window.CONTROLLER = '<?php echo htmlentities($CONTROLLER); ?>';
        window.ACTION = '<?php echo htmlentities($ACTION); ?>';
        window.ADMIN_PATH = '<?php echo env("ADMIN_PATH", "backend"); ?>';
    </script>
</head>

<body style="padding: 10px;background: #fff">

<div class="fun-container" id="app">

    <form class="layui-form" lay-filter="form">
      <?php echo Form::selectpage('group_id',[],['url'=>'demo/member','field'=>'username','multiple'=>true,'verify'=>'required'],1); ?>
      <?php echo Form::xmselect('member_id',[],['url'=>__u('demo/member'),'label' => 'member','remotesearch'=>1, 'verify'=>'required','radio'=>1],['username','id'],); ?>
      <?php echo Form::city('citys', ['label' => 'citys', 'verify'=>'required']); ?>
      <?php echo Form::selectcx(['province_id','city_id','area_id'],[], ['url'=>__u('getcitys'),'label' => 'citys', 'verify'=>'required'],'',$formData?$formData['province_id'].','.$formData['city_id'].','.$formData['area_id']:''); ?>
      <?php echo Form::selects('mystate',$mystateList, ['label' => '复选', 'multiple'=>1,'verify'=>'required'],'','1,2'); ?>
      <?php echo Form::select('mystate2',$mystateList, ['label' => '单选','verify'=>'require1'],'','2'); ?>
      <?php echo Form::rate('rate', ['label' => 'rate', 'verify'=>'required']); ?>
      <?php echo Form::slider('slider', ['label' => 'slider', 'verify'=>'required']); ?>
      <?php echo Form::upload('attach_file', ['label' => 'AttachFile', 'verify'=>'require1', 'type' => 'radio', 'mime' => 'file', 'path' =>'my', 'num' => '1']); ?>
      <?php echo Form::upload('attach_file', ['select'=>"upload-choose",'label' => 'AttachFile', 'verify'=>'require1', 'type' => 'radio', 'mime' => 'file', 'path' =>'my', 'num' => '1']); ?>
      <?php echo Form::upload('attach_files',  ['label' => 'AttachFiles', 'verify'=>'require1', 'type' => 'checkbox', 'mime' => 'file', 'path' => 'my', 'num' => '*']); ?>
      <?php echo Form::select('cate_id',$cateIdList, ['label' => 'CateId', 'verify'=>'required', 'search' => 1], [], ''); ?>
      <?php echo Form::selects('cate_ids',$cateIdList, ['label' => 'CateIds','multiple'=>'1','verify'=>'required'],'', $formData?$formData['cate_ids']:''); ?>
      <?php echo Form::editor('description',['label'=>'Description','verify' => 'required']); ?>
      <?php echo Form::editor('editor_content',['label'=>'EditorContent','verify' => '']); ?>
      <?php echo Form::upload('image',['label' => 'Image', 'verify'=>'require1', 'type' => 'radio', 'mime' => 'image', 'path' => 'demo', 'num' => '1']); ?>
      <?php echo Form::upload('images', ['label' => 'Images', 'verify'=>'require1', 'type' => 'checkbox', 'mime' => 'image', 'path' =>'demo', 'num' => '*']); ?>
      <?php echo Form::input('keywords', 'text', ['label' => 'Keywords', 'verify'=>'required'], ''); ?>
      <?php echo Form::tags('keywords', ['label' => 'Keywords', 'verify'=>'required'], ''); ?>
      <?php echo Form::radio('open_switch' ,$openSwitchList, ['label' => 'OpenSwitch', 'verify'=>'required'], '0'); ?>
      <?php echo Form::input('price', 'number', ['label' => 'Price', 'verify'=>'required','step'=>2], '0.00'); ?>
      <?php echo Form::radio('sexdata' ,$sexdataList, ['label' => 'Sexdata', 'verify'=>'required'], 'secret'); ?>
      <?php echo Form::date('startdate', ['label' => 'Startdate', 'verify'=>'required', 'type' => 'date']); ?>
      <?php echo Form::radio('status' ,$statusList, ['label' => 'Status', 'verify'=>'required'], '1'); ?>
      <?php echo Form::radio('switch' ,$switchList, ['label' => 'Switch', 'verify'=>'required'], '1'); ?>
      <?php echo Form::checkbox('my2state', $my2stateList,['label' => 'My2state', 'verify' => 'required'], $formData?$formData['my2state']:'2'); ?>
      <?php echo Form::checkbox('mystate', $mystateList,['label' => 'Mystate', 'verify'=>'required'], $formData?$formData['mystate']:'1'); ?>
      <?php echo Form::color('my_color',['label' => 'MyColor', 'verify' => 'required','search' => 1]); ?>
      <?php echo Form::textarea('textarea', ['label' => 'Textarea', 'verify'=>'required',], ''); ?>
      <?php echo Form::date('times', ['label' => 'Times', 'verify'=>'required', 'type' => 'time']); ?>
      <?php echo Form::date('timestaptime', ['label' => 'Timestaptime', 'verify'=>'required']); ?>
      <?php echo Form::date('activitytime', ['label' => 'Activitytime', 'verify'=>'required']); ?>
      <?php echo Form::select('week',$weekList, ['label' => 'Week', 'verify'=>'required', 'search' => 1], [], 'monday'); ?>
      <?php echo Form::date('year', ['label' => 'Year', 'verify'=>'required', 'type' => 'year']); ?>
      <?php echo Form::submitbtn(); ?>
</form>


</div>
</body>
</html>
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script defer src="/static/require.min.js?v=<?php echo syscfg('site','site_version'); ?>" data-main="/static/js/require-backend<?php echo syscfg('site','app_debug')?'':'.min'; ?>.js?v=<?php echo syscfg('site','site_version'); ?>" charset="utf-8"></script>

<?php if(!empty($formScript)): ?><?php echo $formScript; ?><?php endif; if(!empty($tableScript)): ?><?php echo $tableScript; ?><?php endif; ?>
