<?php
$op=$_GET['option'];
switch($op){
case CategoryManagement:
include"category/show_categories.php";
break;
case ProductManagement:
include"product/index.php";
break;
case OrderManagement:
include"order/index.php";
break;
case MemberManagement:
include"member/index.php";
break;
case ArticleManagement:
include"article/index.php";
break;
case Report:
include"report/index.php";
break;
case MemberNews:
include"news/index.php";
break;
case Logout:
header("Location:logout.php");
break;
default:
include"main.php";
break;
}
?>