2000-06-18 23:52:50 +00:00
< ? // Preamble
$pageName = " Developer Central " ;
$focused = " home " ; // Dock icon name to get a border
$need = 'auth' ;
require " ../parts/preamble.php " ; // Load most of document
?>
< ?
2000-07-18 17:24:34 +00:00
function infoItem ( $url , $desc , $longdesc )
2000-06-18 23:52:50 +00:00
{
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 >
< ?
2000-07-18 17:24:34 +00:00
tableHeader ( " 100% " , " black " );
2000-06-18 23:52:50 +00:00
?>
< TR vAlign = " top " >
< TD align = " left " >
< ?
2000-07-18 17:24:34 +00:00
tableBoxHeader ( " 100% " , " black " , tableHeadColor );
tableTitle ( " QuakeForge Developer Resources " , 1 , " black " );
2000-06-18 23:52:50 +00:00
?>
< TR vAlign = " top " >
< TD >
< ?
2000-07-18 17:24:34 +00:00
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.' );
2000-06-18 23:52:50 +00:00
?>
</ TD >
</ TR >
2000-07-18 17:24:34 +00:00
< ? tableBoxFooter () ?>
2000-06-18 23:52:50 +00:00
</ TD >
< ? if ( $userInfo [ u_admin ] == 'Y' ) { ?>
< TD align = " right " >
< ?
2000-07-18 17:24:34 +00:00
tableBoxHeader ( featureBgColor , featureHeadColor );
tableTitle ( " Administration " , 1 , featureHeadColor );
2000-06-18 23:52:50 +00:00
?>
< 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
?>