A clone of the PHP framework TinyButStrong I wrote to test my PHP meddle. Despite being entirely inspired by TBS their documentation does not work with mine.
$html = 'html/'; // folder where html is stored $header='pageheader.html'; // header file $footer='pagefooter.html'; // footer file $template='about.html'; // template of html to show
include_once($class.'site_class.php');
// css files to include $css[]='main'; $css[]='nav'; $variableName = "Some Text" $site = new site(); $site->loadHeader($html.$header); $site->loadTemplate($html . $template); $site->loadFooter($html . $footer); $site->mergeArray('blkcss', $css); $site->show();
##### Becomes This:[var.variableName]
Some Text