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

<!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/GameBase.js"></script>
    <link href="style/css/public.css" rel="stylesheet" />
</head>
<body>
      <!--#include file="templets/top.html"-->
        <script language="javascript">
            document.getElementById("menu8").className = "a1";
    </script>
    <div class="yjcode">
       
        <!--#include file="templets/menu_game.html"-->
            <div class="right">
        <!--#include file="templets/rightgameedit.html"-->
                 <script language="javascript">document.getElementById("rtit1").className = "a1";</script>
    

  <div class="rkuang">
                   <ul class="uk">
                       <li class="l1">手游ID：</li><li class="l2"><input type="text" id="Game_Edit_Id"  value="<%=GameId() %>"    class="inp redony" readonly="readonly" /></li>
                       <li class="l1"><span class="red">*</span>手游名称：</li><li class="l2"><input type="text" id="Game_Edit_Name" value="<%=GameEditName()%>" class="inp" /></li>
                       <li class="l1"><span class="red">*</span>手游简称：</li><li class="l2"><input type="text" id="Game_Edit_Simple" value="<%=GameEditSimple()%>" class="inp" /></li>
                       <li class="l1"><span class="red">*</span>手游主图：</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="<%=GameEditImg() %>" style="height:100px;width:100px;" />
                                                                          </li>
                       

                       <li class="l1">手游大图：</li>
                       
                       <div id="img_div">
	<img id="imgSelf" <%if (GameEditImgA()==""){%> <%} %><%else {%>src="<%=GameEditImgA() %>"<%} %>style="height:100px;width:100px;position: relative; z-index: 100; ">
	<input type="file" id="imgUpload" accept="<%=PicFormat()%>" style="position: absolute; opacity: 0; margin-left: -65px;margin-top: 35px;width: 20px; z-index: 110;"/>
</div>
                    <div id="img_divs">
                        <img id="imgSelfs" <%if (GameEditImgB() ==""){%><%} %><%else {%>src="<%=GameEditImgB() %>" <%} %>  style="height:100px;width:100px;position: relative; z-index: 100;">
                        
	<input type="file" id="imgUploads" accept="<%=PicFormat()%>" style="position: absolute; opacity: 0; margin-left: -65px;margin-top: 35px;width: 20px; z-index: 110;""/>
 
</div>
                  <div id="img_divn">
	<img id="imgSelfn" <%if (GameEditImgC() ==""){%><%} %><%else {%>src="<%=GameEditImgC() %>" <%} %>  style="height:100px;width:100px;position: relative; z-index: 100;">
	<input type="file" id="imgUploan" accept="<%=PicFormat()%>" style="position: absolute; opacity: 0; margin-left: -65px;margin-top: 35px;width: 20px; z-index: 110;""/>
 
</div>
                 <div id="img_divj">
	<img id="imgSelfj" <%if (GameEditImgD() ==""){%><%} %><%else {%> src="<%=GameEditImgD() %>" <%} %>  style="height:100px;width:100px;position: relative; z-index: 100;">
	<input type="file" id="imgUploaj" accept="<%=PicFormat()%>" style="position: absolute; opacity: 0; margin-left: -65px;margin-top: 35px;width: 20px; z-index: 110;""/>

                 </div>
                <div id="img_divz">
	<img id="imgSelfz" <%if (GameEditImgE() ==""){%><%} %><%else {%>src="<%=GameEditImgE() %>" <%} %>  style="height:100px;width:100px;position: relative; z-index: 100;">
	<input type="file" id="imgUploaz" accept="<%=PicFormat()%>" style="position: absolute; opacity: 0; margin-left: -65px;margin-top: 35px;width: 20px; z-index: 110;""/>

