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

<!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>后台管理-LOGO设置</title>
   <script src="style/upload/jquery-3.3.1.min.js"></script>
    <script src="style/js/config.js"></script>
        <link href="style/css/public.css" rel="stylesheet" />
     <style>
        #Web_Id{
            display:none;
        }
        </style>
</head>
<body>
    <!--#include file="templets/top.html"-->
        <script language="javascript">
            document.getElementById("menu1").className = "a1";
    </script>
    <div class="yjcode">
       
        <!--#include file="templets/menu_system.html"-->
            <div class="right">
        <!--#include file="templets/rightlogo.html"-->
                 <script language="javascript">document.getElementById("rtit1").className = "a1";</script>
          <div class="rkuang">
               <ul class="uk">
                   <input type="text" value="<%=Id()%>" id="Web_Id" />
                   <li class="l1">网站LOGO</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="<%=Logo()%>" style="height:100px;width:100px;"/>

                           </li>


                   <li class="l1">网站ico
                   </li>

                    <li class="l2" style="height:170px;text-align: left;">

                        <input type="file" name="fuImg" id="fuImg-ico"  accept="<%=PicFormat()%>" />
           <font color="red" >注意了，只支持png、jpg、jpeg图片，接口会自动转换ico图标，不支持直接上传ico图标，因为接口会自动识别把图片内部结构做一次篡改，防止图片木马，必须尺寸为32*32</font>
      <br /><br />
             <img id="img-ico" src="<%=Ico()%>" style="height:100px;width:100px;"/>
                        
                           </li>

             <li class="l1">手机logo</li>

              <li class="l2" style="height:170px;text-align: left;">
                        <input type="file" name="fuImg" id="fuImg-m"  accept="<%=PicFormat()%>" />
                <br /><br />
             <img id="img-m"   src="<%=MLogo()%>" style="height:100px;width:100px;"/>
                        
                           </li>

                   
                  
                    <li class="l3"><button onclick="Logobtn()" class="btn1">保存修改</button></li>

                   </ul>
              </div>

            </div>

    </div>
    <script src="style/upload/LogoUp.js"></script>



</body>
</html>
