<?php
			$optionsArray = array( 'captcha' => array( 'captcha' => false ),
'fields' => array( 'gridFields' => array( 'brand',
'company',
'branch_code',
'company_address',
'discount',
'discount_type',
'start_date',
'end_date',
'outlet_code' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array(  ),
'updateOnEditFields' => array(  ),
'fieldItems' => array( 'brand' => array( 'integrated_edit_field',
'integrated_edit_field3' ),
'company' => array( 'integrated_edit_field1',
'integrated_edit_field5' ),
'branch_code' => array( 'integrated_edit_field2' ),
'company_address' => array( 'edit_field_label',
'edit_field' ),
'discount' => array( 'edit_field1',
'edit_field_label1' ),
'discount_type' => array( 'edit_field2',
'edit_field_label2' ),
'start_date' => array( 'edit_field3',
'edit_field_label3' ),
'end_date' => array( 'edit_field4',
'edit_field_label4' ),
'outlet_code' => array( 'edit_field5',
'edit_field_label5' ) ) ),
'pageLinks' => array( 'edit' => false,
'add' => false,
'view' => false,
'print' => false ),
'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'supertop' => array( 'collapse_button',
'loginform_login',
'username_button' ),
'left' => array( 'logo1',
'expand_button',
'menu' ),
'top' => array( 'edit_header' ),
'above-grid' => array(  ),
'below-grid' => array( 'edit_save',
'edit_close' ),
'grid' => array( 'integrated_edit_field3',
'integrated_edit_field',
'integrated_edit_field5',
'integrated_edit_field1',
'edit_field_label',
'edit_field',
'integrated_edit_field2',
'edit_field_label1',
'edit_field1',
'edit_field_label2',
'edit_field2',
'edit_field_label3',
'edit_field3',
'edit_field_label4',
'edit_field4',
'edit_field_label5',
'edit_field5' ) ),
'formXtTags' => array( 'above-grid' => array(  ),
'below-grid' => array( 'save_edit',
'close_button' ) ),
'itemForms' => array( 'collapse_button' => 'supertop',
'loginform_login' => 'supertop',
'username_button' => 'supertop',
'logo1' => 'left',
'expand_button' => 'left',
'menu' => 'left',
'edit_header' => 'top',
'edit_save' => 'below-grid',
'edit_close' => 'below-grid',
'integrated_edit_field3' => 'grid',
'integrated_edit_field' => 'grid',
'integrated_edit_field5' => 'grid',
'integrated_edit_field1' => 'grid',
'edit_field_label' => 'grid',
'edit_field' => 'grid',
'integrated_edit_field2' => 'grid',
'edit_field_label1' => 'grid',
'edit_field1' => 'grid',
'edit_field_label2' => 'grid',
'edit_field2' => 'grid',
'edit_field_label3' => 'grid',
'edit_field3' => 'grid',
'edit_field_label4' => 'grid',
'edit_field4' => 'grid',
'edit_field_label5' => 'grid',
'edit_field5' => 'grid' ),
'itemLocations' => array( 'integrated_edit_field3' => array( 'location' => 'grid',
'cellId' => 'c4' ),
'integrated_edit_field' => array( 'location' => 'grid',
'cellId' => 'c2' ),
'integrated_edit_field5' => array( 'location' => 'grid',
'cellId' => 'c5' ),
'integrated_edit_field1' => array( 'location' => 'grid',
'cellId' => 'c3' ),
'edit_field_label' => array( 'location' => 'grid',
'cellId' => 'c7' ),
'edit_field' => array( 'location' => 'grid',
'cellId' => 'c8' ),
'integrated_edit_field2' => array( 'location' => 'grid',
'cellId' => 'c9' ),
'edit_field_label1' => array( 'location' => 'grid',
'cellId' => 'c10' ),
'edit_field1' => array( 'location' => 'grid',
'cellId' => 'c11' ),
'edit_field_label2' => array( 'location' => 'grid',
'cellId' => 'c13' ),
'edit_field2' => array( 'location' => 'grid',
'cellId' => 'c14' ),
'edit_field_label3' => array( 'location' => 'grid',
'cellId' => 'c16' ),
'edit_field3' => array( 'location' => 'grid',
'cellId' => 'c17' ),
'edit_field_label4' => array( 'location' => 'grid',
'cellId' => 'c19' ),
'edit_field4' => array( 'location' => 'grid',
'cellId' => 'c20' ),
'edit_field_label5' => array( 'location' => 'grid',
'cellId' => 'c22' ),
'edit_field5' => array( 'location' => 'grid',
'cellId' => 'c23' ) ),
'itemVisiblity' => array( 'collapse_button' => 5,
'loginform_login' => 3,
'username_button' => 3,
'expand_button' => 5,
'menu' => 3 ) ),
'itemsByType' => array( 'edit_header' => array( 'edit_header' ),
'edit_save' => array( 'edit_save' ),
'edit_close' => array( 'edit_close' ),
'menu' => array( 'menu' ),
'collapse_button' => array( 'collapse_button' ),
'edit_field' => array( 'integrated_edit_field',
'integrated_edit_field1',
'integrated_edit_field2',
'edit_field',
'edit_field1',
'edit_field2',
'edit_field3',
'edit_field4',
'edit_field5' ),
'logo' => array( 'logo1' ),
'username_button' => array( 'username_button' ),
'loginform_login' => array( 'loginform_login' ),
'logout_link' => array( 'logout_link' ),
'changepassword_link' => array( 'changepassword_link' ),
'edit_field_label' => array( 'edit_field_label',
'integrated_edit_field3',
'integrated_edit_field5',
'edit_field_label1',
'edit_field_label2',
'edit_field_label3',
'edit_field_label4',
'edit_field_label5' ),
'expand_button' => array( 'expand_button' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'c4' => array( 'cols' => array( 0 ),
'rows' => array( 0 ),
'tags' => array( 'brand_fieldblock' ),
'items' => array( 'integrated_edit_field3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c2' => array( 'cols' => array( 1 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c5' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array( 'company_fieldblock' ),
'items' => array( 'integrated_edit_field5' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c3' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field1' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c7' => array( 'cols' => array( 0 ),
'rows' => array( 2 ),
'tags' => array( 'company_address_fieldblock' ),
'items' => array( 'edit_field_label' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c8' => array( 'cols' => array( 1 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'edit_field' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c6' => array( 'cols' => array( 0 ),
'rows' => array( 3 ),
'tags' => array(  ),
'items' => array(  ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c9' => array( 'cols' => array( 1 ),
'rows' => array( 3 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field2' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c10' => array( 'cols' => array( 0 ),
'rows' => array( 4 ),
'tags' => array( 'discount_fieldblock' ),
'items' => array( 'edit_field_label1' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c11' => array( 'cols' => array( 1 ),
'rows' => array( 4 ),
'tags' => array(  ),
'items' => array( 'edit_field1' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c13' => array( 'cols' => array( 0 ),
'rows' => array( 5 ),
'tags' => array( 'discount_type_fieldblock' ),
'items' => array( 'edit_field_label2' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c14' => array( 'cols' => array( 1 ),
'rows' => array( 5 ),
'tags' => array(  ),
'items' => array( 'edit_field2' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c16' => array( 'cols' => array( 0 ),
'rows' => array( 6 ),
'tags' => array( 'start_date_fieldblock' ),
'items' => array( 'edit_field_label3' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c17' => array( 'cols' => array( 1 ),
'rows' => array( 6 ),
'tags' => array(  ),
'items' => array( 'edit_field3' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c19' => array( 'cols' => array( 0 ),
'rows' => array( 7 ),
'tags' => array( 'end_date_fieldblock' ),
'items' => array( 'edit_field_label4' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c20' => array( 'cols' => array( 1 ),
'rows' => array( 7 ),
'tags' => array(  ),
'items' => array( 'edit_field4' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c22' => array( 'cols' => array( 0 ),
'rows' => array( 8 ),
'tags' => array( 'outlet_code_fieldblock' ),
'items' => array( 'edit_field_label5' ),
'fixedAtServer' => false,
'fixedAtClient' => false ),
'c23' => array( 'cols' => array( 1 ),
'rows' => array( 8 ),
'tags' => array(  ),
'items' => array( 'edit_field5' ),
'fixedAtServer' => true,
'fixedAtClient' => false ) ),
'width' => 2,
'height' => 9 ) ) ),
'loginForm' => array( 'loginForm' => 1 ),
'page' => array( 'labeledButtons' => array( 'update_records' => array(  ),
'print_pages' => array(  ),
'register_activate_message' => array(  ),
'details_found' => array(  ) ),
'hasCustomButtons' => false,
'customButtons' => array(  ) ),
'misc' => array( 'type' => 'edit',
'breadcrumb' => false,
'nextPrev' => false ),
'events' => array( 'maps' => array(  ),
'mapsData' => array(  ),
'buttons' => array(  ) ),
'edit' => array( 'updateSelected' => false ) );
			$pageArray = array( 'id' => 'edit',
'type' => 'edit',
'layoutId' => 'leftbar',
'disabled' => 0,
'default' => 0,
'forms' => array( 'supertop' => array( 'modelId' => 'leftbar-top-edit',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
array( 'cell' => 'c2' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'collapse_button' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c2' => array( 'model' => 'c2',
'items' => array( 'loginform_login',
'username_button' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'left' => array( 'modelId' => 'leftbar-menu',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c0' => array( 'model' => 'c0',
'items' => array( 'logo1',
'expand_button' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ),
'c1' => array( 'model' => 'c1',
'items' => array( 'menu' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'top' => array( 'modelId' => 'edit-header',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'edit_header' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'above-grid' => array( 'modelId' => 'edit-above-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array(  ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'below-grid' => array( 'modelId' => 'edit-below-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1',
'colspan' => 1 ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'edit_save',
'edit_close' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0,
'align' => 'center' ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'grid' => array( 'modelId' => 'simple-edit',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c4' ),
array( 'cell' => 'c2' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c5' ),
array( 'cell' => 'c3' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c7' ),
array( 'cell' => 'c8' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c6' ),
array( 'cell' => 'c9' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c10' ),
array( 'cell' => 'c11' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c13' ),
array( 'cell' => 'c14' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c16' ),
array( 'cell' => 'c17' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c19' ),
array( 'cell' => 'c20' ) ),
'section' => '' ),
array( 'cells' => array( array( 'cell' => 'c22' ),
array( 'cell' => 'c23' ) ),
'section' => '' ) ),
'cells' => array( 'c4' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field3' ),
'field' => 'brand' ),
'c2' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field' ),
'field' => 'brand' ),
'c5' => array( 'model' => 'c4',
'items' => array( 'integrated_edit_field5' ),
'field' => 'company' ),
'c3' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field1' ),
'field' => 'company' ),
'c6' => array( 'model' => 'c2',
'items' => array(  ),
'field' => 'company_address' ),
'c7' => array( 'model' => 'c4',
'items' => array( 'edit_field_label' ) ),
'c8' => array( 'model' => 'c2',
'items' => array( 'edit_field' ),
'field' => 'branch_code' ),
'c9' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field2' ) ),
'c10' => array( 'model' => 'c2',
'items' => array( 'edit_field_label1' ),
'field' => 'discount',
'align' => 'right' ),
'c11' => array( 'model' => 'c2',
'items' => array( 'edit_field1' ) ),
'c13' => array( 'model' => 'c2',
'items' => array( 'edit_field_label2' ),
'field' => 'discount_type',
'align' => 'right' ),
'c14' => array( 'model' => 'c2',
'items' => array( 'edit_field2' ) ),
'c16' => array( 'model' => 'c2',
'items' => array( 'edit_field_label3' ),
'field' => 'start_date',
'align' => 'right' ),
'c17' => array( 'model' => 'c2',
'items' => array( 'edit_field3' ) ),
'c19' => array( 'model' => 'c2',
'items' => array( 'edit_field_label4' ),
'field' => 'end_date',
'align' => 'right' ),
'c20' => array( 'model' => 'c2',
'items' => array( 'edit_field4' ) ),
'c22' => array( 'model' => 'c2',
'items' => array( 'edit_field_label5' ),
'field' => 'outlet_code',
'align' => 'right' ),
'c23' => array( 'model' => 'c2',
'items' => array( 'edit_field5' ) ) ),
'deferredItems' => array(  ),
'columnCount' => 1,
'inlineLabels' => true,
'separateLabels' => true ) ),
'items' => array( 'edit_header' => array( 'type' => 'edit_header' ),
'edit_save' => array( 'type' => 'edit_save',
'label' => array( 'type' => 0,
'text' => '' ),
'icon' => array( 'file' => '111112.png' ),
'buttonStyle' => 'link-button' ),
'edit_close' => array( 'type' => 'edit_close',
'label' => array( 'type' => 0,
'text' => '' ),
'icon' => array( 'file' => 'cancle3.png' ),
'buttonStyle' => 'link-button' ),
'menu' => array( 'type' => 'menu' ),
'collapse_button' => array( 'type' => 'collapse_button' ),
'integrated_edit_field' => array( 'field' => 'brand',
'type' => 'edit_field',
'updateOnEdit' => false ),
'logo1' => array( 'type' => 'logo' ),
'integrated_edit_field1' => array( 'field' => 'company',
'type' => 'edit_field' ),
'integrated_edit_field2' => array( 'field' => 'branch_code',
'type' => 'edit_field',
'color' => '#ffffff' ),
'username_button' => array( 'type' => 'username_button',
'items' => array( 'logout_link',
'changepassword_link' ) ),
'loginform_login' => array( 'type' => 'loginform_login',
'popup' => true ),
'logout_link' => array( 'type' => 'logout_link' ),
'changepassword_link' => array( 'type' => 'changepassword_link' ),
'edit_field_label' => array( 'type' => 'edit_field_label',
'field' => 'company_address' ),
'integrated_edit_field3' => array( 'type' => 'edit_field_label',
'field' => 'brand' ),
'integrated_edit_field5' => array( 'type' => 'edit_field_label',
'field' => 'company' ),
'edit_field' => array( 'field' => 'company_address',
'type' => 'edit_field' ),
'edit_field1' => array( 'field' => 'discount',
'type' => 'edit_field' ),
'edit_field_label1' => array( 'type' => 'edit_field_label',
'field' => 'discount' ),
'edit_field2' => array( 'field' => 'discount_type',
'type' => 'edit_field' ),
'edit_field_label2' => array( 'type' => 'edit_field_label',
'field' => 'discount_type' ),
'edit_field3' => array( 'field' => 'start_date',
'type' => 'edit_field' ),
'edit_field_label3' => array( 'type' => 'edit_field_label',
'field' => 'start_date' ),
'edit_field4' => array( 'field' => 'end_date',
'type' => 'edit_field' ),
'edit_field_label4' => array( 'type' => 'edit_field_label',
'field' => 'end_date' ),
'edit_field5' => array( 'field' => 'outlet_code',
'type' => 'edit_field' ),
'edit_field_label5' => array( 'type' => 'edit_field_label',
'field' => 'outlet_code' ),
'expand_button' => array( 'type' => 'expand_button' ) ),
'dbProps' => array(  ),
'version' => 4 );
		?>