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

<!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="style/js/DataBase.js"></script>
     <link href="style/css/public.css" rel="stylesheet" />
        <style>
        #seb select option{
       
            background-color:#red;
             }
           
    </style>
</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/rightdataedit.html"-->
                 <script language="javascript">document.getElementById("rtit1").className = "a1";</script>
          <div class="rkuang">
    <form id="form1" runat="server">
        <ul class="uk">

               <li class="l1">数据ID:</li><li class="l2"><input type="text" id="Data_Edit_Id" value="<%=dataeditid()%>"   class="inp redony" readonly="readonly" /></li>
          

            <li class="l1"><span class="red">*</span>数据名称：</li><li class="l2"><input type="text" id="Data_Edit_title" value="<%=dataeditname()%>" class="inp"/></li>
            <li class="l1"><span class="red">*</span>数据简称：</li><li class="l2"><input type="text" id="Data_Edit_Simple" value="<%=dataeditsimple()%>" class="inp"/></li>
           <li class="l1"><span class="red">*</span>数据分类：</li><li class="l2"> <select id="Data_Edit_cate" class="inp"><%=LoadCategories(0)%></select></li>
                     
         
          
                <li class="l1">主图封面：</li>
                <li class="l2" style="height:170px;text-align: left;" >
                   
                    <input type="file" name="fuImg" id="fuImg"  accept="<%=PicFormat()%>" />
           
      <br /><br />
             <img id="img" src="<%=dataeditpic()%>" style="height:100px;width:100px;"/>

            </li>
            
             <li class="l1">数据大小：</li><li class="l2"><input type="text" id="Data_Edit_size" value="<%=dataeditbig()%>" class="inp" /></li><li class="l1">数据语言：</li><li class="l2"><select id="Data_Edit_age"  class="inp"><%=dataeditlang()%></select></li><li class="l1">数据授权：</li><li class="l2"> <select id="Data_Edit_grant"  class="inp"><%=dataeditpower()%></select></li><li class="l1">数据评分：</li><li class="l2"> <select id="Data_Edit_grade"  class="inp"><%=dataeditgrade()%></select></li>
                <li class="l1">支持系统：</li><li class="l2"><input type="text" id="Data_Edit_port" value="<%=dataeditsus()%>" class="inp"/></li><li class="l1">数据更新内容：</li><li class="l5"><textarea  id="Data_Edit_mark"  style="float: left;"><%=dataeditnotes()%></textarea></li><li class="l1">数据人气：</li><li class="l2"><input type="text" id="Data_Edit_popu" value="<%=dataeditmood()%>"  class="inp"/></li>
               <li class="l1">数据积分：</li><li class="l2"><input type="text" id="Data_Edit_jifen" value="<%=dataeditjifen()%>" class="inp"/></li><li class="l1">数据下载量：</li><li class="l2"><input type="text" id="Data_Edit_Down" value="<%=dataeditdowns()%>"  class="inp"/></li><li class="l1">数据点赞量：</li><li class="l2"><input type="text" id="Data_Edit_dianz" value="<%=dataeditzan()%>" class="inp"/></li><li class="l1">数据差评：</li><li class="l2"><input type="text" id="Data_Edit_negative" value="<%=dataeditnegative()%>" 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"><input type="text" value="<%=UserId() %>"  id="userid"  class="inp redony" readonly="readonly" /></li>
               <ul style="height:170px;">
               <li class="l1">版权证明：</li><li class="l2">
                                                       <div id="img_div" style="margin-left:0px;margin-top: 10px;">
	<img id="imgSelfu"  <%if (dataditpvc() == ""){%><%} %><%else {%>src="<%=dataditpvc() %>" <%} %> style="height:100px;width:100px;position: relative; z-index: 100;">
<input type="file" id="imgUploadu" accept="" style="position: absolute; opacity: 0; margin-left: -74px;margin-top: 35px;width: 51px;z-index: 110;"/>
 
</div>
                                        </li>
                   </ul>
               <ul style="height:110px;">
               <li class="l1" style="margin-top:20px;">分发授权：</li><li class="l2">
                                                       <div id="img_div" style="margin-left:0px;margin-top: 10px;">
	<img id="imgSelfs"   <%if (dataditppc() == ""){%><%} %><%else {%>src="<%=dataditppc() %>" <%} %> style="height:100px;width:100px;position: relative; z-index: 100;">
