Logged in as admin.'; return; } mysql_free_result($result); print '

Incorrect username or password

'; } } ?>
Username
Password
You are not allowed to edit items...'; return; } if(isSet($_POST['title'])) { $title=$_POST['title']; $body=$_POST['body']; $price=$_POST['price']; } else if($item != FALSE) { $p=find_product($item); $title=$p['title']; $body=$p['body']; $price=$p['price']; } else { $title=''; $body=''; $price=''; } ?>
Title
Price
Body
Image
Errors:\n"; edit_form($FALSE); } } else { edit_form($id); } } // session_start(); // db_connect(); // if(!is_admin()) // do_login_form(); // print 'session.admin='.$_SESSION['admin']; // edit_form(2); ?>