mirror of
https://git.code.sf.net/p/quake/website
synced 2024-12-11 04:51:05 +00:00
68 lines
2.1 KiB
PHP
68 lines
2.1 KiB
PHP
|
<? // Preamble
|
||
|
$pageName = "Developer Central";
|
||
|
$focused = "home"; // Dock icon name to gets a border
|
||
|
$need = 'auth';
|
||
|
require("../parts/preamble.php"); // Load most of document
|
||
|
?>
|
||
|
|
||
|
<?
|
||
|
function infoItem($url, $desc, $longdesc)
|
||
|
{
|
||
|
echo '<DL>' .
|
||
|
' <DT><A href="' . $url . '"><STRONG>' . $desc . '</STRONG></A></DT>' .
|
||
|
' <DD><EM>' . $longdesc . '</EM></DD>' .
|
||
|
'</DL>';
|
||
|
}
|
||
|
?>
|
||
|
<H2>Welcome to Developer Central!</H2>
|
||
|
|
||
|
<P>This is the area for developers to post news, edit your user information,
|
||
|
and so on. Members with Admin-level access can modify news items and post
|
||
|
State of the Code items here as well.
|
||
|
|
||
|
<P>
|
||
|
<?
|
||
|
tableHeader("100%", "black");
|
||
|
?>
|
||
|
<TR vAlign="top">
|
||
|
<TD align="left">
|
||
|
<?
|
||
|
tableBoxHeader("100%", "black", tableHeadColor);
|
||
|
tableTitle("QuakeForge Developer Resources", 1, "black");
|
||
|
?>
|
||
|
<TR vAlign="top">
|
||
|
<TD>
|
||
|
<?
|
||
|
infoItem('addnews.php', 'Post News', 'Post new news items from here.');
|
||
|
infoItem('userinfo.php', 'User Info', 'Display or change your user information; Please use this when your email address, phone number, or snailmail address changes.');
|
||
|
infoItem('plan.php', 'Edit "plan"', 'Not used by the web site at the moment, this will provide something for users to see what the hell we\'re working on.');
|
||
|
?>
|
||
|
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<? tableBoxFooter() ?>
|
||
|
</TD>
|
||
|
<? if ($userInfo[u_admin] == 'Y') { ?>
|
||
|
<TD align="right">
|
||
|
<?
|
||
|
tableBoxHeader(featureBgColor, tableHeadColor);
|
||
|
tableTitle("Administration", 1, tableHeadColor);
|
||
|
?>
|
||
|
<TR>
|
||
|
<TD class="featureBox" align="right">
|
||
|
News [ <A href="addnews.php">Add</A> | <A href="editnews.php">Edit</A> | <A href="delnews.php">Delete</A> ]<BR>
|
||
|
SotC [ <A href="addsotc.php">Add</A> | <A href="editsotc.php">Edit</A> | <A href="delsotc.php">Delete</A> ]<BR>
|
||
|
User [ <A href="adduser.php">Add</A> | <A href="edituser.php">Edit</A> | <A href="deluser.php">Delete</A> ]<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<?
|
||
|
tableBoxFooter();
|
||
|
?>
|
||
|
</TD>
|
||
|
<? } ?>
|
||
|
</TR>
|
||
|
<? tableFooter(); ?>
|
||
|
<?
|
||
|
require (siteHome ."/parts/postamble.php"); // Finish this sucker up
|
||
|
?>
|