public function IncludeTemplates()
 {
     global $_CONFIG;
     $t_arr = array();
     $main = '';
     foreach ($this->templates as $t) {
         if (file_exists('./templates/' . $t . '.html')) {
             $t_arr[] = './templates/' . $t . '.html';
         } elseif (file_exists('./themes/' . $this->theme . '/templates/' . $t . '.html')) {
             $t_arr[] = './themes/' . $this->theme . '/templates/' . $t . '.html';
         } else {
             FatalError('Could not find template file ' . $t);
         }
         $main .= Mocha::Parse(file_get_contents($t_arr[count($t_arr) - 1]));
     }
     Mocha::AddVariable('page_contents', $main);
 }