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

<!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/NewBase.js"></script>
    <link href="style/css/public.css" rel="stylesheet" />
    
</head>
<body>

 

     <!--#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/rightnewsadd.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="New_Name" class="inp"/></li>
         <li class="l1"><span class="red">*</span>文章图片：</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 />
     <asp:Image ID="cropedBigImg" runat="server" style="width:100px"/>--%>
             

             <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="New_Tion"  class="inp"/></li>
          <li class="l1">编辑人：</li><li class="l2"><input type="text" id="New_Editor" value="admin" class="inp" /></li>
        <li class="l1">来源：</li><li class="l2"><input type="text" id="New_Source" value="本站" class="inp" /></li>
        <li class="l1"><span class="red">*</span>文章分类：</li>
            <li class="l2"><div id="New_Category_A"><select  id="New_Category" class="inp">
            <option  selected="selected" value="0" >请选择</option> <%=newscates()%></select></div></li>
            <li class="l1">文章点击量：</li>
            <li class="l2"><input type="text" id="New_Mood" class="inp" value="0"/></li>
        <li class="l1">软件首页公告：</li>
        <li class="l2"><div id="New_Ments"><select   id="New_Ment" class="inp"  > <option  selected="selected" value="0">不置顶</option>  <option  value="1" >置顶</option></select></div></li>
   
        <li class="l1">加入轮播图：</li>
        <li class="l2"><div id="New_Rtion"><select   id="New_Rtions" class="inp"  > <option  selected="selected" value="0">不加入</option>  <option  value="1" >加入</option></select></div></li>
      
            
            <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" 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" ></textarea>
           </li>
             <li class="l3"><button id="Newsbtn" class="btn1">添加新闻</button></li>



           


          </ul>


          </form>

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