<!--#include file="Slide_Fun.asp" -->
<%getslide%>
<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]-->
</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=edit&SlideID=<%=SlideID%>" 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 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="SlideName" required id="SlideName" value="<%=SlideName%>" class="form-control">
                </div>                
                <label class="col-sm-2 control-label">启用</label>
                 <div class="col-sm-2">
               <div class="switch">
                            <div class="onoffswitch">
                                <input type="checkbox" <%=setCheck(SlideOnOff)%>  name="SlideOnOff" 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" name="SlideWidth" id="SlideWidth" value="<%=SlideWidth%>" class="form-control">
                </div>
                <label class="col-sm-2 control-label">高度</label>
                <div class="col-sm-4">
                  <input type="text" value="<%=SlideHeight%>" name="SlideHeight" id="SlideHeight" class="form-control">
                </div>
               </div> 
                 <div class="form-group">
                <label class="col-sm-2 control-label">分组</label>
                <div class="col-sm-4">
                  <select name="SlideClass" class="form-control ">
                    <option selected="selected" value="<%=SlideClass%>"><%=SlideClass%></option>
                     <option value="A">A</option>
                    <option value="B">B</option>
                    <option value="C">C</option>
                    <option value="D">D</option>
                    <option value="E">E</option>
                    <option value="F">F</option>
                    <option value="G">G</option>
                    <option value="H">H</option>
                  </select>
                </div>
                
                 <label class="col-sm-2 control-label">排序</label>
                  <div class="col-sm-2">
                  <input type="text" name="SlideOrder" id="SlideOrder" value="<%=SlideOrder%>" 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="SlideImg" id="slide"  value="<%=SlideImg%>" class="form-control">                 
                </div>
               <div class="col-sm-2"> <div id="slide_upload">上传</div></div>
              <div class="col-sm-2">  <img src="<%=SlideImg%>" height="30" id="img_slide"></div>
              </div>
               <div class="form-group"> 
                 <label class="col-sm-2 control-label">备用1</label>
                <div class="col-sm-4">
                  <input type="text" value="<%=Slidetitle1%>" name="Slidetitle1" id="Slidetitle1" placeholder="可留空" class="form-control">
                </div>
                 <label class="col-sm-2 control-label">备用2</label>
                <div class="col-sm-4">
                  <input type="text" value="<%=Slidetitle2%>" name="Slidetitle2" id="Slidetitle2" placeholder="可留空" class="form-control">
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">内容</label>
                <div class="col-sm-10">
                  <textarea class="form-control" name="SlideContent" id="SlideContent"><%=SlideContent%></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>
    </div>
  </div>
  <!-- End Panel Other --> 
</div>
<script src="<%=sitepath%>js/bootstrap.min.js"></script> 
<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 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> 
<script src="<%=sitepath&adminPath%>js/adminjs.js"></script>
<script src="<%=sitepath&adminPath%>js/content.min.js"></script> 
</body>
</html>
