// Feel free to edit this file, expand it or w/e.
// Just make sure you dont mess up ur own administration interface.
// Functions/Keywords:
// /Cdate = Current date
// /Ctime = Current time
// /WebVer = Current webadmin version
// /n = New line (Note that next Web line automatly includes new line code)
// %frd: <Redirect name>% = Forward code to some other int file or keep in this file but different part
// WARNING!!!! Redirecting from part A to part B, then in part B to part A will always crash (runaway loop)!
// %Content: <Webpage content classname>% = Add HTML codes from a UScript class
// Line type: "Alive/" will keep the connection refreshing page every 5 seconds.

// Web site content
[Index]
WebContentLen=5
Web0=%frd:WebAdminLinks%
Web1=Welcome %Content:UWebAdmin.GetClientUser% to .:..:'s webadmin site<BR>Current players in this server:<BR>
Web2=<form method="post" action="Index?UWebAdmin.PlayersListDebug">
Web3=%Content:UWebAdmin.PlayersListDebug%</form>/n
Web4=<BR>Your IP: %Content:UWebAdmin.GetClientIP% has been logged on server.
Web5=%frd:PageEnding%

// Server console page
[ServerConsole]
WebContentLen=7
Web0=%frd:WebAdminLinks%
Web1=Message window (Note that you need to <A href="/Alive/ServerConsole">refresh</A> the page to see new chat message):/n<BR><tr valign="top">
Web2=<td colspan=9 rowspan=1 width=486><span style="font-size:14">
Web3=%Content:UWebAdmin.WebChatWindow%/n</td></tr>
Web4=<form method="post" action="ServerConsole?UWebAdmin.WebChatWindow">/n
Web5=<BR><table ID="Table1">/n<tr><td>Command :</td><td><input class="textbox" type="text" name="Cmd" size="56" value="Say " maxlength="56"></td>/n</tr>
Web6=</td></tr></table><p>/n<input class="button" type="submit" name="edit" value="Submit">/n</form>
Web7=%frd:PageEnding%

// Restart map
[MapRestartPage]
WebContentLen=1
Web0=%frd:PageHeader%
Web1=Restarting map, please wait.%Content:UWebAdmin.RestartMapCode%/n Please click <A href="/Index">here</A> once its done.</BODY></HTML>

// Switch map
[MapSwitchingPage]
WebContentLen=1
Web0=%frd:PageHeader%
Web1=Server is now switching map, please wait. Please click <A href="/Index">here</A> once its done.</BODY></HTML>

// Banlist page
[BanListPage]
WebContentLen=2
Web0=%frd:WebAdminLinks%
Web1=<form method="post" action="BanListPage?UWebAdmin.BanListGen">/nBanlist page, here you can unban banned players./n%Content:UWebAdmin.BanListGen%</form>/n
Web2=%frd:PageEnding%

// User logging out
[Logout]
WebContentLen=2
Web0=%frd:PageHeader%
Web1=<BR>You have successfully logged out from webadministration page.%Content:UWebAdmin.UserLogout%
Web2=%frd:PageEnding%

// Basic game configures (server packages/server actors/admin/game passwords).
[GameDefaults]
WebContentLen=3
Web0=%frd:WebConfigLinks%
Web1=<form method="post" action="GameDefaults?UWebAdmin.GameConfigPage">/n%Content:UWebAdmin.GameConfigPage%</form><BR>/n
Web2=<form method="post" action="GameDefaults?UWebAdmin.NetConfigPage">/n%Content:UWebAdmin.NetConfigPage%</form>/n
Web3=%frd:PageEnding%

// Maplist Links page
[MapLinksPage]
WebContentLen=3
Web0=%frd:WebConfigLinks%
Web1=<form method="post" action="MapLinksPage?UWebAdmin.MapListLinkPage">
Web2=<h2>Custom maplist configures:</h2>%Content:UWebAdmin.MapListLinkPage%<BR></form>
Web3=%frd:PageEnding%

// Mod Link page
[ModLinksPage]
WebContentLen=2
Web0=%frd:WebConfigLinks%
Web1=<h2>Custom mod configures:</h2>%Content:UWebAdmin.ModLinkPage%<BR>
Web2=%frd:PageEnding%

// Mod based game configures (works using special hacks).
[ModConfigPage]
WebContentLen=2
Web0=%frd:WebConfigLinks%<BR>
Web1=%MODBASED%<BR>
Web2=%frd:PageEnding%

// Maplist game configures (also works using special hacks).
[MapLConfigPage]
WebContentLen=2
Web0=%frd:WebConfigLinks%<BR>
Web1=%Content:UWebAdmin.MapListPage%<BR>
Web2=%frd:PageEnding%

// Map switch page.
[MapSwitch]
WebContentLen=2
Web0=%frd:WebAdminLinks%
Web1=<form method="post" action="MapSwitchingPage?UWebAdmin.MapSwitchPage">/n%Content:UWebAdmin.MapSwitchPage%</form><BR>/n
Web2=%frd:PageEnding%

// Global stuff
[PageHeader]
WebContentLen=1
Web0=<!-- Server WebAdministration code /WebVer written by .:..: (2008) -->
Web1=<HTML><HEAD><TITLE>WebAdmin server administration</TITLE></HEAD><BODY bgcolor="Yellow">

// The "ending" part of this page.
[PageEnding]
WebContentLen=1
Web0=/n<BR>/n<BR>/nWebAdministration interface /WebVer created by .:..: (2008) /Ctime/n
Web1=</BODY></HTML>

// Main links needed.
[WebAdminLinks]
WebContentLen=0
Web0=%frd:PageHeader%/n<center><A href="/MapRestartPage" target="_parent">Restart map</A>, <A href="/MapSwitch">Switch map</A>, <A href="/Index">Main page</A>, <A href="/BanListPage">Banlist</A>, <A href="/Alive/ServerConsole">Server console</A>, <A href="/GameDefaults">Defaults</A>, <A href="/Logout">Logout user</A>/n</center><BR>

// Config link topics.
[WebConfigLinks]
WebContentLen=0
Web0=%frd:WebAdminLinks%/n<center>Config links: <A href="/GameDefaults" target="_parent">Main GameConfig</A>, <A href="/Mod_UWebAdmin.RepPageConfig" target="_parent">ServerInfo Config</A>, <A href="/MapLinksPage">Maplists</A>, <A href="/ModLinksPage">Mod Configures</A></center><BR>/n
