';
echo get_module_title("Users", 'Profile Information', true);
global $adb;
global $theme;
$theme_path="themes/".$theme."/";
$image_path=$theme_path."images/";
require_once($theme_path.'layout_utils.php');
$profileid = $_REQUEST["profileid"];
//Retreiving the tabs permisson array
$tab_perr_array = getTabsPermission($profileid);
$act_perr_arry = getTabsActionPermission($profileid);
$act_utility_arry = getTabsUtilityActionPermission($profileid);
$xtpl=new XTemplate ('modules/Users/ProfileDetailView.html');
$standCustFld = getStdOutput($tab_perr_array, $act_perr_arry, $act_utility_arry,$profileid);
//Standard PickList Fields
function getStdOutput($tab_perr_array, $act_perr_arry, $act_utility_arry,$profileid)
{
	global $adb;
	$standCustFld= '';
	$standCustFld .= '';
	$standCustFld .= '';
	$standCustFld .= '';
	$standCustFld .= '
';
	$standCustFld .= '
| '; $standCustFld .= get_form_header("Profile Standard Access Information", "", false ); $standCustFld .= ' | 
| Entity'; $standCustFld .= ' | ';
	$standCustFld .=  'Allow | ';
	$standCustFld .=  'Create/Edit | ';
	$standCustFld .=  'Delete | ';
	$standCustFld .=  'View | 
| '.$entity_name.''; $standCustFld .= ' | ';
		$standCustFld .= ''.$tab_allow_per.' | ';
		$standCustFld .= ''.$tab_create_per.' | ';
		$standCustFld .= ''.$tab_delete_per.' | ';
			
		$standCustFld .= ''.$tab_view_per.' | 
| '; $standCustFld .= get_form_header("Profile Utility Access Information", "", false ); $standCustFld .= ' | 
| Entity'; $standCustFld .= ' | ';
	$standCustFld .=  'Import | ';
	$standCustFld .=  'Export | 
| '.$entity_name.''; $standCustFld .= ' | ';
		$standCustFld .= ''.$tab_import_per.' | ';
			
		$standCustFld .= ''.$tab_export_per.' |