LOL its not that hard to add functions to a template you got off the internet. the real thrill is making your own.
its lame how you are just taking free layouts and saying FlareCMS. add your own functions and template than defend your self....
The only function I basically copied was the status check (fsockopen), everything else is coded by me or from people helping the old flarecms.
To add a template to the source, you need to create new template files to match the template for example:
If the template uses this as navigation:
<li><a href="link">link</a></li>
You need to create another file to define that and the CMS will read off of that. If it doesn't exist it will read off the default template which is just "<a href="link">link</a>". This will also work with pages, create a 'pages' folder and it will read that certain page instead of the one in the base folder. I have included an example of this in the default template.
In the 'classes' folder, some of the classes that has a show() function usually requires some template files:
entries
comments
navigation
rules
staff list
etc.
I've also created constants available to use such as:
SITE_TITLE
SERVER_NAME
SERVER_EXP
TOTAL_ACCOUNTS
etc.
Basically all of the settings that are found in the `cms_settings` table.
These are very helpful because it makes the site dynamic.
I'll write a better tutorial soon, this is just a short one, then I won't have to use these free templates because they obviously aren't helping anyone.
Default layout is made by me, Cpanel layout is made by me, the others are free templates.