Sorry, but you're not going to find any professional doing free work. What you need to is either cash up, make them sign a contract (What's the contract called, I forgot it's name) or "simply"* learn yourself.
* It's not that simply, unfortunately.
You should also remove the escaping (htmlentities) when inserting in database, it's ideal to have as raw data as possible and then simply do the escaping out in your presentation logic. So remove htmlentities to the variables being inserted in the database; and use them when outputting instead.
What can I say? Four boxes. Couldn't take long to make in GIMP, not to be mean but honestly this doesn't seem like a design you put any effort in whatsoever. If this was a house I was about to enter, I would leave right before I even took my first step in to it.
What can I say? Four boxes. Couldn't take long to make in GIMP, not to be mean but honestly this doesn't seem like a design you put any effort in whatsoever. If this was a house I was about to enter, I would leave right before I even took my first step in to it.
Have a variable defining a layout.
$layout = 'default'.
//render
$twig->render($layout . '/index.twig', $data);
Now in your templates/ folder you have folders for each "layout"
default/
...index.twig.
admin/
...index.twig.
purplepink/
...index.twig.
...
Try use the template engine Twig http://twig.sensiolabs.org/
It support inheritance (which you technically are looking for to make templating so easy and nice!), automatic escaping (makes protecting against XSS a piece of cake).... Nice syntax, secure, flexible (you can create functions/helpers to use in your templates) and so on.
Yeah this is bad. Please separate the business logic (The PHP code) and the presentation logic. In this case to improve you should move All of the PHP code to the top of the file (expect the outputting). To help you make improvements I first would need to see the files mysql.php and global_func.php as well. Cheers.
The code is already badly messed up, so a good start is to auto-format using Netbeans. It still looks like ****, but better **** than before.
http://pastebin.com/v3YL57Zc
These was just examples, but If they seem interesting to you guys we most likely will, perhaps not in our first release but in future ones. It shouldn't be hard to implement them once released either, so we may not integrate it in our core.