mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-30 16:01:24 +00:00
0d5fca8618
members/index.php: whitespace.
67 lines
2 KiB
PHP
67 lines
2 KiB
PHP
<? // Preamble
|
|
$pageName = "Developer Central";
|
|
$focused = "home"; // Dock icon name to get 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"', 'Update this to notify the outside world what you\'re currently working on.');
|
|
?>
|
|
|
|
</TD>
|
|
</TR>
|
|
<? tableBoxFooter () ?>
|
|
</TD>
|
|
<? if ($userInfo[u_admin] == 'Y') { ?>
|
|
<TD align="right">
|
|
<?
|
|
tableBoxHeader (featureBgColor, featureHeadColor);
|
|
tableTitle ("Administration", 1, featureHeadColor);
|
|
?>
|
|
<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
|
|
?>
|