<div class="layui-form" style="margin-top: 15px; padding-right: 15px;">
<form class="layui-form" id="detail_form" method="post">
  <div class="layui-form-item">
    <label class="layui-form-label">网站名称</label>
    <div class="layui-input-block">
      <input type="text" name="title" lay-verify="required" placeholder="请输入" class="layui-input" value="<?php echo $config->name; ?>">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">网站域名</label>
    <div class="layui-input-block">
      <input type="text" name="domain" placeholder="请输入" class="layui-input" value="<?php echo $config->domain; ?>">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">备案号</label>
    <div class="layui-input-block">
      <input type="text" name="icpno" placeholder="请输入" class="layui-input" value="<?php echo $config->icpno; ?>">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">版权所有</label>
    <div class="layui-input-block">
      <input type="text" name="copyright" placeholder="请输入" class="layui-input" value="<?php echo $config->copyright; ?>">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">开放注册</label>
    <div class="layui-input-block">
      <input type="radio" name="isregist" value="1" title="开放" <?php if($config->isregist==1){echo ' checked';} ?>>
      <input type="radio" name="isregist" value="0" title="关闭" <?php if($config->isregist==0){echo ' checked';} ?>>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">禁止注册账号</label>
    <div class="layui-input-inline" style="width: 60%;">
      <textarea name="regiforbid" class="layui-textarea"><?php echo $regiforbid; ?></textarea>
    </div>
    <div class="layui-form-mid layui-word-aux">多个账号使用英文逗号分割</div>
  </div>

  <div class="layui-form-item">
    <div class="layui-input-block">
      <button type="button" class="layui-btn" id="finished_button">提交</button>
      <button type="button" class="layui-btn layui-btn-primary" onclick="javascript:window.history.back();">取消</button>
    </div>
  </div>

</form>
</div>

<script src="/public/modules/glconfig/default/index.js"></script>