Blzut3's News Script Alpha V0.5
---
Install:
---
To install simply run install.php in the news script directory.  
The database currently must be txt file as I need to fix my server 
in order to support MySQL (which PHP is being itself again).

Then in the file you want to put the news output in simply add...

<?php include "pathtoscript/show.php"; ?>

...in the place in the page where you want it.  Of course you must 
first replace "pathtoscript" with the location of where the files are.

---
Editing Templates
---
To edit your template you can simply use the internal template editor.  
To get there, login, and then click the template tab.  The text area 
will accept a few varaibles.

{title} = The title of the post
{author} = the author of the post
{content} = the content of the post
{commet-num} = Amount of comments
{veiw-comments} = Link to comments
{/veiw-comments} = end of link to comments

---
Deleting News or comments
---
TXT database:
	To delete a post (news/comment) open news.txt or comments.txt
	and remove the line of that post.
MySQL database:
	To delete a post (news/comment) open the database a delete the 
	row of that post.
	
	The syntax should be:
	Delete from blog where title = "title of post";
	-or-
	Delete from comments where id = id of post
	
	For the last one (deleting a comment) you must use a 
	select * from comments
	to find the id.

---
Upgrading
---
0.3 or 0.4 to 0.5:
	Copy news.txt and template.txt to a seperate directory.
	delete these + settings.cfg
	reinstall
	Copy template.txt back to directory.
	Open news.txt
	Add 1|author to each line (chaging the 1 to the post number)
	Copy news.txt back to server
	delete backup files (optional)

---
Current Features
---
* Commenting
* Multi or singel user password protection.
* TXT Files can be used as a database. (no need for MySQL)
* MySQL Database support
* Easy to use tabbed GUI (what else should I call it?)
* Add News
* Edit News
X Internal Template editor (Working on for 0.6)
* Simple Template editor, sorta like the one cute news used. 
	{content}, {title}, etc.  No need to understand PHP!
* Log out function

---
Upcoming Features
---
* template file for new comment form (coming 0.6)
* Multitemplate support (coming 0.6)
* Store password in a multi session cookie. (coming 0.6)
* Category Support
* Pages (How meny post per pages (post shown)) (coming 0.6)
* Archives
* delete news & comments

This is just a rough idea of whats coming up, they could vary well be in the 
next version, or, they could not.  I put version numbers as a guidline of whats 
planed, I could change them at any point.

---
Additional Notes:
---
This is just a public alpha and it will have some bugs and annoyences.  
One that I know of all ready, which is when ever you complete and action, 
say you posted news, you will be stuck at the screen saing that its done.  
If you want to continue with adding or editing click the address bar and 
press enter, that is if you just validated your password, else hit the 
refreash button on your browser.  This should be fix by the 2nd alpha, 
the MySQL alpha, or the beta at lastest.  Also I do understand that its 
possible to get to the add, edit, status, or edit template pages w/o 
logging in, even though anyone can get there you must be logged in to 
actully use it to its full extent.  Its nothing big enough to be moved 
to another part of the file.

As another note, this script was created because cutenews when commercial 
so I don't plan on it ever going commercial, and if it does I will keep a 
free version around with no ads.

---
Bug Reporting & Feature Request
---
If you find any bugs please report them to with a subject along the 
lines of bug report Blzut3@zoominternet.net.  On the other hand if 
you want and feature added but don't see it on the list then email 
them to me at above stated email address with the subject along the 
lines of Feature Request.

---
End
---
Thank you for reading this file and I hope you enjoy using my news 
publishing script and plan on supporting it to become better and 
more powerful.

- Blzut3