<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wxarticlemanager.aspx.cs" Inherits="Us.Web.admin.wxadmin.wxarticlemanager" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <title>微信文章表管理</title>
    <asp:Literal ID="litregscript" runat="server" Text=""></asp:Literal>
    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
     <%=ImportScriptStr %>
    <script language="javascript" src="/admin/js/System.js" type="text/javascript"></script>
 <script language="javascript" src="/admin/My97DatePicker/WdatePicker.js" type="text/jscript"></script>
 <script  language="javascript" src="/editor/xheditor.js" type="text/javascript" ></script>
    <script type="text/javascript" src="/editor/xheditor_lang/zh-cn.js"></script>
       <script type="text/javascript">
           function loadinfo(isload, id) {
               if (isload) {
                   $('#' + id).xheditor({ upLinkUrl: s_upLinkUrl, upLinkExt: s_upLinkExt, upImgUrl: s_upLinkUrl, upImgExt: s_upImgExt, upFlashUrl: s_upLinkUrl, upFlashExt: s_upFlashExt, upMediaUrl: s_upLinkUrl, upMediaExt: s_upMediaExt });
               }
               else {

                   $('#' + id).xheditor(false);
               }
           }

           $(function () {
               var b = $("#drpIsShowTitle").val();
               if (b == "0")
               {
                   loadinfo(true, "txtAInfo");
               }
           });

    </script>
</head>
<body onload="win_onLoad();">
    <form id="form1" runat="server">
    
    <div id="tbMain">
        <div class="divTbg">
            <div class="divTbgL">
            </div>
            <div class="divTbgInfo">
                <div class="divTbgTitle">
                    微信文章表管理</div>
            </div>
        </div>
        <div class="divTbgF">
        </div>
        <div class="divTNavBG" id="topURL">
            <ul id="topURLul">
                <li class="divURLed" id="div1">
                    <div>
                        <img src="../style/default/images/mini_icons_046.gif" width="10" height="10" />
                        基本信息</div>
                </li>
            </ul>
        </div>
        <div id="mypanel">
            <div class="divInfoContext">
                <div class="divInfo">
                    <div class="divInfoblack">
                        <div class="divInfoTopList">
                            <div class="listLeft">
                                <div class="navtitle">
                                    微信文章表管理</div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="divInfo">
                   

                     <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist" id="mainlist" onMouseOver="changeto()" onmouseout="changeback()">
<tr class="tablisttr">
<td class="tablisttitle">隶属栏目<span class="fStar">*</span></td><td class="tabmanagertr"><asp:DropDownList runat="server" ID="drpCID" ToolTip="隶属栏目" CssClass="1">
                                    
                                </asp:DropDownList>
</td>
<td class="tablisttitle">文章标题<span class="fStar">*</span></td><td class="tabmanagertr"><asp:TextBox ID="txtAName" runat="server" ToolTip="文章标题" Text="" CssClass="1"></asp:TextBox>
</td>
</tr>
<tr class="tablisttr">
<td class="tablisttitle">是否显示标题<span class="fStar">*</span></td><td class="tabmanagertr"><asp:DropDownList runat="server" ID="drpIsShowTitle" ToolTip="是否显示" CssClass="1">
                                    <asp:ListItem Value="CodeYesNo" Text="codeno"></asp:ListItem>
                                </asp:DropDownList>
</td>
<td class="tablisttitle">&nbsp;</td><td class="tabmanagertr">如果不显示标题，可以完全自己定义文章内容</td>
</tr>
<tr class="tablisttr">
<td class="tablisttitle">是否显示<span class="fStar">*</span></td><td class="tabmanagertr"><asp:DropDownList runat="server" ID="drpIsShow" ToolTip="是否显示" CssClass="1">
                                    <asp:ListItem Value="CodeYesNo" Text="codeno"></asp:ListItem>
                                </asp:DropDownList>
</td>
<td class="tablisttitle">文章插图</td><td class="tabmanagertr"><asp:TextBox ID="txtAImages" runat="server" ToolTip="文章插图" Text=""></asp:TextBox>

         <a href="#" onclick="SkyOpenBak('txtAImages');">[选择]</a>
                                <a href="#" onclick="SkyView('txtAImages');">[查看]</a>

</td>
</tr>
<tr class="tablisttr">
<td class="tablisttitle">链接地址</td><td class="tabmanagertr"><asp:TextBox ID="txtAURL" runat="server" ToolTip="链接地址" Text="" ></asp:TextBox>
    <br />
    默认什么都不填写即可</td>
<td class="tablisttitle">显示顺序<span class="fStar">*</span></td><td class="tabmanagertr"><asp:TextBox ID="txtShowID" runat="server" ToolTip="显示顺序" Text="1" CssClass="1"></asp:TextBox>
</td>
</tr>
<tr class="tablisttr">
<td class="tablisttitle">文章内容<span class="fStar">*</span></td><td class="tabmanagertr" colspan="3">
    <asp:TextBox ID="txtAInfo" runat="server" ToolTip="文章内容" Text=""  TextMode="MultiLine" 
        Height="380px" Width="100%" class="xheditor1 {upLinkUrl:s_upLinkUrl,upLinkExt:s_upLinkExt,upImgUrl:s_upLinkUrl,upImgExt:s_upImgExt,upFlashUrl:s_upLinkUrl,upFlashExt:s_upFlashExt,upMediaUrl:s_upLinkUrl,upMediaExt:s_upMediaExt}"></asp:TextBox>
    <br />
    <a id="loadedit" href="javascript:loadinfo(true,'txtAInfo');">[加载编辑器]</a>  <a id="A1" href="javascript:loadinfo(false,'txtAInfo');">[卸载编辑器]</a>
                                    有些内容可能需要使用编辑器编辑，则直接点击加载编辑器即可，如果不使用，直接点击卸载即可
</td>
</tr>
</table>




                    <div class="divSave">
                        <asp:Button ID="btnSubmit" runat="server" Text="保存(S)" 
                            CssClass="SkyButtonFocus" onclick="btnSubmit_Click" />
                        <asp:Button ID="btnExit" runat="server" Text="取消(C)" CssClass="SkyButtonFocus" 
                            onclick="btnSubmit_Click" />
                    </div>
                </div>
            </div>
        </div>
    </div>

    </form>
</body>
</html>