Progress on the admin panel has been very good. So far I can:
*Add news (enable/disable commenting)
*Add content (eg ?page=links)
*Edit Content
Things to do include:
*Delete Content
*Delete comments
*Delete news
*Add links
*Edit links
*Delete links.
EDIT: ooooo I can edit stuff now. w00ty. As you can see I've added the news edit option.
EDIT2: Admin panel now allows you add links and quick links with a position.
List now is:
*Delete Content
*Delete comments
*Delete news
*Edit links
*Delete links.
*Combine addnews.php and editnews.php
Okay. Addnews + Editnews now = news.php (content admin site of things). Which is nice. I'll need to add deletenews sometime.
You might want to do something about the whole "Posted by " thing when users don't specify a name... just out of curiousity (i'm trying with this post), what does it do when an email but not a name is entered?
Hmmm okay.
if (!empty($email)&&!empty($author)){
echo "$author";
}
elseif(empty($email)&&!empty($author))
{echo "$author";
}
else{
echo "Anonymous";}
Or something to that effect. I wonder what HTML removal will do to this message...?
Oh. Another thing - replace newlines with tags...
The html thing runs as the code is being read out of the database and therefore is killing the replace . So I've made it so some html works (unsure how much). But new lines work now.
Lets see:
mmm I'll let is strip all html atm. Going to try something if people don't enter their name ;)
heh the other n00b who posted here is a tool. You're not going to be posting crap on my comments section. I don't want your crappy "goat" images thankyou :)
EDIT: Also all connections to this server are logged. I have your IP address.
lalalalala