debug = $debug; if (!empty('templates/part/' . $path . '.phtml') && file_exists('templates/part/' . $path . '.phtml')) { $this->path = $path; } else { echo '
';
			echo 'PHTML: Parial File ' . $path . ' not found';
			echo '
'; die(); } } function prepare($searchS, $repleaceS) { if (!empty($searchS)) { $this->assignedValues[strtoupper($searchS)] = $repleaceS; } echo ($this->debug == true ? var_dump($this->assignedValues) : ''); } function render() { if (!empty($this->assignedValues)){ extract($this->assignedValues); } require('templates/part/' . $this->path . '.phtml'); } }