Location: PHPKode > projects > Hosting App > hosting/modules/private/build.php
<?php
////////////////////////////////////////////////////////////////////////////////
//   Copyright (c), 2002, Sadri Sahraoui <hide@address.com>               //
//   Hosting App - A web based hosting management system                      //
//   http://sf.net/projetcs/hostingapp/                                       //
//   				                                                                  //
//   This program is free software. You can redistribute it and/or modify     //
//   it under the terms of the GNU General Public License                     //
//                                                                            //
//   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															//
// 																		                                        //
//   You should have received a copy of GNU General Public License            //
//   along with this program.                                                 //
////////////////////////////////////////////////////////////////////////////////



function build_subUsers($obj)
{
	$obj -> MxUrl('sub_menu.user_add', "add.php", "what=user");

	$obj -> MxUrl('sub_menu.user_list', "browse.php", "what=user");
}


function build_subDomains($obj)
{
	$obj -> MxUrl('sub_menu.domain_add', "add.php", "what=domain");

	$obj -> MxUrl('sub_menu.domain_list', "browse.php", "what=domain");
	
	$obj -> MxUrl('sub_menu.domain_email', "./", "what=email");
}


function build_subProducts($obj)
{
	$obj -> MxUrl('sub_menu.product_add', "add.php", "what=product");

	$obj -> MxUrl("sub_menu.product_list", "browse.php", "what=product");
}


function build_subEmails($obj)
{
	$obj -> MxUrl('sub_menu.email_add', "add.php", "what=email");

	$obj -> MxUrl("sub_menu.email_list", "browse.php", "what=email");
}

function build_subConf($obj)
{
	$obj -> MxUrl('sub_menu.conf_general', "config.php", "what=general");

	$obj -> MxUrl("sub_menu.conf_user", "config.php", "what=user");
	
	$obj -> MxUrl("sub_menu.conf_apache", "config.php", "what=apache");
	
	$obj -> MxUrl("sub_menu.conf_ftp", "config.php", "what=ftp");
	
	$obj -> MxUrl("sub_menu.conf_mail", "config.php", "what=mail");
}
?>
Return current item: Hosting App