</div>
                       <span class="fd" style="color:red">手游大图大小：400*800</span>
                       <li class="l1" style="margin-top:30px;"><span class="red">*</span>手游分类：</li><li class="l2" style="margin-top:30px;"><select id="Game_Edit_Cate" class="inp"><option value="0">请选择</option><%=GameEditCate()%></select></li>
                       <li class="l1"><span class="red">*</span>手游大小：</li><li class="l2"><input type="text" id="Game_Edit_Big" value="<%=GameEditBig() %>" class="inp" /></li>
                       <li class="l1"><span class="red">*</span>手游语言：</li><li class="l2"><select id="Game_Edit_Lang" class="inp"><option value="0">请选择</option><%= GameEditLang()%></select></li>
                       <li class="l1">手游分数：</li><li class="l2"><input type="text" id="Game_Edit_Fen" value="<%=GameEditFen() %>" class="inp" /><span class="fd red"  style="font-size:20px;margin-top:5px;">分</span></li>
                       <li class="l1">手游评分：</li><li class="l2"><select id="Game_Edit_Grade" class="inp"><option value="0">请选择</option><%= GameEditGrade()%></select></li>
                       <li class="l1">手游版本：</li><li class="l2"><input type="text" id="Game_Edit_Version" value="<%=GameEditVersion() %>" class="inp"/></li>
                       <li class="l1">手游人气：</li><li class="l2"><input type="text" id="Game_Edit_Mood" value="<%=GameEditMood()%>" class="inp" /></li>
                       <li class="l1">手游点赞：</li><li class="l2"><input type="text" id="Game_Edit_Zan" value="<%=GameEditZan() %>" class="inp" /></li>
                       <li class="l1">手游授权：</li><li class="l2"> <select id="Game_Edit_grant"  class="inp"><%=GameEditPower()%></select></li>
                       <li class="l1">手游踩点：</li><li class="l2"><input type="text" id="Game_Edit_Cai" value="<%=GameEditCai() %>" class="inp" /></li>
                       <li class="l1">手游下载量：</li><li class="l2"><input type="text" id="Game_Edit_Downs" value="<%=GameEditDowns()%>" class="inp" /></li>
                       <li class="l1">手游更新内容：</li><li class="l5"><textarea  id="Game_Edit_Notes"  style="float: left;"><%=GameEditNotes()%></textarea></li>
                       <li class="l1">安卓下载地址：</li><li class="l2"><input type="text" id="Game_Edit_Link" class="inp" value="<%=GameEditLink() %>" size="100" /></li>
                       <li class="l1">苹果下载地址：</li><li class="l2"><input type="text" id="Game_Edit_Links" class="inp" value="<%=GameEditLinks() %>" size="100" /></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="Game_Edit_Top" class="inp">
                            <%=GameEditTop() %>
                            </select></li>
          <li class="l1">加入轮播图：</li>
               <li class="l2"><select id="Game_Edit_Rotion" class="inp">
                   <%=GameEditRotion() %>

                              </select></li>
          <%if(GameRotionKg()=="1") { %>
            <ul id ="Game_Rtionst">
            <li class="l1">上传轮播图：</li>
        <li class="l2" style="height:460px;text-align: left;">
         <input type="file" id="Rotionfu"  accept="<%=PicFormat()%>" />  <span class="red">//请务必上传图片大小：532X400</span>
           
      <br /><br /> 
         <img id="Rotionimg" src="<%=GameeRotionImg() %>" style="height:400px;width:532px;"/>
            
                           </li>
                
                </ul>


          <%} %><%else { %>

                <ul id ="Game_Rtionst"   style="display:none">
            <li class="l1">上传轮播图：</li>
        <li class="l2" style="height:460px;text-align: left;">
         <input type="file" id="Rotionfu"  accept="<%=PicFormat()%>" />  <span class="red">//请务必上传图片大小：532X400</span>
           
      <br /><br /> 
         <img id="Rotionimg" src="<%=GameeRotionImg() %>" style="height:400px;width:532px;"/>
            
                           </li>
                
                </ul>

          <%} %>

          <li class="l1"><span class="red">*</span>手游内容：</li>
         
                <li class="l11"><textarea id="Game_body"><%=GameEditContent() %></textarea></li>
         

        <li class="l3"><button id="Game_Edit_Btn" class="btn1">提交修改</button></li>
                       </ul>
                       
      </div>
                </div>
        </div>
    <script src="style/upload/GameBase.js"></script>
</body>
</html>
