<!--#include file="ad_Fun.asp" -->

<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="<%=sitepath%>css/bootstrap.min.css" rel="stylesheet">
<link href="<%=sitepath%>css/font-awesome.min.css" rel="stylesheet">
<link href="<%=sitepath%>css/animate.min.css" rel="stylesheet">
<link href="<%=sitepath%>css/style.min.css" rel="stylesheet">
<link href="<%=sitepath&adminPath%>css/adminstyle.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="../../inc/webuploader/css/webuploader.css" />
<link rel="stylesheet" type="text/css" href="../../inc/webuploader/css/style.css" />
<script src="<%=sitepath%>js/jquery.min.js"></script>
<script src="<%=sitepath%>plugins/colorpicker/bootstrap-colorpicker.min.js"></script>
<!--[if lte IE 9]>
<script src="<%=sitepath%>js/respond.min.js"></script>
<script src="<%=sitepath%>js/html5.js"></script>
<![endif]-->
<script>var upfolder="ad";</script>
<script type="text/javascript" charset="utf-8" src="../../inc/webuploader/config.asp"></script>
<script type="text/javascript" charset="utf-8" src="../../inc/ueditor/ueditor.config.asp"></script>
<script type="text/javascript" charset="utf-8" src="../../inc/ueditor/ueditor.js"></script>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content">
  <div class="ibox float-e-margins">
    <div class="row m-t">
      <form method="post" action="?act=add&adid=<%=adid%>" class="form-horizontal" id="contentform">
        <div class="col-sm-12">
          <div class="ibox float-e-margins"> <a class="collapse-link">
            <div class="ibox-title">
              <h5>基本信息</h5>
              <div class="ibox-tools"><i class="fa fa-info-circle"></i> 将标签{cms:ad?}粘贴到模板文件合适的位置即可,"?"以ID调用.<i class="fa fa fa-chevron-up"></i> </div>
            </div>
            </a>
            <div class="ibox-content">
              <div class="form-group">
                <label class="col-sm-2 control-label">广告名称</label>
                <div class="col-sm-4">
                  <input type="text" name="AdName" required id="AdName" value="" class="form-control">
                </div>
                <label class="col-sm-2 control-label">状态</label>
                <div class="col-sm-1">
                  <div class="switch">
                    <div class="onoffswitch">
                      <input type="checkbox" checked   name="AdOnOff" class="onoffswitch-checkbox" id="example1">
                      <label class="onoffswitch-label" for="example1"> <span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span> </label>
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">链接</label>
                <div class="col-sm-4">
                  <input type="text" class="form-control">
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">图片</label>
                <div class="col-sm-4">
                  <input type="text" name="AdImg" id="pic"  value="" class="form-control">
                </div>
                <div class="col-sm-2"> <div id="pic_upload">上传</div> </div>
                <div class="col-sm-3"> <img height="30" id=""></div>
              </div>
                 <div class="ibox-title">
            <h5>内容主体</h5>
          </div>
              <div class="form-group">
                <div class="col-sm-12">
                  <textarea name="AdContent" id="content"></textarea>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="col-sm-12">
          <div class=" col-sm-10 col-md-offset-1">
            <button class="btn btn-primary" type="submit"><i class="fa fa-floppy-o"></i>　保存内容</button>
            <button class="btn btn-white" onClick="closelayer()" type="reset"><i class="fa fa-close"></i> 返回</button>
          </div>
        </div>
      </form>
      </form>
    </div>
  </div>
  <!-- End Panel Other --> 
</div>
<script src="<%=sitepath%>js/bootstrap.min.js"></script> 
<script src="<%=sitepath&adminPath%>js/content.min.js"></script>
<script type="text/javascript" src="<%=sitepath%>plugins/jedate/jquery.jedate.js"></script>
<link type="text/css" rel="stylesheet" href="<%=sitepath%>plugins/jedate/jedate.css">
<link href="<%=sitepath%>plugins/colorpicker/bootstrap-colorpicker.min.css" rel="stylesheet">
<script src="<%=sitepath%>plugins/switchery/switchery.js"></script>
<link href="<%=sitepath%>plugins/switchery/switchery.css" rel="stylesheet">
<script src="<%=sitepath%>plugins/layer/layer.min.js"></script> 
<script src="<%=sitepath&adminPath%>js/adminjs.js"></script>
<script type="text/javascript" src="../../inc/webuploader/js/webuploader.js"></script> 
<script type="text/javascript" charset="utf-8" src="../../inc/webuploader/config.asp"></script> 
<script type="text/javascript" src="../../inc/webuploader/js/oneupload.js"></script> 
</body>
</html>
