<?php
switch ($_GET["m"]) {
/* Designs management */
case "designs":
include "./structure/managedesigns.php";
break;
case "activatetheme":
include "./lib/activatetheme.php";
break;
case "edittheme":
include "./structure/edittheme.php";
break;
case "edittheme1":
include "./lib/edittheme.php";
break;
case "installtheme":
include "./structure/installtheme.php";
break;
case "installtheme2":
include "./lib/installtheme.php";
break;
case "installadmintheme":
include "./lib/installadmintheme.php";
break;
/* Posts management */
case "posts":
include "./structure/manageposts.php";
break;
case "editpost":
include "./structure/editpost.php";
break;
case "submitpost":
include "./lib/submitpost.php";
break;
case "updatepost":
include "./lib/updatepost.php";
break;
case "newpost":
include "./structure/newpost.php";
break;
case "searchposts":
include "./structure/searchposts.php";
break;
/* Pages management */
case "pages":
include "./structure/managepages.php";
break;
case "editpage":
include "./structure/editpage.php";
break;
case "submitpage":
include "./lib/submitpage.php";
break;
case "updatepage":
include "./lib/updatepage.php";
break;
case "newpage":
include "./structure/newpage.php";
break;
case "delpage":
include "./lib/delpage.php";
break;
/* Comments management */
case "searchcomments":
include "./structure/managecomments.php";
break;
case "newcomment":
include "./structure/newcomment.php";
break;
case "createcomment":
include "./lib/createcomment.php";
break;
case "delpost":
include "./lib/delpost.php";
break;
case "delcom":
include "./lib/delcom.php";
break;
case "allowcom":
include "./lib/allowcom.php";
break;
case "editcomment":
include "./structure/editcomment.php";
break;
case "updatecomment":
include "./lib/updatecomment.php";
break;
/* Categories management */
case "newcat":
include "./structure/newcat.php";
break;
case "createcat":
include "./lib/createcat.php";
break;
case "delcat":
include "./lib/delcat.php";
break;
case "updatecat":
include "./lib/updatecat.php";
break;
case "editcat":
include "./structure/editcat.php";
break;
/* Blog management */
case "config":
include "./structure/manageblog.php";
break;
case "updateblogconfig":
include "./lib/updateblogconfig.php";
break;
case "updatefeedconfig":
include "./lib/updatefeedconfig.php";
break;
case "widgets":
include "./structure/managewidgets.php";
break;
case "banip":
include "./lib/banip.php";
break;
case "delban":
include "./lib/delban.php";
break;
/* Blocks management */
case "moveblock":
include "./lib/moveblock.php";
break;
case "delblock":
include "./lib/delblock.php";
break;
case "newblock":
include "./structure/newblock.php";
break;
case "createblock":
include "./lib/newblock.php";
break;
case "editblock":
include "./structure/editblock.php";
break;
case "updateblock":
include "./lib/updateblock.php";
break;
case "uploadblock":
include "./structure/uploadblock.php";
break;
case "uploadblock1":
include "./lib/uploadblock.php";
break;
case "editblockfile":
include "./structure/editblockfile.php";
break;
case "customblock":
include "./structure/customblock.php";
break;
case "writeblock":
include "./lib/writeblock.php";
break;
case "delblockfile":
include "./lib/delblockfile.php";
break;
/* Header Links management */
case "movelink":
include "./lib/movelink.php";
break;
case "dellink":
include "./lib/dellink.php";
break;
case "newlink":
include "./structure/newlink.php";
break;
case "createlink":
include "./lib/newlink.php";
break;
case "editlink":
include "./structure/editlink.php";
break;
case "updatelink":
include "./lib/updatelink.php";
break;
/* Plugins management */
case "plugins":
include "./structure/manageplugins.php";
break;
case "viewplugin":
include "./structure/viewplugin.php";
break;
case "editplugin":
include "./structure/editplugin.php";
break;
case "editplugin1":
include "./lib/editplugin.php";
break;
case "installplugin":
include "./lib/installplugin.php";
break;
case "uninstallplugin":
include "./lib/uninstallplugin.php";
break;
case "activateplugin":
include "./lib/activateplugin.php";
break;
case "deactivateplugin":
include "./lib/deactivateplugin.php";
break;
case "pluginconfigure":
include "./structure/pluginconfigure.php";
break;
case "pluginreadme":
include "./structure/pluginreadme.php";
break;
default:
include "./structure/mainpage.php";
}
?>