PHP Programming/Smarty templating system/Simple tutorial

If you have any problems, go to ask on IRC irc://irc.freenode.org/php or contact me. I haven't tested this script yet so you might find some small mistakes.
 * 1) Create a directory called Website, in your webserver.
 * 2) Copy Smarty's libs directory into it installation.
 * 3) Create a directory called compile.
 * 4) Create a directory called templates.
 * 5) In the Website directory, create a file called index.php and Web.class.php. Make sure that they are blank.
 * 6) Web.class.php should look like this:
 * 7) index.php should be this:
 * 8) Go to the templates directory
 * 9) Create a new file called index.tpl, make sure it's empty
 * 10) Create your own html design or anything and in the middle ( where you want the content to be ), write this:
 * 11) Create new MySQL table, with the following information:
 * 12) Modify your index.php and index.tpl as necessary ( notice the $db in index.php, change it to your settings!
 * 13) Now, using your MySQL Client (phpMyAdmin /MySQL or other tools), add new rows in your table, with content and its title. Try it with three at the start.
 * 14) Now, go to your directory Website through your Web Browser (you might need to upload it to your web server or set one up on your computer) ;)
 * 1) For the later versions of MySQL use the following code: