<%@ page title="" language="VB" masterpagefile="MasterPage.master" autoeventwireup="false" inherits="user_user_adminnews, App_Web_user_adminnews.aspx.6cc23264" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script language="javascript" type="text/javascript">
    function sou_new_lei(name) {

        var count = 'user_adminnews.aspx?sou=<%=server.urlencode(ubb.query_string("sou"))%>&sou_flei=';

        return count;

    }


    function CheckAll(form) //传一个表单作参数
    {
        for (var i = 0; i < form.elements.length; i++) //对这个表单里的元素进行循环
        {
            var e = form.elements[i]; //一个一个元素判断
            if (e.Name != "adminnews_int_id" && e.disabled != true) //如果该元素的name属性为chkAll并且disabled!=true.即:该控件可用时.
                e.checked = form.chkAll.checked; //控元素的checked与当前选中的控件checked保持一致.即:全选/全不选.
        }
    } 

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="744" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="100%" height="60"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td bgcolor="#CCCCCC"><table width="100%" border="0" cellpadding="0" cellspacing="1">
          <tr>
            <td height="27" bgcolor="#F5F5F5" class="wuse12"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="7%" align="center"><img src="user_image/use_shu2.JPG" width="21" height="25" /></td>
                <td width="93%" class="string_12">文章管理</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="30" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td class="wuse12"><table border="0" cellspacing="5" cellpadding="0">
                  <tr>
                    <td align="right" class="string_12_bold">分类搜索：</td>
                    <td class="wuse12"><asp:DropDownList ID="new_sou_lei" runat="server" 
                                      
                              onchange="javascript:window.location.href=sou_new_lei('lei')+this.value"></asp:DropDownList></td>
                    <td align="right" class="string_12_bold">模糊搜索：</td>
                    <td class="wuse12"><asp:TextBox ID="new_sou_bt" runat="server" Width="150px" Height="17px"></asp:TextBox></td>
                    <td class="wuse12"><input type="button" name="button" id="button" value="提交搜索" 
                                           
                              onmousedown="javascript:window.location.href='user_adminnews.aspx?sou_flei=<%=ubb.query_string("sou_flei")%>&amp;sou_zlei=<%=ubb.query_string("sou_zlei")%>&amp;sou='+document.aspnetForm.ctl00_ContentPlaceHolder1_new_sou_bt.value"/></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" class="wuse12"><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" class="string_12_999999">
                    <tr>
                      <td width="22" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="wuse12"><img src="user_image/gli.gif" width="22" height="6" /></td>
                      <td height="22" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="huise12">标题</td>
                      <td width="69" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="huise12">作者</td>
                      <td width="32" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">顶</td>
                      <td width="32" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="huise12">图</td>
                      <td width="32" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="huise12">评论</td>
                      <td width="121" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="huise12">发表时间</span></td>
                      <td width="40" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">状态</td>
                    </tr>
                  </table>
                    <asp:Repeater ID="data_new_data" runat="server">
                      <ItemTemplate>
                        <table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#F7F7F7" class="string_12">
                          <tr>
                            <td width="22"><input name="adminnews_int_id" type="checkbox" id="adminnews_int_id" value="<%#Eval("new_id")%>" /></td>
                            <td height="30" class="wuse12"><a href="../news_text.aspx?new_id=<%#Eval("new_id")%>" target="_blank" onmouseover="wsug(event, '<%# Eval("new_tw").replace("True", "<img src=../file_newsimages/sl/" & Eval("new_image") & " />").replace("False",Eval("new_bt"))%>')" onmouseout="wsug(event, 0)"><%#Eval("new_catgory")%><font color="<%#Eval("new_bt_color")%>"><%#Eval("new_bt")%></font></a></td>
                            <td width="69" align="center" class="string_12_999999"><%#Eval("new_Author")%></td>
                            <td width="32" align="center" class="wuse12"><img src="user_image/<%#Eval("new_top").tostring<>"False"%>.gif" width="26" /></td>
                            <td width="32" align="center" class="wuse12"><img src="user_image/<%#Eval("new_image").tostring<>"False"%>.gif" width="26" /></td>
                            <td width="32" align="center" class="wuse12"><img src="user_image/<%#Eval("new_pl").tostring<>"False"%>.gif" width="26" border="0"/></td>
                            <td width="121" align="center" class="string_12_999999">[<%#Eval("new_shijian")%>]</td>
                            <td width="40" align="center" class="string_12_999999"><%#Eval("new_verify").ToString.Replace("未审", "<font color=#ff0000>未审</font>")%></td>
                          </tr>
                        </table>
                      </ItemTemplate>
                      <AlternatingItemTemplate>
                        <table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#F7F7F7" bgcolor="#F7F7F7" class="string_12">
                          <tr>
                            <td width="22"><input name="adminnews_int_id" type="checkbox" id="adminnews_int_id" value="<%#Eval("new_id")%>" /></td>
                            <td height="30" class="wuse12"><a href="../news_text.aspx?new_id=<%#Eval("new_id")%>" target="_blank" onmouseover="wsug(event, '<%# Eval("new_tw").replace("True", "<img src=../file_newsimages/sl/" & Eval("new_image") & " />").replace("False",Eval("new_bt"))%>')" onmouseout="wsug(event, 0)"><%#Eval("new_catgory")%><font color="<%#Eval("new_bt_color")%>"><%#Eval("new_bt")%></font></a></td>
                            <td width="69" align="center" class="string_12_999999"><%#Eval("new_Author")%></td>
                            <td width="32" align="center" class="wuse12"><img src="user_image/<%#Eval("new_top").tostring<>"False"%>.gif" width="26" /></td>
                            <td width="32" align="center" class="wuse12"><img src="user_image/<%#Eval("new_image").tostring<>"False"%>.gif" width="26" /></td>
                            <td width="32" align="center" class="wuse12"><img src="user_image/<%#Eval("new_pl").tostring<>"False"%>.gif" width="26" border="0"/></td>
                            <td width="121" align="center" class="string_12_999999">[<%#Eval("new_shijian")%>]</td>
                            <td width="40" align="center" class="string_12_999999"><%#Eval("new_verify").ToString.Replace("未审", "<font color=#ff0000>未审</font>")%></td>
                          </tr>
                        </table>
                      </AlternatingItemTemplate>
                    </asp:Repeater>
                </td>
              </tr>
              <tr>
                <td class="wuse12"><table width="100%" border="0" cellpadding="0" cellspacing="3" class="wuse12">
                    <tr>
                      <td class="string_12"><input name="chkAll" type="checkbox" id="chkAll" onclick="CheckAll(this.form)" value="checkbox" style="border:0" />
                        全选/反选
                                <asp:Button CssClass="btn" ID="new_quantity_verify" runat="server" Text="批量已审"/>&nbsp;
                                <asp:Button CssClass="btn" ID="new_quantity_notverify" runat="server" Text="批量未审"/>&nbsp;
                                <asp:Button CssClass="btn1_mouseout" ID="new_quantity_delete" runat="server" 
                                      Text="批量删除"/></td>
                    </tr>
                  </table>
                    </td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<asp:Label CssClass="string_12" ID="web_page" runat="server"></asp:Label>
</asp:Content>

