<?php
			$optionsArray = array(
	'welcome' => array(
		'welcomePageSkip' => false,
		'welcomeItems' => array(
			'logo' => array(
				'menutItem' => false 
			),
			'menu' => array(
				'menutItem' => false 
			),
			'loginform_login' => array(
				'menutItem' => false 
			),
			'username_button' => array(
				'menutItem' => false 
			),
			'welcome_item2' => array(
				'menutItem' => true,
				'group' => false,
				'linkType' => 0,
				'items' => null,
				'table' => 'tb_clientes',
				'page' => 'list' 
			),
			'welcome_item3' => array(
				'menutItem' => true,
				'group' => false,
				'linkType' => 0,
				'items' => null,
				'table' => 'tb_pedidos',
				'page' => 'list' 
			),
			'welcome_item5' => array(
				'menutItem' => true,
				'group' => false,
				'linkType' => 0,
				'items' => null,
				'table' => 'tb_produtos',
				'page' => 'list' 
			),
			'welcome_item7' => array(
				'menutItem' => true,
				'group' => false,
				'linkType' => 0,
				'items' => null,
				'table' => 'tb_ficha_tecnica',
				'page' => 'list' 
			),
			'welcome_item21' => array(
				'menutItem' => true,
				'group' => false,
				'linkType' => 0,
				'items' => null,
				'table' => 'tb_negociado',
				'page' => 'list' 
			),
			'welcome_item14' => array(
				'menutItem' => true,
				'group' => false,
				'linkType' => 0,
				'items' => null,
				'table' => 'tb_despesas',
				'page' => 'list' 
			),
			'welcome_item48' => array(
				'menutItem' => true,
				'group' => false,
				'linkType' => 0,
				'items' => null,
				'table' => 'memcalc_Pdto view',
				'page' => 'list' 
			),
			'welcome_item27' => array(
				'menutItem' => true,
				'group' => false,
				'linkType' => 0,
				'items' => null,
				'table' => 'tb_fornecedores',
				'page' => 'list' 
			) 
		) 
	),
	'fields' => array(
		'gridFields' => array( 
			 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'fieldItems' => array(
			 
		) 
	),
	'layoutHelper' => array(
		'formItems' => array(
			'formItems' => array(
				'above-grid' => array( 
					 
				),
				'supertop' => array( 
					'logo',
					'menu',
					'loginform_login',
					'username_button' 
				),
				'grid' => array( 
					'welcome_item2',
					'welcome_item3',
					'welcome_item5',
					'welcome_item7',
					'welcome_item21',
					'welcome_item14',
					'welcome_item48',
					'welcome_item27' 
				) 
			),
			'formXtTags' => array(
				'above-grid' => array( 
					 
				) 
			),
			'itemForms' => array(
				'logo' => 'supertop',
				'menu' => 'supertop',
				'loginform_login' => 'supertop',
				'username_button' => 'supertop',
				'welcome_item2' => 'grid',
				'welcome_item3' => 'grid',
				'welcome_item5' => 'grid',
				'welcome_item7' => 'grid',
				'welcome_item21' => 'grid',
				'welcome_item14' => 'grid',
				'welcome_item48' => 'grid',
				'welcome_item27' => 'grid' 
			),
			'itemLocations' => array(
				 
			),
			'itemVisiblity' => array(
				'menu' => 3,
				'username_button' => 3,
				'loginform_login' => 3 
			) 
		),
		'itemsByType' => array(
			'logo' => array( 
				'logo' 
			),
			'menu' => array( 
				'menu' 
			),
			'welcome_item' => array( 
				'welcome_item2',
				'welcome_item3',
				'welcome_item5',
				'welcome_item7',
				'welcome_item14',
				'welcome_item21',
				'welcome_item27',
				'welcome_item48' 
			),
			'username_button' => array( 
				'username_button' 
			),
			'loginform_login' => array( 
				'loginform_login' 
			),
			'userinfo_link' => array( 
				'userinfo_link' 
			),
			'logout_link' => array( 
				'logout_link' 
			),
			'adminarea_link' => array( 
				'adminarea_link' 
			) 
		),
		'cellMaps' => array(
			 
		) 
	),
	'loginForm' => array(
		'loginForm' => 0 
	),
	'page' => array(
		'verticalBar' => false,
		'labeledButtons' => array(
			'update_records' => array(
				 
			),
			'print_pages' => array(
				 
			),
			'register_activate_message' => array(
				 
			),
			'details_found' => array(
				 
			) 
		),
		'hasCustomButtons' => false,
		'customButtons' => array( 
			 
		),
		'codeSnippets' => array( 
			 
		),
		'clickHandlerSnippets' => array( 
			 
		),
		'hasNotifications' => false,
		'menus' => array( 
			array(
				'id' => 'main',
				'horizontal' => true 
			) 
		),
		'calcTotalsFor' => 1,
		'hasCharts' => false 
	),
	'events' => array(
		'maps' => array( 
			 
		),
		'mapsData' => array(
			 
		),
		'buttons' => array( 
			 
		) 
	) 
);
			$pageArray = array(
	'id' => 'menu',
	'type' => 'menu',
	'layoutId' => 'topbar',
	'disabled' => false,
	'default' => 0,
	'forms' => array(
		'above-grid' => array(
			'modelId' => 'empty-above-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'supertop' => array(
			'modelId' => 'menu-topbar-menu',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						),
						array(
							'cell' => 'c2' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'logo',
						'menu' 
					) 
				),
				'c2' => array(
					'model' => 'c2',
					'items' => array( 
						'loginform_login',
						'username_button' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'grid' => array(
			'modelId' => 'welcome',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'welcome_item2',
						'welcome_item3',
						'welcome_item5',
						'welcome_item7',
						'welcome_item21',
						'welcome_item14',
						'welcome_item48',
						'welcome_item27' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		) 
	),
	'items' => array(
		'logo' => array(
			'type' => 'logo' 
		),
		'menu' => array(
			'type' => 'menu' 
		),
		'welcome_item2' => array(
			'type' => 'welcome_item',
			'linkUrl' => '',
			'linkTable' => 'tb_clientes',
			'linkPage' => 'list',
			'linkText' => array(
				'type' => 0,
				'text' => 'Clientes' 
			),
			'linkIcon' => array(
				'glyph' => 'tree-conifer',
				'style' => 0 
			),
			'linkComments' => array(
				'text' => 'Tb Clientes description',
				'type' => 0 
			),
			'background' => '#edca00',
			'linkType' => 0 
		),
		'welcome_item3' => array(
			'type' => 'welcome_item',
			'linkUrl' => '',
			'linkTable' => 'tb_pedidos',
			'linkPage' => 'list',
			'linkText' => array(
				'type' => 0,
				'text' => 'Pedidos' 
			),
			'linkIcon' => array(
				'glyph' => 'earphone',
				'style' => 0 
			),
			'linkComments' => array(
				'text' => 'Tb Pedidos description',
				'type' => 0 
			),
			'background' => '#e07878',
			'linkType' => 0 
		),
		'welcome_item5' => array(
			'type' => 'welcome_item',
			'linkUrl' => '',
			'linkTable' => 'tb_produtos',
			'linkPage' => 'list',
			'linkText' => array(
				'type' => 0,
				'text' => 'Produtos' 
			),
			'linkIcon' => array(
				'glyph' => 'briefcase',
				'style' => 0 
			),
			'background' => '#edca00',
			'linkType' => 0 
		),
		'welcome_item7' => array(
			'type' => 'welcome_item',
			'linkUrl' => '',
			'linkTable' => 'tb_ficha_tecnica',
			'linkPage' => 'list',
			'linkText' => array(
				'type' => 0,
				'text' => 'Ficha Tecnica' 
			),
			'linkIcon' => array(
				'glyph' => 'send',
				'style' => 0 
			),
			'background' => '#7b68ee',
			'linkType' => 0 
		),
		'welcome_item14' => array(
			'type' => 'welcome_item',
			'linkUrl' => '',
			'linkTable' => 'tb_despesas',
			'linkPage' => 'list',
			'linkText' => array(
				'type' => 0,
				'text' => 'Despesas' 
			),
			'background' => '#dc143c',
			'linkType' => 0,
			'linkIcon' => array(
				'style' => 0 
			) 
		),
		'welcome_item21' => array(
			'type' => 'welcome_item',
			'linkUrl' => '',
			'linkTable' => 'tb_negociado',
			'linkPage' => 'list',
			'linkText' => array(
				'type' => 0,
				'text' => 'Negociado' 
			),
			'background' => '#4169e1',
			'linkType' => 0,
			'linkIcon' => array(
				'style' => 0 
			) 
		),
		'welcome_item27' => array(
			'type' => 'welcome_item',
			'linkUrl' => '',
			'linkTable' => 'tb_fornecedores',
			'linkPage' => 'list',
			'linkText' => array(
				'type' => 0,
				'text' => 'Fornecedores' 
			),
			'background' => '#cd853f',
			'linkType' => 0,
			'linkIcon' => array(
				'style' => 0 
			) 
		),
		'welcome_item48' => array(
			'type' => 'welcome_item',
			'linkUrl' => '',
			'linkTable' => 'memcalc_Pdto view',
			'linkPage' => 'list',
			'linkText' => array(
				'type' => 0,
				'text' => 'Pdto Calculo' 
			),
			'background' => '#6b8e23',
			'linkType' => 0,
			'linkIcon' => array(
				'style' => 0 
			) 
		),
		'username_button' => array(
			'type' => 'username_button',
			'items' => array( 
				'userinfo_link',
				'logout_link',
				'adminarea_link' 
			) 
		),
		'loginform_login' => array(
			'type' => 'loginform_login',
			'popup' => false 
		),
		'userinfo_link' => array(
			'type' => 'userinfo_link' 
		),
		'logout_link' => array(
			'type' => 'logout_link' 
		),
		'adminarea_link' => array(
			'type' => 'adminarea_link' 
		) 
	),
	'version' => 13,
	'pageWidth' => 'full',
	'imageItem' => array(
		'type' => 'page_image' 
	),
	'imageBgColor' => '#f2f2f2',
	'controlsBgColor' => 'transparent',
	'imagePosition' => 'right',
	'welcomePageStay' => true,
	'listTotals' => 1,
	'title' => array(
		 
	),
	'cardStyle' => array(
		 
	),
	'welcomeStyle' => 3 
);
		?>