<?php
// File: $Id: case.adminfaq.php,v 1.3 2001/09/08 18:26:54 adam_baum Exp $ $Name: $
// ----------------------------------------------------------------------
// POST-NUKE Content Management System
// Copyright (C) 2001 by the Post-Nuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// Based on:
// PHP-NUKE Web Portal System - http://phpnuke.org/
// Thatware - http://thatware.org/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file:
// ----------------------------------------------------------------------
if (!eregi("admin.php", $PHP_SELF)) { die ("Access Denied"); }
switch($op) {
case "FaqCatSave":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqCatSave($id_cat, $categories, $flanguage); /* ML added flanguage */
break;
case "FaqCatGoSave":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqCatGoSave($id, $question, $answer, $id_cat);
break;
case "FaqCatAdd":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqCatAdd($categories, $flanguage, $parent_cat); /* ML added flanguage */
break;
case "FaqCatGoAdd":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqCatGoAdd($id_cat, $question, $answer);
break;
case "FaqCatEdit":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqCatEdit($id_cat);
break;
case "FaqCatGoEdit":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqCatGoEdit($id);
break;
case "FaqCatDel":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqCatDel($id_cat, $ok);
break;
case "FaqCatGoDel":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqCatGoDel($id, $ok);
break;
case "FaqAdmin":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqAdmin();
break;
case "FaqCatGo":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqCatGo($id_cat);
break;
case "FaqCatUnanswered":
include ("modules/$ModName/admin/modules/adminfaq.php");
FaqCatUnanswered();
break;
}
?>