<?php
global $runnerTableSettings;
$runnerTableSettings['users'] = array(
	'name' => 'users',
	'shortName' => 'users',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'users',
	'afterAddDetail' => 'users',
	'detailsBadgeColor' => '9acd32',
	'sql' => 'SELECT
	id,
	guid,
	username,
	password,
	user_type,
	business_name,
	business_address,
	business_type_id,
	address,
	region,
	city,
	barangay,
	email,
	phone,
	landline1,
	landline2,
	social_fb,
	social_twitter,
	social_insta,
	social_youtube,
	social_linkedin,
	active,
	createdAt,
	updatedAt,
	photo,
	first_name,
	middle_name,
	last_name,
	gender,
	bday,
	cover,
	created_by_admin_id,
	updated_by_admin_id
FROM
	users',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'guid' => array(
			'name' => 'guid',
			'goodName' => 'guid',
			'strField' => 'guid',
			'index' => 2,
			'type' => 129,
			'sqlExpression' => 'guid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'username' => array(
			'name' => 'username',
			'goodName' => 'username',
			'strField' => 'username',
			'index' => 3,
			'sqlExpression' => 'username',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'password' => array(
			'name' => 'password',
			'goodName' => 'password',
			'strField' => 'password',
			'index' => 4,
			'sqlExpression' => 'password',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Password' 
				) 
			),
			'tableName' => 'users' 
		),
		'user_type' => array(
			'name' => 'user_type',
			'goodName' => 'user_type',
			'strField' => 'user_type',
			'index' => 5,
			'type' => 129,
			'sqlExpression' => 'user_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 0,
					'lookupValues' => array( 
						'Supplier',
						'Customer',
						'Admin' 
					) 
				) 
			),
			'tableName' => 'users' 
		),
		'business_name' => array(
			'name' => 'business_name',
			'goodName' => 'business_name',
			'strField' => 'business_name',
			'index' => 6,
			'sqlExpression' => 'business_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'business_address' => array(
			'name' => 'business_address',
			'goodName' => 'business_address',
			'strField' => 'business_address',
			'index' => 7,
			'sqlExpression' => 'business_address',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'business_type_id' => array(
			'name' => 'business_type_id',
			'goodName' => 'business_type_id',
			'strField' => 'business_type_id',
			'index' => 8,
			'type' => 3,
			'sqlExpression' => 'business_type_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'business_type',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'name' 
				) 
			),
			'tableName' => 'users',
			'viewLinkTable' => 'business_type',
			'viewLinkLookup' => true 
		),
		'address' => array(
			'name' => 'address',
			'goodName' => 'address',
			'strField' => 'address',
			'index' => 9,
			'sqlExpression' => 'address',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'region' => array(
			'name' => 'region',
			'goodName' => 'region',
			'strField' => 'region',
			'index' => 10,
			'sqlExpression' => 'region',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'city' => array(
			'name' => 'city',
			'goodName' => 'city',
			'strField' => 'city',
			'index' => 11,
			'sqlExpression' => 'city',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'barangay' => array(
			'name' => 'barangay',
			'goodName' => 'barangay',
			'strField' => 'barangay',
			'index' => 12,
			'sqlExpression' => 'barangay',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'email' => array(
			'name' => 'email',
			'goodName' => 'email',
			'strField' => 'email',
			'index' => 13,
			'sqlExpression' => 'email',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'phone' => array(
			'name' => 'phone',
			'goodName' => 'phone',
			'strField' => 'phone',
			'index' => 14,
			'sqlExpression' => 'phone',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'landline1' => array(
			'name' => 'landline1',
			'goodName' => 'landline1',
			'strField' => 'landline1',
			'index' => 15,
			'sqlExpression' => 'landline1',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'landline2' => array(
			'name' => 'landline2',
			'goodName' => 'landline2',
			'strField' => 'landline2',
			'index' => 16,
			'sqlExpression' => 'landline2',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'social_fb' => array(
			'name' => 'social_fb',
			'goodName' => 'social_fb',
			'strField' => 'social_fb',
			'index' => 17,
			'sqlExpression' => 'social_fb',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'social_twitter' => array(
			'name' => 'social_twitter',
			'goodName' => 'social_twitter',
			'strField' => 'social_twitter',
			'index' => 18,
			'sqlExpression' => 'social_twitter',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'social_insta' => array(
			'name' => 'social_insta',
			'goodName' => 'social_insta',
			'strField' => 'social_insta',
			'index' => 19,
			'sqlExpression' => 'social_insta',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'social_youtube' => array(
			'name' => 'social_youtube',
			'goodName' => 'social_youtube',
			'strField' => 'social_youtube',
			'index' => 20,
			'sqlExpression' => 'social_youtube',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'social_linkedin' => array(
			'name' => 'social_linkedin',
			'goodName' => 'social_linkedin',
			'strField' => 'social_linkedin',
			'index' => 21,
			'sqlExpression' => 'social_linkedin',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'active' => array(
			'name' => 'active',
			'goodName' => 'active',
			'strField' => 'active',
			'index' => 22,
			'type' => 3,
			'sqlExpression' => 'active',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Checkbox',
					'defaultValue' => '1' 
				) 
			),
			'tableName' => 'users' 
		),
		'createdAt' => array(
			'name' => 'createdAt',
			'goodName' => 'createdAt',
			'strField' => 'createdAt',
			'index' => 23,
			'type' => 135,
			'sqlExpression' => 'createdAt',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'users' 
		),
		'updatedAt' => array(
			'name' => 'updatedAt',
			'goodName' => 'updatedAt',
			'strField' => 'updatedAt',
			'index' => 24,
			'type' => 135,
			'sqlExpression' => 'updatedAt',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'users' 
		),
		'photo' => array(
			'name' => 'photo',
			'goodName' => 'photo',
			'strField' => 'photo',
			'index' => 25,
			'type' => 201,
			'sqlExpression' => 'photo',
			'viewFormats' => array(
				'view' => array(
					'format' => 'File-based Image' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Document upload',
					'fileMaxNumber' => 1 
				) 
			),
			'tableName' => 'users' 
		),
		'first_name' => array(
			'name' => 'first_name',
			'goodName' => 'first_name',
			'strField' => 'first_name',
			'index' => 26,
			'sqlExpression' => 'first_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'middle_name' => array(
			'name' => 'middle_name',
			'goodName' => 'middle_name',
			'strField' => 'middle_name',
			'index' => 27,
			'sqlExpression' => 'middle_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'last_name' => array(
			'name' => 'last_name',
			'goodName' => 'last_name',
			'strField' => 'last_name',
			'index' => 28,
			'sqlExpression' => 'last_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		),
		'gender' => array(
			'name' => 'gender',
			'goodName' => 'gender',
			'strField' => 'gender',
			'index' => 29,
			'sqlExpression' => 'gender',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 0,
					'lookupValues' => array( 
						'Male',
						'Female',
						'Other' 
					) 
				) 
			),
			'tableName' => 'users' 
		),
		'bday' => array(
			'name' => 'bday',
			'goodName' => 'bday',
			'strField' => 'bday',
			'index' => 30,
			'type' => 7,
			'sqlExpression' => 'bday',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'users' 
		),
		'cover' => array(
			'name' => 'cover',
			'goodName' => 'cover',
			'strField' => 'cover',
			'index' => 31,
			'sqlExpression' => 'cover',
			'viewFormats' => array(
				'view' => array(
					'format' => 'File-based Image' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Document upload',
					'fileMaxNumber' => 1 
				) 
			),
			'tableName' => 'users' 
		),
		'created_by_admin_id' => array(
			'name' => 'created_by_admin_id',
			'goodName' => 'created_by_admin_id',
			'strField' => 'created_by_admin_id',
			'index' => 32,
			'type' => 3,
			'sqlExpression' => 'created_by_admin_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'system_users',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'ID',
					'lookupDisplayField' => 'fullname' 
				) 
			),
			'tableName' => 'users',
			'viewLinkTable' => 'system_users',
			'viewLinkLookup' => true 
		),
		'updated_by_admin_id' => array(
			'name' => 'updated_by_admin_id',
			'goodName' => 'updated_by_admin_id',
			'strField' => 'updated_by_admin_id',
			'index' => 33,
			'type' => 3,
			'sqlExpression' => 'updated_by_admin_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'users' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	guid,
	username,
	password,
	user_type,
	business_name,
	business_address,
	business_type_id,
	address,
	region,
	city,
	barangay,
	email,
	phone,
	landline1,
	landline2,
	social_fb,
	social_twitter,
	social_insta,
	social_youtube,
	social_linkedin,
	active,
	createdAt,
	updatedAt,
	photo,
	first_name,
	middle_name,
	last_name,
	gender,
	bday,
	cover,
	created_by_admin_id,
	updated_by_admin_id
FROM
	users',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'guid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'guid' 
				),
				'encrypted' => false,
				'columnName' => 'guid' 
			),
			array(
				'sql' => 'username',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'username' 
				),
				'encrypted' => false,
				'columnName' => 'username' 
			),
			array(
				'sql' => 'password',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'password' 
				),
				'encrypted' => false,
				'columnName' => 'password' 
			),
			array(
				'sql' => 'user_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'user_type' 
				),
				'encrypted' => false,
				'columnName' => 'user_type' 
			),
			array(
				'sql' => 'business_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'business_name' 
				),
				'encrypted' => false,
				'columnName' => 'business_name' 
			),
			array(
				'sql' => 'business_address',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'business_address' 
				),
				'encrypted' => false,
				'columnName' => 'business_address' 
			),
			array(
				'sql' => 'business_type_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'business_type_id' 
				),
				'encrypted' => false,
				'columnName' => 'business_type_id' 
			),
			array(
				'sql' => 'address',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'address' 
				),
				'encrypted' => false,
				'columnName' => 'address' 
			),
			array(
				'sql' => 'region',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'region' 
				),
				'encrypted' => false,
				'columnName' => 'region' 
			),
			array(
				'sql' => 'city',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'city' 
				),
				'encrypted' => false,
				'columnName' => 'city' 
			),
			array(
				'sql' => 'barangay',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'barangay' 
				),
				'encrypted' => false,
				'columnName' => 'barangay' 
			),
			array(
				'sql' => 'email',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'email' 
				),
				'encrypted' => false,
				'columnName' => 'email' 
			),
			array(
				'sql' => 'phone',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'phone' 
				),
				'encrypted' => false,
				'columnName' => 'phone' 
			),
			array(
				'sql' => 'landline1',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'landline1' 
				),
				'encrypted' => false,
				'columnName' => 'landline1' 
			),
			array(
				'sql' => 'landline2',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'landline2' 
				),
				'encrypted' => false,
				'columnName' => 'landline2' 
			),
			array(
				'sql' => 'social_fb',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'social_fb' 
				),
				'encrypted' => false,
				'columnName' => 'social_fb' 
			),
			array(
				'sql' => 'social_twitter',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'social_twitter' 
				),
				'encrypted' => false,
				'columnName' => 'social_twitter' 
			),
			array(
				'sql' => 'social_insta',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'social_insta' 
				),
				'encrypted' => false,
				'columnName' => 'social_insta' 
			),
			array(
				'sql' => 'social_youtube',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'social_youtube' 
				),
				'encrypted' => false,
				'columnName' => 'social_youtube' 
			),
			array(
				'sql' => 'social_linkedin',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'social_linkedin' 
				),
				'encrypted' => false,
				'columnName' => 'social_linkedin' 
			),
			array(
				'sql' => 'active',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'active' 
				),
				'encrypted' => false,
				'columnName' => 'active' 
			),
			array(
				'sql' => 'createdAt',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'createdAt' 
				),
				'encrypted' => false,
				'columnName' => 'createdAt' 
			),
			array(
				'sql' => 'updatedAt',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'updatedAt' 
				),
				'encrypted' => false,
				'columnName' => 'updatedAt' 
			),
			array(
				'sql' => 'photo',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'photo' 
				),
				'encrypted' => false,
				'columnName' => 'photo' 
			),
			array(
				'sql' => 'first_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'first_name' 
				),
				'encrypted' => false,
				'columnName' => 'first_name' 
			),
			array(
				'sql' => 'middle_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'middle_name' 
				),
				'encrypted' => false,
				'columnName' => 'middle_name' 
			),
			array(
				'sql' => 'last_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'last_name' 
				),
				'encrypted' => false,
				'columnName' => 'last_name' 
			),
			array(
				'sql' => 'gender',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'gender' 
				),
				'encrypted' => false,
				'columnName' => 'gender' 
			),
			array(
				'sql' => 'bday',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'bday' 
				),
				'encrypted' => false,
				'columnName' => 'bday' 
			),
			array(
				'sql' => 'cover',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'cover' 
				),
				'encrypted' => false,
				'columnName' => 'cover' 
			),
			array(
				'sql' => 'created_by_admin_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'created_by_admin_id' 
				),
				'encrypted' => false,
				'columnName' => 'created_by_admin_id' 
			),
			array(
				'sql' => 'updated_by_admin_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'users',
					'name' => 'updated_by_admin_id' 
				),
				'encrypted' => false,
				'columnName' => 'updated_by_admin_id' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'users',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'users',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'guid',
						'username',
						'password',
						'user_type',
						'business_name',
						'business_address',
						'business_type_id',
						'address',
						'region',
						'city',
						'barangay',
						'email',
						'phone',
						'landline1',
						'landline2',
						'social_fb',
						'social_twitter',
						'social_insta',
						'social_youtube',
						'social_linkedin',
						'active',
						'createdAt',
						'updatedAt',
						'photo',
						'first_name',
						'middle_name',
						'last_name',
						'gender',
						'bday',
						'cover',
						'created_by_admin_id',
						'updated_by_admin_id' 
					),
					'name' => 'users' 
				),
				'joinOn' => array(
					'sql' => '',
					'parsed' => false,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => null 
				),
				'joinList' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						 
					),
					'field2' => array( 
						 
					) 
				),
				'link' => 0 
			) 
		),
		'where' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'groupBy' => array( 
			 
		),
		'having' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'orderBy' => array( 
			 
		),
		'colsIndex' => array( 
			array(
				'fieldIndex' => 0,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 1,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 2,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 3,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 4,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 5,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 6,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 7,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 8,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 9,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 10,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 11,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 12,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 13,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 14,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 15,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 16,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 17,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 18,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 19,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 20,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 21,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 22,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 23,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 24,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 25,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 26,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 27,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 28,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 29,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 30,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 31,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 32,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	guid,
	username,
	password,
	user_type,
	business_name,
	business_address,
	business_type_id,
	address,
	region,
	city,
	barangay,
	email,
	phone,
	landline1,
	landline2,
	social_fb,
	social_twitter,
	social_insta,
	social_youtube,
	social_linkedin,
	active,
	createdAt,
	updatedAt,
	photo,
	first_name,
	middle_name,
	last_name,
	gender,
	bday,
	cover,
	created_by_admin_id,
	updated_by_admin_id',
		'fromListSql' => 'FROM
	users',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'originalTable' => 'users',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'guid',
			'username',
			'password',
			'user_type',
			'business_name',
			'business_address',
			'business_type_id',
			'address',
			'region',
			'city',
			'barangay',
			'email',
			'phone',
			'landline1',
			'landline2',
			'social_fb',
			'social_twitter',
			'social_insta',
			'social_youtube',
			'social_linkedin',
			'active',
			'createdAt',
			'updatedAt',
			'photo',
			'first_name',
			'middle_name',
			'last_name',
			'gender',
			'bday',
			'cover',
			'created_by_admin_id',
			'updated_by_admin_id' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'guid',
			'username',
			'password',
			'user_type',
			'business_name',
			'business_address',
			'business_type_id',
			'address',
			'region',
			'city',
			'barangay',
			'email',
			'phone',
			'landline1',
			'landline2',
			'social_fb',
			'social_twitter',
			'social_insta',
			'social_youtube',
			'social_linkedin',
			'active',
			'createdAt',
			'updatedAt',
			'photo',
			'first_name',
			'middle_name',
			'last_name',
			'gender',
			'bday',
			'cover',
			'created_by_admin_id',
			'updated_by_admin_id' 
		) 
	),
	'connId' => 'conn',
	'clickActions' => array(
		'row' => array(
			'action' => 'noaction' 
		),
		'fields' => array(
			 
		) 
	),
	'geoCoding' => array(
		'enabled' => false,
		'latField' => '',
		'lonField' => '',
		'addressFields' => array( 
			 
		) 
	),
	'whereTabs' => array( 
		 
	),
	'labels' => array(
		 
	),
	'chartSettings' => array(
		 
	),
	'dataSourceOperations' => array(
		 
	),
	'calendarSettings' => array(
		'categoryColors' => array( 
			 
		) 
	),
	'ganttSettings' => array(
		'categoryColors' => array( 
			 
		) 
	) 
);

