git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4655 e016b1c5-ed68-44aa-a2f7-31cac88cffde

This commit is contained in:
driAn
2009-10-12 18:54:40 +00:00
parent c17a18d348
commit 6b4e06c311
2 changed files with 0 additions and 83 deletions
-65
View File
@@ -1,65 +0,0 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Admin_Admin" %>
<!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 runat="server">
<title>AssaultCube Admin</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h1>AssaultCube Admin</h1>
<h2>Server List</h2>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
DataSourceID="XmlDataSource1" ForeColor="#333333" GridLines="Vertical" AllowPaging="True" DataKeyNames="address">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="address" HeaderText="address" SortExpression="address" />
<asp:BoundField DataField="port" HeaderText="port" SortExpression="port" />
<asp:BoundField DataField="added" HeaderText="added" SortExpression="added" />
<asp:BoundField DataField="name" HeaderText="name" SortExpression="name" />
<asp:BoundField DataField="description" HeaderText="description" SortExpression="description" />
</Columns>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/App_Data/servers.xml"
XPath="//server"></asp:XmlDataSource>
<h2>Log</h2>
<asp:GridView ID="GridView2" runat="server" AllowPaging="True" AutoGenerateColumns="False"
CellPadding="4" DataSourceID="XmlDataSource2" ForeColor="#333333" GridLines="Vertical">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="action" HeaderText="Action" SortExpression="added" NullDisplayText="unknown" />
<asp:BoundField DataField="address" HeaderText="Client" SortExpression="address" />
<asp:BoundField DataField="added" HeaderText="Date" SortExpression="added" />
</Columns>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
&nbsp;
<asp:XmlDataSource ID="XmlDataSource2" runat="server" DataFile="~/App_Data/log.xml"
XPath="//LogEntry" ></asp:XmlDataSource>
<br />
Logged in as:
<asp:LoginName ID="LoginName1" runat="server" />
<br />
<asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="Redirect" LogoutPageUrl="~/Default.aspx" />
</div>
</form>
</body>
</html>
-18
View File
@@ -1,18 +0,0 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Admin_Admin : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}