Exemple #1
0
<?php

if (!isset($_GET['t'])) {
    header('Location: frm_index.php');
}
require_once 'frm_header.inc.php';
$topicid = $_GET['t'];
$limit = $admin['pageLimit']['value'];
$user_id = isset($_SESSION['user_id']) ? $_SESSION['user_id'] : 0;
show_topic($db, $topicid, $user_id);
require_once 'frm_footer.inc.php';
 case "show_journal":
     show_menu();
     show_journal();
     break;
 case "proc_reply":
     proc_reply();
     show_menu();
     show_topic();
     break;
 case "reply":
     show_menu();
     reply();
     break;
 case "show_topic":
     show_menu();
     show_topic();
     break;
 case "forum":
     show_menu();
     forum();
     break;
 case "new_topic":
     show_menu();
     new_topic();
     break;
 case "topic_post":
     topic_post();
     show_menu();
     forum();
     break;
 case "show_alliance":