<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_DataAdd.aspx.cs" Inherits="noodles.admin.Admin_DataAdd" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>后台首页-数据添加</title>
    <script src="style/upload/jquery-3.3.1.min.js"></script>
      <script src="../ckeditor/ckeditor.js"></script>
    <script src="../layui/layui.js"></script>
    <script src="style/js/DataBase.js"></script>
    <link href="../layui/css/layui.css" rel="stylesheet" />
    <link href="style/css/public.css" rel="stylesheet" />

</head>
<body>
            <!--#include file="templets/top.html"-->
        <script language="javascript">
            document.getElementById("menu5").className = "a1";
    </script>
    <div class="yjcode">
       
        <!--#include file="templets/menu_data.html"-->
            <div class="right">
        <!--#include file="templets/rightdataadd.html"-->
                 <script language="javascript">document.getElementById("rtit1").className = "a1";</script>
          <div class="rkuang">
    <form id="form1" runat="server">
        <ul class="uk">
        <li class="l1"><span class="red">*</span>数据名称：</li><li class="l2"><input type="text" id="Data_title"  class="inp"/></li>
        <li class="l1"><span class="red">*</span>数据简称：</li><li class="l2"><input type="text" id="Data_Simple"  class="inp"/></li>
           
        <li class="l1"><span class="red">*</span>数据分类：</li><li class="l2"><select id="Data_cate"  class="inp"><option  value="0">请选择</option><%=datacates()%></select></li>
             
        
        <li class="l1">主图封面：</li>
              
                             
            <li class="l2" style="height:170px;text-align: left;" ><%--<asp:FileUpload ID="uploadImage" runat="server" accept=".jpg,.png,.jpeg" />
        <asp:Button ID="btnUploding" runat="server" Text="上传图片" OnClick="btnUploding_Click"  onclientClilck="return false;"/>//注意：如果添加数据，图片先上传在输入数据
           <br/> <br/>
       <asp:Image ID="cropedBigImg" runat="server" style="height:120px; width:130px;"  />--%>
            <input type="file" name="fuImg" id="fuImg"  accept="<%=PicFormat()%>" />
           
      <br /><br />
             <img id="img" style="height:100px;width:100px;"/>
            </li>
           
        <li class="l1">数据大小：</li><li class="l2"><input type="text" id="Data_size" class="inp"/></li><li class="l1">数据语言：</li><li class="l2"><select id="Data_age"  class="inp"><%=datalang()%></select><%--<input type="text" id="Data_age" class="inp"/>--%></li><li class="l1">数据授权：</li><li class="l2"> <select id="Data_grant"  class="inp"><option  value="1">免费软件</option><option  value="2">试用软件</option><option  value="3">商用软件</option><option  value="4">收费软件</option></select></li>

        <li class="l1">数据评分：</li><li class="l2"> <select id="Data_grade"  class="inp"><option  value="0">请选择</option><option  value="1">一星</option><option  value="2">二星</option><option  value="3">三星</option><option  value="4">四星</option><option  value="5">五星</option></select></li>

        <li class="l1">支持系统：</li><li class="l2"><input type="text" id="Data_port"  class="inp"/></li><li class="l1">数据备注：</li><li class="l2"><input type="text" id="Data_mark"  class="inp"/></li><li class="l1">数据人气：</li><li class="l2"><input type="text" id="Data_popu"  value="0" class="inp"/></li>

        <li class="l1">数据积分：</li><li class="l2"><input type="text" id="Data_jifen" value="0" class="inp"/></li><li class="l1">数据下载量：</li><li class="l2"><input type="text" id="Data_Down" value="0" class="inp"/></li><li class="l1">数据点赞量：</li><li class="l2"><input type="text" id="Data_dianz" value="0" class="inp"/></li><li class="l1">数据差评：</li><li class="l2"><input type="text" id="Data_negative" value="0" class="inp"/></li>
            
        </ul>
        <ul class="rcap"><li class="l1"></li><li class="l2">管理员操作</li><li class="l3"></li></ul>
        <ul class="uk">
          <li class="l1">装机必备：</li>
            <li class="l2"><select id="Data_have" class="inp">
                 <option  value="0" selected>不加入</option>
                <option  value="1" >加入</option>
                 </select></li>
             <li class="l1">数据置顶：</li>
            <li class="l2"><select id="Data_Top" class="inp">
                 <option  value="0" selected>不置顶</option>
                <option  value="1" >置顶</option>
                 </select><span class="fd" style="color:red">注意了：有用的就置顶，没用就不要置顶，建议最高上限10个，不要的时候要取消，别浪费资源</span></li>
            <li class="l1">数据特色：</li>
            <li class="l2"><select id="Data_Tone" class="inp">
                 <option  value="0" selected>不加入</option>
                <option  value="1" >加入</option>
                 </select><span class="fd" style="color:red">注意了：有用的就加入，没用就不要加入，建议最高上限16个，不要的时候要取消，别浪费资源</span></li>
             <li class="l1">加入轮播图：</li>
            <li class="l2"><select id="Data_Rotion" class="inp">
                 <option  value="0" selected>不加入</option>
                <option  value="1" >加入</option>
                 </select><span class="fd" style="color:red">注意了：有用的就加入，没用就不要加入，建议最高上限10个，不要的时候要取消，别浪费资源</span></li>
                
            <ul id ="Data_Rtionst" style="display:none;">
            <li class="l1">上传轮播图：</li>
        <li class="l2" style="height:460px;text-align: left;">
         <input type="file" id="fuImgs"  accept="<%=PicFormat()%>" />  <span class="red">//请务必上传图片大小：532X400</span>
           
      <br /><br /> 
         <img id="pic" style="height:400px;width:532px;"/>
            
                           </li>
                
                </ul>
        <li class="l1">下载名称1：</li><li class="l2"><input type="text" id="Data_Name1"  style="width:120px;" size="100" class="inp"/></li>
        <li class="l1">下载地址1：</li><li class="l2"><input type="text" id="Data_down1" size="100" class="inp"/></li>
        
        <li class="l1">下载名称2：</li><li class="l2"><input type="text" id="Data_Name2"  style="width:120px;" size="100" class="inp"/></li>
        <li class="l1">下载地址2：</li><li class="l2"><input type="text" id="Data_down2" size="100" class="inp"/></li>
            
        <li class="l1">下载名称3：</li><li class="l2"><input type="text" id="Data_Name3"  style="width:120px;" size="100" class="inp"/></li>
        <li class="l1">下载地址3：</li><li class="l2"><input type="text" id="Data_down3" size="100" class="inp"/></li>
           
        <li class="l1">下载名称3：</li><li class="l2"><input type="text" id="Data_Name4"  style="width:120px;" size="100" class="inp"/></li>
        <li class="l1">下载地址4：</li><li class="l2"><input type="text" id="Data_down4" size="100" class="inp"/></li>
            
       
            
                <li class="l1"><span class="red">*</span>数据内容：</li>
                <li class="l11"><textarea id="Data_body"></textarea></li>
         

        <li class="l3"><button id="Data_Btn" class="btn1">提交添加</button></li>
    </ul>
    </form>
                  </div></div></div>
</body>
<script src="style/upload/UDateBase.js"></script>
</html>
