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

<!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>
    <link href="style/css/public.css" rel="stylesheet" />
    <script src="style/upload/jquery-3.3.1.min.js"></script>
    <script src="ckeditor/ckeditor.js"></script>
    <script src="style/js/NewBase.js"></script>
</head>
<body>
        <div id="none"  style="display:none">
      <%=neweditlunkg() %>
                    </div>
        <!--#include file="templets/top.html"-->
        <script language="javascript">
            document.getElementById("menu4").className = "a1";
    </script>
    <div class="yjcode">
       
        <!--#include file="templets/menu_news.html"-->
            <div class="right">
        <!--#include file="templets/rightnewsedit.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" value="<%=neweditid()%>"  id="New_Edit_Id" class="inp redony" readonly="readonly" /></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" />
           <br/> <br/>
        <img src="<%=neweditimg()%>" id="News_Edit_img" style="height:120px; width:130px;"/>--%>


 <input type="file" name="fuImg" id="fuImg"  accept="<%=PicFormat()%>" />
           
      <br /><br />
             <img id="img" src="<%=neweditimg()%>" style="height:100px;width:100px;" />
                  </li>
  

        <li class="l1"><span class="red">*</span>文章名称：</li><li class="l2"><input type="text" value="<%=neweditname()%>" class="inp" id="New_Edit_Name" /></li>
                       
                         
       <li class="l1"><span class="red">*</span>文章分类：</li><li class="l2"><select  id="New_Category" class="inp"> 
            <%=newscates()%>

             </select></li>
               
       <li class="l1">编辑人：</li><li class="l2"><input type="text" value="<%=newediteditor()%>" id="New_Edit_Editor" class="inp" /></li>
       <li class="l1">来源：</li><li class="l2"><input type="text" value="<%=newditsource()%>" id="New_Edit_Source" class="inp" /></li>                             
        <li class="l1">文章简介：</li><li class="l2"><input type="text" value="<%=newedittion()%>" id="New_Edit_Tion" class="inp"/></li>
           <li class="l1">文章点击量：</li><li class="l2"><input type="text" value="<%=neweditmood()%>"  id="New_Edit_Mood" class="inp"/></li>
                <li class="l1">软件首页公告：</li>
                <li class="l2"><select id="New_Edit_Ment" class="inp">

                    <%=neweditment()%>

                               </select></li>
                                  
                 <li class="l1">加入轮播图：</li>
        <li class="l2"><div id="New_Edit_Rtion"><select   id="New_Rtions" class="inp"  > 
            
           <%=neweditlun()%></select></div></li>
            
            <%if (neweditlunkg() == "1")
              { %>
            <ul id ="New_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="<%=neweditlunpic()%>" style="height:400px;width:532px;"/>
            
                           </li>
                
                </ul>

                <%}%><%else {%>

                <ul id ="New_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="<%=neweditlunpic()%>" style="height:400px;width:532px;"/>
            
                           </li>
                
                </ul>
                <%} %>

        <li class="l1"><span class="red">*</span>文章内容：</li><li class="111" style="width:800px;"><textarea  id="Newbody" maxlength="150" ><%=newedittxt()%></textarea></li>
                                      
<li class="l3"><button id="New_Edit_Btn"  class="btn1">确定保存</button></li>

              




                </ul>
       </form>

   

                </div></div></div>
     <script src="style/upload/NewAdd.js"></script>
</body>
</html>