<input type="file" id="imgUploads" accept="" style="position: absolute; opacity: 0; margin-left: -74px;margin-top: 35px;width: 51px;z-index: 110;"/>
 
</div></li>
                   </ul>
               </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_Edit_have" class="inp">
                 <%=dataedithave()%>
                 </select><span class="fd" style="color:red">注意了：当选择加入装机必备时候，如果数据审核重新选择不通过或待审核状态时候，请先取消加入状态，否则会在装机必备页面产生下一页数量统计不变</span></li>
                     <li class="l1">数据置顶：</li>
            <li class="l2"><select id="Data_Edit_Top" class="inp">
                 <%=dataedittop() %>
                 </select><span class="fd" style="color:red">注意了：有用的就置顶，没用就不要置顶，建议最高上限10个，不要的时候要取消，别浪费资源</span></li>
            <li class="l1">数据特色：</li>
            <li class="l2"><select id="Data_Edit_Tone" class="inp">
                 <%=dataedittone()%>
                 </select><span class="fd" style="color:red">注意了：有用的就加入，没用就不要加入，建议最高上限16个，不要的时候要取消，别浪费资源</span></li>
             <li class="l1">加入轮播图：</li>
            <li class="l2"><select id="Data_Edit_Rotion" class="inp">
                 <%=dataeditrotion() %>
                 </select><span class="fd" style="color:red">注意了：有用的就加入，没用就不要加入，建议最高上限10个，不要的时候要取消，别浪费资源</span></li>
              
               <%if (dataeditrotionkg() == "1")
                 { %>
            <ul id ="Data_Rtionst">
            <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" src="<%=dataeditrotionpic()%>" style="height:400px;width:532px;"/>
            
                           </li>
                
                </ul>
               <%} %><%else { %>
            <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" src="<%=dataeditrotionpic()%>" style="height:400px;width:532px;"/>
            
                           </li>
                
                </ul>

               <%} %>
               <li class="l1">数据审核：</li>
            <li class="l2"><select id="Data_Edit_Status" class="inp">
                 <%=dataeditsta()%>
                 </select></li>
        <li class="l1">拒绝说明：</li><li class="l2"><input type="text" id="Data_Edit_Ju" size="100"  class="inp" placeholder="当选择不通过的时候，请填写拒绝说明，以便前台用户根据要求进行修改"/></li>

        <li class="l1">下载名称1：</li><li class="l2"><input type="text" id="Data_Edit_Name1"  style="width:120px;" size="100" value="<%=dataeditnameA()%>" class="inp"/></li>
         <li class="l1">下载地址1：</li><li class="l2"><input type="text" id="Data_Edit_down1" size="100" value="<%=dataeditlinkA()%>" class="inp"/></li>
            
        
        <li class="l1">下载名称2：</li><li class="l2"><input type="text" id="Data_Edit_Name2"  style="width:120px;" size="100" value="<%=dataeditnameB()%>" class="inp"/></li>
        <li class="l1">下载地址2：</li><li class="l2"><input type="text" id="Data_Edit_down2" size="100" value="<%=dataeditlinkB()%>" class="inp"/>></li>
           
        
         <li class="l1">下载名称3：</li><li class="l2"><input type="text" id="Data_Edit_Name3"  style="width:120px;" size="100" value="<%=dataeditnameC()%>"  class="inp"/></li>
         <li class="l1">下载地址3：</li><li class="l2"><input type="text" id="Data_Edit_down3" size="100" value="<%=dataeditlinkC()%>"  class="inp"/></li>
           
      
         <li class="l1">下载名称3：</li><li class="l2"><input type="text" id="Data_Edit_Name4"  style="width:120px;" size="100" value="<%=dataeditnameD()%>"  class="inp"/></li>
         <li class="l1">下载地址4：</li><li class="l2"><input type="text" id="Data_Edit_down4" size="100" value="<%=dataeditlinkD()%>"  class="inp"/></li>
            
        
             <li class="l1">
                <span class="red">*</span>数据内容：</li>
                <li class="l11" style="width:800px;"><textarea id="Data_body"  ><%=dataeditctt()%></textarea></li>
         

            <li class="l3"> <button id="Data_Edit_Btn" class="btn1">确认修改</button></li>

      </ul>
            
    </form>
              </div></div></div>
    <script src="style/upload/UDateBase.js"></script>
</body>
</html>
