0); return (($userid>0)&&($userid<=$pages[$page]['owner'])|| !($pages[$page]['owner']>0)); } #Entgegennehmen der Parameter: if(isset($HTTP_POST_VARS['a'])) { $action = $HTTP_POST_VARS['a']; $page = $HTTP_POST_VARS['page']; $pagealt = $HTTP_POST_VARS['pagealt']; $pw = $HTTP_POST_VARS['pw']; $pw = $HTTP_POST_VARS['pw']; } if($debug){echo('action = '.$action.'; page = '.$page.'
');} if(!isset($action)){ if(isset($_GET['page'])) {$page = $_GET['page'];} if(isset($_GET['a'])) {$action = $_GET['a'];} if(isset($_GET['file'])) {$filename = $_GET['file'];} if(isset($_GET['pw'])) {$pw = $_GET['pw'];} if(isset($_GET['form'])) {$form = $_GET['form'];} if(isset($_GET['i'])) {$i = $_GET['i'];} if(isset($_GET['t'])) {$t = $_GET['t'];} if(isset($_GET['pic'])) {$pic = $_GET['pic'];} if(isset($_GET['lay'])) {$lay = $_GET['lay'];} if(isset($_GET['betreff'])) {$betreff = $_GET['betreff'];} if(isset($_GET['picid'])) {$picid = $_GET['picid'];} } if($debug){echo('action = '.$action.'; page = '.$page.'
');} if(!isset($page)){if(!isset($pages["_default"]["_Startpage"])){ $page = "1000011";}else{ $page = $pages["_default"]["_Startpage"];}} if(strpos($page,".",0)){ $page =substr($page,0,strpos($page,".",0));} if(!isset($action)){ $action = "s";} $m1 = substr($page,0,1); $m2 = substr($page,1,2); $m3 = substr($page,3,2); $p = substr($page,5,1); $pmax = substr($page,6,1); $strconvert=array("Ä" => "Ä","Ö" => "Ö","Ü" => "Ü","ä" => "ä","ö" => "ö","ü" => "ü","€" => "Ä","…" => "Ö","†" => "Ü","Š" => "ä","š" => "ö","Ÿ" => "ü"); ## if($action == "post_edit"){ if(isset($HTTP_POST_VARS)) { if($debug){var_export($HTTP_POST_VARS);} reset($HTTP_POST_VARS); foreach($HTTP_POST_VARS as $param => $paramvalue) { ## p($param.' => '.$paramvalue.'
-------------
'); ## if(is_array($paramvalue)){var_export($paramvalue);}; if(substr($param,0,1)=='-' ){$action = $param;} elseif($param=='a' ){} elseif($param=='page' ){} elseif($param=='newparam' ){$newparam=strtr($paramvalue,$strconvert);} elseif($param=='newtype' ){$newtype=$paramvalue; } elseif($param=='newcontent' ){if($paramvalue==""){} elseif(TRUE){$newvalue=stripcslashes(strtr($paramvalue,$strconvert));} elseif($newtype=="neue Tabelle"){$pages[$pagealt]["_".$newparam]=array(array("",""),array("",""));} ## else{$pages[$pagealt]["_".$newparam] = strtr($paramvalue,$strconvert);} else{eval('$pages[$pagealt]["_".$newparam] ='.stripcslashes(strtr($paramvalue,$strconvert)).';');} } elseif(substr($paramvalue,0,5)=='array' ){ if($debug){p("array1: ".$paramvalue);}; eval('$pages[$pagealt][$param] ='.stripcslashes(strtr($paramvalue,$strconvert)).';');} elseif(substr($param,0,1)=='[' ){eval('$pages[$pagealt]'.$param.' ='.stripcslashes(strtr($paramvalue,$strconvert)).';');} elseif(is_array($paramvalue)){ $pages[$pagealt][$param] =$paramvalue; } else{$pages[$pagealt][$param] = stripcslashes(strtr($paramvalue,$strconvert)) ;if($debug){p("var: ".$param.":".$paramvalue);};}; } switch($newtype){ case "neue Tabelle": $pages[$pagealt]["_".$newparam]=array(array("",""),array("","")); break; case "neue Variable": $pages[$pagealt]["_".$newparam]=$newvalue ; break; case "Variable loeschen": unset($pages[$pagealt]["_".$newparam]); break; } ##} } if($debug){echo('action = '.$action.'; page = '.$page.'
');} function p($string) { global $externpicsdir; if($externpicsdir!=""){ echo(str_replace("../pic/",$externpicsdir,$string));} else{ echo($string); } } #Darstellung der Seite: ## ## ## ## ## ## ## if (($action == "-Show") || ($action == "s")) { p("".$sitetitel." -> ".$pages[$page]["menu1"]." -> ".$pages[$page]["menu2"].""); } else { p("".$sitetitel." ".$action.""); } if (isset($pages[$page]["_head"])) { p($pages[$page]["_head"]); } elseif (isset($pages["_default"]["_head"])) { p($pages["_default"]["_head"]); }; ?> " link="red" vlink="#ff4040" BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 > \n"); } ?> 0)||($action=='Login')||($action=='pic')){ if ($action == "-Edit") {$action="edit_post";} include("cmd/adminfunctions.php"); if(function_exists($action)){ call_user_func($action); } elseif(file_exists("cmd/".$action.".php")){ include("cmd/".$action.".php"); if(function_exists($action)){ call_user_func($action); } else{ ?> redCMS

Fehler: Der Befehl "" existiert nicht! redCMS

Fehler: Der Befehl "" existiert nicht! redCMS

Fehler: Sie haben nicht die nötigen Rechte fŸr diese Seite ("index.php?a=" )!