Location: PHPKode > scripts > Ramui web hosting directory script > Ramui web hosting directory script/gb/admin/index.php
<?php
/*
Copyright (c) 2011 http://ramui.com. All right reserved.
This product is protected by copyright and distributed under licenses restricting copying, distribution. Permission is granted to the public to download and use this script provided that this Notice and any statement of authorship are reproduced in every page on all copies of the script.
*/
session_start();
header('Content-Type: text/html; charset=ISO-8859-1');
header("Cache-Control: no-cache, must-revalidate");
$f=@file_get_contents("../database/config.php");
if(empty($f)){@header("Location: install/index.php");}
include "../include/functions.php";
include "include/clsmain.php";

if(!empty($_GET['qur'])){
    $qur= explode("M", $_GET['qur']);
    switch ($qur[0]) {
        case "1":
            $obj=new clsmain();
        break;
        case "2":
            include "include/clspost.php";
            $obj=new post();
        break;
        case "3":
            include "include/clsuser.php";
            $obj=new user();
        break;
        case "4":
            include "include/clsmail.php";
            $obj=new clsmail();
        break;
        case "5":
            include "include/clsreport.php";
            $obj=new clsreport();
        break;
        case "6":
            include "include/clsadmin.php";
            $obj=new admin();
        break;
        case "7":
            include "include/clstemplate.php";
            $obj=new template();
        break;
        case "9":
            include "include/clscomments.php";
            $obj=new comments();
        break;
        default :
            $obj=new clsmain();
    }}
else{$obj=new clsmain();}
$obj->get_query($qur);
?>
Return current item: Ramui web hosting directory script