<?php
			$optionsArray = array( 'captcha' => array( 'captcha' => false ),
'fields' => array( 'gridFields' => array( 'bar_code',
'product_name',
'price',
'discount',
'category',
'cost',
'unit',
'brand',
'tax',
'branch_code',
'reorder_level',
'image',
'hide',
'newP' ),
'searchRequiredFields' => array(  ),
'searchPanelFields' => array(  ),
'fieldItems' => array( 'bar_code' => array( 'integrated_edit_field' ),
'product_name' => array( 'integrated_edit_field1' ),
'price' => array( 'integrated_edit_field2' ),
'discount' => array( 'integrated_edit_field3' ),
'category' => array( 'integrated_edit_field6' ),
'cost' => array( 'integrated_edit_field7' ),
'unit' => array( 'integrated_edit_field8' ),
'brand' => array( 'integrated_edit_field12' ),
'tax' => array( 'integrated_edit_field14' ),
'branch_code' => array( 'integrated_edit_field4' ),
'reorder_level' => array( 'integrated_edit_field10' ),
'image' => array( 'integrated_edit_field13' ),
'hide' => array( 'integrated_edit_field15' ),
'newP' => array( 'integrated_edit_field5' ) ) ),
'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( 'add_header' ),
'above-grid' => array(  ),
'below-grid' => array( 'add_save',
'add_back_list',
'add_cancel' ),
'grid' => array( 'integrated_edit_field1',
'integrated_edit_field',
'integrated_edit_field2',
'integrated_edit_field13',
'integrated_edit_field7',
'integrated_edit_field14',
'integrated_edit_field8',
'integrated_edit_field15',
'integrated_edit_field12',
'integrated_edit_field4',
'integrated_edit_field3',
'integrated_edit_field10',
'integrated_edit_field6',
'integrated_edit_field5' ) ),
'formXtTags' => array( 'above-grid' => array(  ) ),
'itemForms' => array( 'collapse_button' => 'supertop',
'loginform_login' => 'supertop',
'username_button' => 'supertop',
'logo1' => 'left',
'expand_button' => 'left',
'menu' => 'left',
'add_header' => 'top',
'add_save' => 'below-grid',
'add_back_list' => 'below-grid',
'add_cancel' => 'below-grid',
'integrated_edit_field1' => 'grid',
'integrated_edit_field' => 'grid',
'integrated_edit_field2' => 'grid',
'integrated_edit_field13' => 'grid',
'integrated_edit_field7' => 'grid',
'integrated_edit_field14' => 'grid',
'integrated_edit_field8' => 'grid',
'integrated_edit_field15' => 'grid',
'integrated_edit_field12' => 'grid',
'integrated_edit_field4' => 'grid',
'integrated_edit_field3' => 'grid',
'integrated_edit_field10' => 'grid',
'integrated_edit_field6' => 'grid',
'integrated_edit_field5' => 'grid' ),
'itemLocations' => array( 'integrated_edit_field1' => array( 'location' => 'grid',
'cellId' => 'c4' ),
'integrated_edit_field' => array( 'location' => 'grid',
'cellId' => 'c4' ),
'integrated_edit_field2' => array( 'location' => 'grid',
'cellId' => 'c4' ),
'integrated_edit_field13' => array( 'location' => 'grid',
'cellId' => 'c5' ),
'integrated_edit_field7' => array( 'location' => 'grid',
'cellId' => 'c8' ),
'integrated_edit_field14' => array( 'location' => 'grid',
'cellId' => 'c9' ),
'integrated_edit_field8' => array( 'location' => 'grid',
'cellId' => 'c10' ),
'integrated_edit_field15' => array( 'location' => 'grid',
'cellId' => 'c12' ),
'integrated_edit_field12' => array( 'location' => 'grid',
'cellId' => 'c' ),
'integrated_edit_field4' => array( 'location' => 'grid',
'cellId' => 'c13' ),
'integrated_edit_field3' => array( 'location' => 'grid',
'cellId' => 'c11' ),
'integrated_edit_field10' => array( 'location' => 'grid',
'cellId' => 'c18' ),
'integrated_edit_field6' => array( 'location' => 'grid',
'cellId' => 'c1' ),
'integrated_edit_field5' => array( 'location' => 'grid',
'cellId' => 'c14' ) ),
'itemVisiblity' => array( 'collapse_button' => 5,
'loginform_login' => 3,
'username_button' => 3,
'expand_button' => 5,
'menu' => 3 ) ),
'itemsByType' => array( 'add_header' => array( 'add_header' ),
'add_back_list' => array( 'add_back_list' ),
'add_cancel' => array( 'add_cancel' ),
'add_save' => array( 'add_save' ),
'menu' => array( 'menu' ),
'collapse_button' => array( 'collapse_button' ),
'integrated_edit_field' => array( 'integrated_edit_field',
'integrated_edit_field1',
'integrated_edit_field2',
'integrated_edit_field3',
'integrated_edit_field6',
'integrated_edit_field7',
'integrated_edit_field8',
'integrated_edit_field12',
'integrated_edit_field14',
'integrated_edit_field10',
'integrated_edit_field13',
'integrated_edit_field15',
'integrated_edit_field5' ),
'logo' => array( 'logo1' ),
'edit_field' => array( 'integrated_edit_field4' ),
'username_button' => array( 'username_button' ),
'loginform_login' => array( 'loginform_login' ),
'logout_link' => array( 'logout_link' ),
'changepassword_link' => array( 'changepassword_link' ),
'expand_button' => array( 'expand_button' ) ),
'cellMaps' => array( 'grid' => array( 'cells' => array( 'c4' => array( 'cols' => array( 0,
1 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field1',
'integrated_edit_field',
'integrated_edit_field2' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c5' => array( 'cols' => array( 2 ),
'rows' => array( 0 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field13' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c8' => array( 'cols' => array( 0 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field7' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c11' => array( 'cols' => array( 1 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field3' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c9' => array( 'cols' => array( 2 ),
'rows' => array( 1 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field14' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c10' => array( 'cols' => array( 0 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field8' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c18' => array( 'cols' => array( 1 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field10' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c12' => array( 'cols' => array( 2 ),
'rows' => array( 2 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field15' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c' => array( 'cols' => array( 0 ),
'rows' => array( 3,
4 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field12' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c1' => array( 'cols' => array( 1 ),
'rows' => array( 3,
4 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field6' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c13' => array( 'cols' => array( 2 ),
'rows' => array( 3 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field4' ),
'fixedAtServer' => true,
'fixedAtClient' => false ),
'c14' => array( 'cols' => array( 2 ),
'rows' => array( 4 ),
'tags' => array(  ),
'items' => array( 'integrated_edit_field5' ),
'fixedAtServer' => true,
'fixedAtClient' => false ) ),
'width' => 3,
'height' => 5 ) ) ),
'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' => 'add',
'breadcrumb' => false ),
'events' => array( 'maps' => array(  ),
'mapsData' => array(  ),
'buttons' => array(  ) ) );
			$pageArray = array( 'id' => 'add',
'type' => 'add',
'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' => 'add-header',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'add_header' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0 ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'above-grid' => array( 'modelId' => 'add-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' => 'add-below-grid',
'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
'section' => '' ) ),
'cells' => array( 'c1' => array( 'model' => 'c1',
'items' => array( 'add_save',
'add_back_list',
'add_cancel' ),
'_t' => 'Map',
'_i' => array(  ),
'_s' => 0,
'align' => 'center',
'nowrap' => true ) ),
'deferredItems' => array(  ),
'recsPerRow' => 1 ),
'grid' => array( 'modelId' => 'simple-edit',
'grid' => array( array( 'section' => '',
'cells' => array( array( 'cell' => 'c4',
'colspan' => 2 ),
array( 'cell' => 'c5',
'rowspan' => 1 ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c8' ),
array( 'cell' => 'c11' ),
array( 'cell' => 'c9' ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c10' ),
array( 'cell' => 'c18' ),
array( 'cell' => 'c12' ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c',
'rowspan' => 2 ),
array( 'cell' => 'c1',
'rowspan' => 2 ),
array( 'cell' => 'c13' ) ) ),
array( 'section' => '',
'cells' => array( array( 'cell' => 'c14' ) ) ) ),
'cells' => array( 'c4' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field1',
'integrated_edit_field',
'integrated_edit_field2' ),
'border' => array( array( 'side' => '',
'width' => '0' ) ) ),
'c5' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field13' ),
'border' => array( array( 'side' => '',
'width' => '0' ) ),
'orientation' => 'horizontal',
'align' => 'left' ),
'c8' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field7' ) ),
'c9' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field14' ) ),
'c10' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field8' ),
'orientation' => 'horizontal' ),
'c12' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field15' ),
'orientation' => 'horizontal' ),
'c' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field12' ) ),
'c13' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field4' ) ),
'c11' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field3' ) ),
'c18' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field10' ),
'orientation' => 'horizontal' ),
'c1' => array( 'model' => 'c2',
'items' => array( 'integrated_edit_field6' ) ),
'c14' => array( 'model' => 'c3',
'items' => array( 'integrated_edit_field5' ) ) ),
'deferredItems' => array(  ),
'columnCount' => 1,
'inlineLabels' => false,
'separateLabels' => false ) ),
'items' => array( 'add_header' => array( 'type' => 'add_header' ),
'add_back_list' => array( 'type' => 'add_back_list',
'buttonSize' => 'large',
'buttonStyle' => 'link',
'icon' => array( 'file' => 'cancle3.png' ),
'label' => array( 'type' => 0,
'text' => '' ) ),
'add_cancel' => array( 'type' => 'add_cancel',
'buttonSize' => 'large',
'buttonStyle' => 'link',
'icon' => array( 'file' => 'cancle3.png' ),
'label' => array( 'type' => 0,
'text' => '' ) ),
'add_save' => array( 'type' => 'add_save',
'icon' => array( 'file' => '111112.png' ),
'buttonStyle' => 'link',
'buttonSize' => 'large',
'label' => array( 'type' => 0,
'text' => '' ),
'padding' => array( 'top' => '10px' ) ),
'menu' => array( 'type' => 'menu' ),
'collapse_button' => array( 'type' => 'collapse_button' ),
'integrated_edit_field' => array( 'field' => 'bar_code',
'type' => 'integrated_edit_field',
'orientation' => 1 ),
'integrated_edit_field1' => array( 'field' => 'product_name',
'type' => 'integrated_edit_field',
'orientation' => 0 ),
'integrated_edit_field2' => array( 'field' => 'price',
'type' => 'integrated_edit_field',
'orientation' => 1,
'padding' => array( 'top' => '8px' ),
'joined' => true,
'separated' => false ),
'logo1' => array( 'type' => 'logo' ),
'integrated_edit_field3' => array( 'field' => 'discount',
'type' => 'integrated_edit_field',
'orientation' => 1,
'updateOnEdit' => false ),
'integrated_edit_field6' => array( 'field' => 'category',
'type' => 'integrated_edit_field',
'orientation' => 1,
'padding' => array( 'top' => '8px' ) ),
'integrated_edit_field7' => array( 'field' => 'cost',
'type' => 'integrated_edit_field',
'orientation' => 1,
'padding' => array( 'top' => '8px' ),
'joined' => true,
'separated' => false ),
'integrated_edit_field8' => array( 'field' => 'unit',
'type' => 'integrated_edit_field',
'orientation' => 1 ),
'integrated_edit_field12' => array( 'field' => 'brand',
'type' => 'integrated_edit_field',
'orientation' => 1 ),
'integrated_edit_field14' => array( 'field' => 'tax',
'type' => 'integrated_edit_field',
'orientation' => 1,
'joined' => true,
'separated' => false ),
'integrated_edit_field4' => array( 'field' => 'branch_code',
'type' => 'edit_field',
'orientation' => 0,
'joined' => false,
'separated' => true,
'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' ),
'integrated_edit_field10' => array( 'field' => 'reorder_level',
'type' => 'integrated_edit_field',
'orientation' => 1,
'padding' => array( 'top' => '8px' ) ),
'integrated_edit_field13' => array( 'field' => 'image',
'type' => 'integrated_edit_field',
'orientation' => 1,
'updateOnEdit' => false ),
'integrated_edit_field15' => array( 'field' => 'hide',
'type' => 'integrated_edit_field',
'orientation' => 1,
'updateOnEdit' => false ),
'integrated_edit_field5' => array( 'field' => 'newP',
'type' => 'integrated_edit_field',
'orientation' => 0 ),
'expand_button' => array( 'type' => 'expand_button' ) ),
'dbProps' => array(  ),
'version' => 4 );
		?>