richard
public text v1 · immutable<?php
// includes our database functions
include_once('db_fns.php');
include_once('admin_fns.php');
db_connect();
session_start();
// logout();
if(FALSE==is_admin()) {
echo "<h3>You are not admin!</h3>";
do_login_form();
} else if(isSet($_GET['edititem'])) {
doedit();
// print 'aaaaaaaaaaaa';
} else {
echo "<h2>no work</h2>";
}
?>