Also ich hab das folgendes Problemchen.. je nach parameter wird ein anderes .tpl dokumen includet. Aber ich weiß nicht wie ich dass anstellen soll, dass falls kein parameter angegeben wird, die News (news/show_news.php) includet werden. Hier mal der jetztige php code den ich habe:
PHP-Code:
<?php
if (isset ($_REQUEST['i'])) {
$uri = str_replace ('/', '', $_REQUEST['i']);
$uri = str_replace ('\\', '', $uri);
if (is_readable ('inhalte/'.$uri.'.tpl')) include ('inhalte/'.$uri.'.tpl');
else include ('inhalte/more/404.tpl');
}