Hello, guys. so i did a little research on the internet and i noticed that people always use template engine like smarty and other stuff, but i want a theme engine you know like wordpress themes engine. that separates the php code and the html code. so please if any one knows a good one, i'll really appercate sharing it
That's all smarty is doing. You then just need a page that can identify all the folders at a particular location and when you "activate" it saves that path in a settings table somewhere. Then when the front end is used the smarty template path is set to the chosen template.
The Smarty Template engine is the same as your so called theme engine. They allow variables to be turned into it's string representative with security in mind ie htmlentities() all variables etc etc