<%@ Page language="c#" Inherits="Discuz.ForumPage.Admin.uploadonlieninco" Codebehind="global_uploadonlieninco.aspx.cs" %>
<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 

<html>
  <head>
    <title>uploadonlieninco</title>
    <LINK href="../styles/dntmanager.css" type=text/css rel=stylesheet >
	<script language=javascript src="../js/common.js"></script>
  </head>
  <body>
	
    <form id="Form1" method="post" runat="server">
    <br />
<table class=table1 cellSpacing=0 cellPadding=4 width="90%" align=center bgColor=#cccccc border=0>
  <tr>
    <td class=td2 width="50%">图片</TD>
    <td class=td2>名称</TD>
	</tr>
    <cc1:repeater id=incolist runat="server">
				<ItemTemplate>
						<tr>
							<td class="td1"><img src="../../images/groupicons/<%# DataBinder.Eval(Container.DataItem,"imgfile").ToString()%>"  width="20"></td>
							<td class="td1"><%# DataBinder.Eval(Container.DataItem,"imgfile").ToString()%></td>
						</tr>
					</ItemTemplate>
					<AlternatingItemTemplate>
						<tr>
							<td class="td2"><img src="../../images/groupicons/<%# DataBinder.Eval(Container.DataItem,"imgfile").ToString()%>"  width="20"></td>
							<td class="td2"><%# DataBinder.Eval(Container.DataItem,"imgfile").ToString()%></td>
						</tr>
					</AlternatingItemTemplate>	
					
	</cc1:Repeater>
	</table>
	<div class="ManagerForm">
		<fieldset>
		<legend style="background:url(../images/icons/icon35.jpg) no-repeat 6px 50%;">添加在线列表图片</legend>
	<table>		
        <TR>
			<TD class="td1">用户在线图片上传:</TD>
			<TD class="td1">
					<cc1:UpFile id="image" runat="server" UpFilePath="../../images/groupicons/" FileType=".jpg|.gif|.png" IsShowTextArea="false"></cc1:UpFile>
		</TD>
		</TR>
	</table>
	</fieldset>
	<div align="center">
	<cc1:Button id="UpdateOnLineIncoCache" runat="server" Text="上传并重新加载图例列表"  ShowPostDiv="false"></cc1:Button>&nbsp;&nbsp;
	<button type="button" class="ManagerButton" onclick="javascript:window.location.href='global_onlinelistgrid.aspx';"><img src="../images/submit.gif" /> 返回在线列表</button>
	</div>
	</div>
     </form>
	<%=footer%>
  </body>
</html>
