Update of /cvsroot/openfirst/awards
In directory sc8-pr-cvs1:/tmp/cvs-serv25497
Modified Files:
manage.php
Log Message:
manage.php is now configured to work with the members module authentication system.
Index: manage.php
===================================================================
RCS file: /cvsroot/openfirst/awards/manage.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** manage.php 5 May 2003 00:17:40 -0000 1.6
--- manage.php 7 Jun 2003 02:52:49 -0000 1.7
***************
*** 30,33 ****
--- 30,36 ----
mysql_select_db("openFIRST",$sqlconnection);
+ // Check if user is an admin then allow processes
+ if (isset($user->user)){
+
// If user has posted delete then delete specified record in querystring DELETE
if (ISSET($_GET['DELETE'])){
***************
*** 48,56 ****
die("<br><br><center>Congratulations on your new award. Award submitted! [ <a href='manage.php'>Manage Award</a> ]");
}
?>
<h1>Manage Award Information</h1>
! <p>[ <a href="manage.php">Manage Awards </a>] [ <a href="awards.php">View Awards</a> ]</p>
<form name="form1" method="post" action="manage.php">
<table width="500" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#999999">
--- 51,60 ----
die("<br><br><center>Congratulations on your new award. Award submitted! [ <a href='manage.php'>Manage Award</a> ]");
}
+
?>
<h1>Manage Award Information</h1>
! <p><a href="manage.php">Manage Awards </a> <a href="awards.php">View Awards</a> <?php membersmenu($user->membertype); ?></p>
<form name="form1" method="post" action="manage.php">
<table width="500" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#999999">
***************
*** 128,130 ****
<? } ?>
</table>
! <?php include($footer); ?>
--- 132,140 ----
<? } ?>
</table>
! <?php
!
! }else{
! showlogin();
! }
! include($footer);
! ?>
|