mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-10 07:11:43 +00:00
9e6f75ccbd
PHP 7 doesn't like the old short tags we were using (it's possible to re-enable them, but won't be for version 8, so we might as well switch now), and the old MySQL APIs are now gone entirely, replaced with something different. This should make everything work at least as well as it used to. Also, one file used to be checked in with CRLF line endings. ??
21 lines
815 B
PHP
21 lines
815 B
PHP
<?php
|
|
need ("feature");
|
|
|
|
featureOpen ("Member Links");
|
|
?>
|
|
<P>News: [ <A href="news_add.php">Post</A> ]</P>
|
|
<P>Plan: [ <A href="plan_add.php">Post</A> ]</P>
|
|
<P>Password: [ <A href="chpass.php">Change</A> ]</P>
|
|
<?php
|
|
featureClose ();
|
|
|
|
if ($userInfo['u_admin']) {
|
|
featureOpen ("Admin");
|
|
?>
|
|
<P>News: [ <A href="news_add.php">Add</A> | <A href="news_del.php">Del</A> | <A href="news_edit.php">Edit</A> ]</P>
|
|
<P>Plans: [ <A href="plan_add.php">Add</A> | <A href="plan_del.php">Del</A> | <A href="plan_edit.php">Edit</A> ]</P>
|
|
<P>Users: [ <A href="user_add.php">Add</A> | <A href="user_del.php">Del</A> | <A href="user_edit.php">Edit</A> ]</P>
|
|
<?php
|
|
featureClose ();
|
|
}
|
|
?>
|