"; ?> Under Construction
'.$endtime); include("pagetail.php"); $allowed = 0; } elseif($config['must_be_logged_in'] == 1 && $user_logged_in != 1 && $faction != "register" && $faction != "login" && $faction != "regeln" & $faction != "sendpw") { include("pageheader.php"); echo navbar($lng['No_access']); echo get_message('members_only','
'.sprintf($lng['links']['register_or_login'],"",'',"",'')); include("pagetail.php"); $allowed = 0; } if($allowed == 1) { switch($faction) { // reply.php case "reply": setcookie("upbwhere","index.php?faction=reply&forum_id=$forum_id&thread_id=$thread_id"); include("pageheader.php"); include("reply.php"); include("pagetail.php"); break; // newtopic.php case "newtopic": setcookie("upbwhere","index.php?faction=newtopic&forum_id=$forum_id"); include("pageheader.php"); include("newtopic.php"); include("pagetail.php"); break; // editpoll.php case "editpoll": include('editpoll.php'); break; // vote.php case "vote": include('vote.php'); break; // newtopic.php case "newpoll": setcookie("upbwhere","index.php?faction=newpoll&forum_id=$forum_id"); include("newpoll.php"); include("pagetail.php"); break; // edit.php case "edit": include("pageheader.php"); include("edit.php"); include("pagetail.php"); break; // profile.php case "profile": include("pageheader.php"); include("profile.php"); include("pagetail.php"); break; // login.php case "login": include("login.php"); include("pagetail.php"); break; // logout.php case "logout": include("logout.php"); break; // faq.php case "faq": include("pageheader.php"); include("faq.php"); include("pagetail.php"); break; // register.php case "register": include("register.php"); include("pagetail.php"); break; // pm.php case "pm": include("pm.php"); include("pagetail.php"); break; // regeln.php case "regeln": include("pageheader.php"); include("regeln.php"); include("pagetail.php"); break; // search.php case "search": include("pageheader.php"); include("search.php"); include("pagetail.php"); break; // topic.php case "topic": include("pageheader.php"); include("topic.php"); include("pagetail.php"); break; // wio.php case "wio": include("wio.php"); break; // viewip.php case "viewip": include("pageheader.php"); include("viewip.php"); include("pagetail.php"); break; // viewip.php case "mlist": include("pageheader.php"); include("listmember.php"); include("pagetail.php"); break; // sendpw.php case "sendpw": include("sendpw.php"); include("pagetail.php"); break; // formmail.php case "formmail": include("pageheader.php"); include("formmail.php"); include("pagetail.php"); break; case 'abos': include("pageheader.php"); include("abos.php"); include("pagetail.php"); break; // formmail.php case "coder": include("pageheader.php"); include("coder.php"); include("pagetail.php"); break; // readforum.php default: if(check_ip_access($REMOTE_ADDR,$forum_id) != 1) { $endtime = get_ip_sperre_endtime($REMOTE_ADDR,$forum_id); if($endtime == -1) $endtime = $lng['banned_forever']; else { $endtime = ceil(($endtime - time()) / 60); $endtime = sprintf($lng['banned_for_x_minutes'],$endtime); } include("pageheader.php"); echo navbar("".get_forum_name($forum_id)."\t".$lng['templates']['ip_banned_one_forum'][0]); echo get_message("ip_banned_one_forum",'
'.$endtime); include("pagetail.php"); } else { if($mode == "viewforum") { setcookie("upbwhere","index.php?mode=viewforum&forum_id=$forum_id"); // Redirect-Cookie für nach dem Einloggen //setcookie("forum,$forum_id",time(),time()+(3600*24*365),$config['path_to_forum']); // Cookie, um letzten Besuch festzustellen } elseif($mode == "viewthread") { setcookie("upbwhere","index.php?mode=viewthread&forum_id=$forum_id&thread=$thread"); // Redirect-Cookie für nach dem Einloggen //setcookie("topic,$forum_id,$thread",time(),time()+(3600*24*365),$config['path_to_forum']); // Cookie, um letzten Besuch festzustellen $temp_var = "session.tview.$forum_id.$thread"; if($$temp_var != 1) { $$temp_var = 1; increase_topic_views($forum_id,$thread,1); //session_register($temp_var); // Hier wird die Variable mit dem Namen des Inhalts von $temp_var registriert und nicht die Variable $temp_var selbst! $_session[$temp_var]; // Hier wird die Variable mit dem Namen des Inhalts von $temp_var registriert und nicht die Variable $temp_var selbst! } } else setcookie("upbwhere","index.php"); include("pageheader.php"); include("readforum.php"); include("pagetail.php"); } break; // credits.php *g* case "credits": include("credits.php"); break; } } ?>