global $runnerTableLabels;
if( mlang_getcurrentlang() === 'English' ) {
	$runnerTableLabels['users'] = array(
	'tableCaption' => 'Users',
	'fieldLabels' => array(
		'id' => 'Id',
		'guid' => 'Guid',
		'username' => 'Username',
		'password' => 'Password',
		'user_type' => 'User Type',
		'business_name' => 'Business Name',
		'business_address' => 'Business Address',
		'business_type_id' => 'Business Type Id',
		'address' => 'Address',
		'region' => 'Region',
		'city' => 'City',
		'barangay' => 'Barangay',
		'email' => 'Email',
		'phone' => 'Phone',
		'landline1' => 'Landline1',
		'landline2' => 'Landline2',
		'social_fb' => 'Social Fb',
		'social_twitter' => 'Social Twitter',
		'social_insta' => 'Social Insta',
		'social_youtube' => 'Social Youtube',
		'social_linkedin' => 'Social Linkedin',
		'active' => 'Active',
		'createdAt' => 'Created At',
		'updatedAt' => 'Updated At',
		'photo' => 'Photo',
		'first_name' => 'First Name',
		'middle_name' => 'Middle Name',
		'last_name' => 'Last Name',
		'gender' => 'Gender',
		'bday' => 'Bday',
		'cover' => 'Cover',
		'created_by_admin_id' => 'Created By Admin Id',
		'updated_by_admin_id' => 'Updated By Admin Id' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'guid' => '',
		'username' => '',
		'password' => '',
		'user_type' => '',
		'business_name' => '',
		'business_address' => '',
		'business_type_id' => '',
		'address' => '',
		'region' => '',
		'city' => '',
		'barangay' => '',
		'email' => '',
		'phone' => '',
		'landline1' => '',
		'landline2' => '',
		'social_fb' => '',
		'social_twitter' => '',
		'social_insta' => '',
		'social_youtube' => '',
		'social_linkedin' => '',
		'active' => '',
		'createdAt' => '',
		'updatedAt' => '',
		'photo' => '',
		'first_name' => '',
		'middle_name' => '',
		'last_name' => '',
		'gender' => '',
		'bday' => '',
		'cover' => '',
		'created_by_admin_id' => '',
		'updated_by_admin_id' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'guid' => '',
		'username' => '',
		'password' => '',
		'user_type' => '',
		'business_name' => '',
		'business_address' => '',
		'business_type_id' => '',
		'address' => '',
		'region' => '',
		'city' => '',
		'barangay' => '',
		'email' => '',
		'phone' => '',
		'landline1' => '',
		'landline2' => '',
		'social_fb' => '',
		'social_twitter' => '',
		'social_insta' => '',
		'social_youtube' => '',
		'social_linkedin' => '',
		'active' => '',
		'createdAt' => '',
		'updatedAt' => '',
		'photo' => '',
		'first_name' => '',
		'middle_name' => '',
		'last_name' => '',
		'gender' => '',
		'bday' => '',
		'cover' => '',
		'created_by_admin_id' => '',
		'updated_by_admin_id' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>