Location: PHPKode > scripts > WH Social > wh_social/framework/templates/management.tpl
<?php

    function management() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'management.inc.php');
        }

    function myprofile() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'myprofile.inc.php');
        }

    function password() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'password.inc.php');
        }

    function guestbook() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'guestbook.inc.php');
        }

    function pinboard() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'pinboard.inc.php');
        }

    function avatar() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'avatar.inc.php');
        }

    function myposts() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'myposts.inc.php');
        }

    function integrate() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'integrate.inc.php');
        }

    function addresses() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'addresses.inc.php');
        }

    function photos() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'photos.inc.php');
        }

    function tasks() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'tasks.inc.php');
        }

    function delete() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'delete.inc.php');
        }

    function remove() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'remove.inc.php');
        }

    function unpin() {
        $place = ('modules/management/');
        include('framework/config.php');
        include('framework/language.php');
        include('' . $place . 'unpin.inc.php');
        }

    if(isset($_GET['site'])) {

        switch($_GET['site']) {
    
            case 'management' :
                print management();
                break;

            case 'myprofile' :
                print myprofile();
                break;

            case 'password' :
                print password();
                break;

            case 'guestbook' :
                print guestbook();
                break;

            case 'pinboard' :
                print pinboard();
                break;

            case 'avatar' :
                print avatar();
                break;

            case 'myposts' :
                print myposts();
                break;

            case 'integrate' :
                print integrate();
                break;

            case 'addresses' :
                print addresses();
                break;

            case 'photos' :
                print photos();
                break;

            case 'tasks' :
                print tasks();
                break;

            case 'delete' :
                print delete();
                break;

            case 'remove' :
                print remove();
                break;

            case 'unpin' :
                print unpin();
                break;

        default :
            print management();
            break;
            }

    }else{

    print management();
    }

?>
Return current item: WH Social