<?php
require_once(getabspath("classes/cipherer.php"));
$tdatasenuc_nucleo = array();
	$tdatasenuc_nucleo[".NumberOfChars"] = 80; 
	$tdatasenuc_nucleo[".ShortName"] = "senuc_nucleo";
	$tdatasenuc_nucleo[".OwnerID"] = "id";
	$tdatasenuc_nucleo[".OriginalTable"] = "senuc_nucleo";

//	field labels
$fieldLabelssenuc_nucleo = array();
if(mlang_getcurrentlang()=="Portuguese(Brazil)")
{
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"] = array();
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"] = array();
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["id"] = "Id";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["id"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["login"] = "Login";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["login"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["senha"] = "Senha";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["senha"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["nome"] = "Nome";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["nome"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["responsavel"] = "Responsavel";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["responsavel"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["endereco"] = "Endereco";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["endereco"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["cep"] = "Cep";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["cep"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["estado"] = "Estado";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["estado"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["cidade"] = "Cidade";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["cidade"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["tipo"] = "Tipo";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["tipo"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["site"] = "Site";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["site"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["email"] = "Email";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["email"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["telefone"] = "Telefone";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["telefone"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["celular"] = "Celular";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["celular"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["operadora"] = "Operadora";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["operadora"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["data_inicio"] = "Data Inicio";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["data_inicio"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["observacao"] = "Observacao";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["observacao"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["prepara_para"] = "Prepara Para";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["prepara_para"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["funciona_em"] = "Funciona Em";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["funciona_em"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["ativo"] = "Ativo";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["ativo"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["motivo"] = "Motivo";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["motivo"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["id_mdl"] = "Id Mdl";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["id_mdl"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["meta_funcionamento"] = "Meta Funcionamento";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["meta_funcionamento"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["meta_alunos"] = "Meta Alunos";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["meta_alunos"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["limite_alunos_por_coordenador"] = "Limite Alunos Por Coordenador";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["limite_alunos_por_coordenador"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["min_presenca_coordenador"] = "Min Presenca Coordenador";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["min_presenca_coordenador"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["min_presenca_professor"] = "Min Presenca Professor";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["min_presenca_professor"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["min_presenca_aluno"] = "Min Presenca Aluno";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["min_presenca_aluno"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["min_atividades"] = "Min Atividades";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["min_atividades"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["data_ultimo_score"] = "Data Ultimo Score";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["data_ultimo_score"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["ultimo_score"] = "Ultimo Score";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["ultimo_score"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["idregional"] = "Idregional";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["idregional"] = "";
	$fieldLabelssenuc_nucleo["Portuguese(Brazil)"]["id_nucleo"] = "Id Nucleo";
	$fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]["id_nucleo"] = "";
	if (count($fieldToolTipssenuc_nucleo["Portuguese(Brazil)"]))
		$tdatasenuc_nucleo[".isUseToolTips"] = true;
}
	
	
	$tdatasenuc_nucleo[".NCSearch"] = true;



$tdatasenuc_nucleo[".shortTableName"] = "senuc_nucleo";
$tdatasenuc_nucleo[".nSecOptions"] = 1;
$tdatasenuc_nucleo[".recsPerRowList"] = 1;
$tdatasenuc_nucleo[".mainTableOwnerID"] = "id";
$tdatasenuc_nucleo[".moveNext"] = 1;
$tdatasenuc_nucleo[".nType"] = 0;

$tdatasenuc_nucleo[".strOriginalTableName"] = "senuc_nucleo";




$tdatasenuc_nucleo[".showAddInPopup"] = true;

$tdatasenuc_nucleo[".showEditInPopup"] = true;

$tdatasenuc_nucleo[".showViewInPopup"] = true;

$tdatasenuc_nucleo[".fieldsForRegister"] = array();

$tdatasenuc_nucleo[".listAjax"] = false;

	$tdatasenuc_nucleo[".audit"] = false;

	$tdatasenuc_nucleo[".locking"] = false;

$tdatasenuc_nucleo[".listIcons"] = true;
$tdatasenuc_nucleo[".edit"] = true;
$tdatasenuc_nucleo[".view"] = true;

$tdatasenuc_nucleo[".exportTo"] = true;

$tdatasenuc_nucleo[".printFriendly"] = true;


$tdatasenuc_nucleo[".showSimpleSearchOptions"] = false;

$tdatasenuc_nucleo[".showSearchPanel"] = true;

if (isMobile())
	$tdatasenuc_nucleo[".isUseAjaxSuggest"] = false;
else 
	$tdatasenuc_nucleo[".isUseAjaxSuggest"] = true;

$tdatasenuc_nucleo[".rowHighlite"] = true;

// button handlers file names

$tdatasenuc_nucleo[".addPageEvents"] = true;

// use timepicker for search panel
$tdatasenuc_nucleo[".isUseTimeForSearch"] = false;



$tdatasenuc_nucleo[".useDetailsPreview"] = true;

$tdatasenuc_nucleo[".allSearchFields"] = array();

$tdatasenuc_nucleo[".allSearchFields"][] = "nome";
$tdatasenuc_nucleo[".allSearchFields"][] = "id";
$tdatasenuc_nucleo[".allSearchFields"][] = "senha";
$tdatasenuc_nucleo[".allSearchFields"][] = "login";
$tdatasenuc_nucleo[".allSearchFields"][] = "endereco";
$tdatasenuc_nucleo[".allSearchFields"][] = "cep";
$tdatasenuc_nucleo[".allSearchFields"][] = "estado";
$tdatasenuc_nucleo[".allSearchFields"][] = "cidade";
$tdatasenuc_nucleo[".allSearchFields"][] = "tipo";
$tdatasenuc_nucleo[".allSearchFields"][] = "data_inicio";
$tdatasenuc_nucleo[".allSearchFields"][] = "observacao";
$tdatasenuc_nucleo[".allSearchFields"][] = "prepara_para";
$tdatasenuc_nucleo[".allSearchFields"][] = "funciona_em";
$tdatasenuc_nucleo[".allSearchFields"][] = "ativo";
$tdatasenuc_nucleo[".allSearchFields"][] = "motivo";
$tdatasenuc_nucleo[".allSearchFields"][] = "responsavel";
$tdatasenuc_nucleo[".allSearchFields"][] = "site";
$tdatasenuc_nucleo[".allSearchFields"][] = "email";
$tdatasenuc_nucleo[".allSearchFields"][] = "telefone";
$tdatasenuc_nucleo[".allSearchFields"][] = "celular";
$tdatasenuc_nucleo[".allSearchFields"][] = "operadora";
$tdatasenuc_nucleo[".allSearchFields"][] = "meta_funcionamento";
$tdatasenuc_nucleo[".allSearchFields"][] = "meta_alunos";
$tdatasenuc_nucleo[".allSearchFields"][] = "limite_alunos_por_coordenador";
$tdatasenuc_nucleo[".allSearchFields"][] = "min_presenca_coordenador";
$tdatasenuc_nucleo[".allSearchFields"][] = "id_mdl";
$tdatasenuc_nucleo[".allSearchFields"][] = "min_presenca_professor";
$tdatasenuc_nucleo[".allSearchFields"][] = "data_ultimo_score";
$tdatasenuc_nucleo[".allSearchFields"][] = "min_presenca_aluno";
$tdatasenuc_nucleo[".allSearchFields"][] = "ultimo_score";
$tdatasenuc_nucleo[".allSearchFields"][] = "min_atividades";
$tdatasenuc_nucleo[".allSearchFields"][] = "idregional";

$tdatasenuc_nucleo[".googleLikeFields"][] = "idregional";
$tdatasenuc_nucleo[".googleLikeFields"][] = "nome";
$tdatasenuc_nucleo[".googleLikeFields"][] = "responsavel";
$tdatasenuc_nucleo[".googleLikeFields"][] = "estado";
$tdatasenuc_nucleo[".googleLikeFields"][] = "cidade";
$tdatasenuc_nucleo[".googleLikeFields"][] = "tipo";
$tdatasenuc_nucleo[".googleLikeFields"][] = "data_inicio";
$tdatasenuc_nucleo[".googleLikeFields"][] = "observacao";
$tdatasenuc_nucleo[".googleLikeFields"][] = "prepara_para";
$tdatasenuc_nucleo[".googleLikeFields"][] = "funciona_em";
$tdatasenuc_nucleo[".googleLikeFields"][] = "ativo";
$tdatasenuc_nucleo[".googleLikeFields"][] = "motivo";


$tdatasenuc_nucleo[".advSearchFields"][] = "nome";
$tdatasenuc_nucleo[".advSearchFields"][] = "id";
$tdatasenuc_nucleo[".advSearchFields"][] = "senha";
$tdatasenuc_nucleo[".advSearchFields"][] = "login";
$tdatasenuc_nucleo[".advSearchFields"][] = "endereco";
$tdatasenuc_nucleo[".advSearchFields"][] = "cep";
$tdatasenuc_nucleo[".advSearchFields"][] = "estado";
$tdatasenuc_nucleo[".advSearchFields"][] = "cidade";
$tdatasenuc_nucleo[".advSearchFields"][] = "tipo";
$tdatasenuc_nucleo[".advSearchFields"][] = "data_inicio";
$tdatasenuc_nucleo[".advSearchFields"][] = "observacao";
$tdatasenuc_nucleo[".advSearchFields"][] = "prepara_para";
$tdatasenuc_nucleo[".advSearchFields"][] = "funciona_em";
$tdatasenuc_nucleo[".advSearchFields"][] = "ativo";
$tdatasenuc_nucleo[".advSearchFields"][] = "motivo";
$tdatasenuc_nucleo[".advSearchFields"][] = "responsavel";
$tdatasenuc_nucleo[".advSearchFields"][] = "site";
$tdatasenuc_nucleo[".advSearchFields"][] = "email";
$tdatasenuc_nucleo[".advSearchFields"][] = "telefone";
$tdatasenuc_nucleo[".advSearchFields"][] = "celular";
$tdatasenuc_nucleo[".advSearchFields"][] = "operadora";
$tdatasenuc_nucleo[".advSearchFields"][] = "meta_funcionamento";
$tdatasenuc_nucleo[".advSearchFields"][] = "meta_alunos";
$tdatasenuc_nucleo[".advSearchFields"][] = "limite_alunos_por_coordenador";
$tdatasenuc_nucleo[".advSearchFields"][] = "min_presenca_coordenador";
$tdatasenuc_nucleo[".advSearchFields"][] = "id_mdl";
$tdatasenuc_nucleo[".advSearchFields"][] = "min_presenca_professor";
$tdatasenuc_nucleo[".advSearchFields"][] = "data_ultimo_score";
$tdatasenuc_nucleo[".advSearchFields"][] = "min_presenca_aluno";
$tdatasenuc_nucleo[".advSearchFields"][] = "ultimo_score";
$tdatasenuc_nucleo[".advSearchFields"][] = "min_atividades";
$tdatasenuc_nucleo[".advSearchFields"][] = "idregional";

$tdatasenuc_nucleo[".isTableType"] = "list";

	



// Access doesn't support subqueries from the same table as main
											


$tdatasenuc_nucleo[".pageSize"] = 20;

$tstrOrderBy = "ORDER BY ativo DESC";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdatasenuc_nucleo[".strOrderBy"] = $tstrOrderBy;

$tdatasenuc_nucleo[".orderindexes"] = array();
$tdatasenuc_nucleo[".orderindexes"][] = array(21, (0 ? "ASC" : "DESC"), "ativo");

$tdatasenuc_nucleo[".sqlHead"] = "SELECT id,  idregional,  login,  senha,  nome,  responsavel,  endereco,  cep,  estado,  cidade,  tipo,  site,  email,  telefone,  celular,  operadora,  data_inicio,  observacao,  prepara_para,  funciona_em,  ativo,  motivo,  id_mdl,  meta_funcionamento,  meta_alunos,  limite_alunos_por_coordenador,  min_presenca_coordenador,  min_presenca_professor,  min_presenca_aluno,  min_atividades,  data_ultimo_score,  ultimo_score";
$tdatasenuc_nucleo[".sqlFrom"] = "FROM senuc_nucleo";
$tdatasenuc_nucleo[".sqlWhereExpr"] = "";
$tdatasenuc_nucleo[".sqlTail"] = "";

//fill array of tabs for edit page
$arrEditTabs = array();
	$tabFields = array();
	$tabFields[] = "nome";
	$tabFields[] = "login";
	$tabFields[] = "endereco";
	$tabFields[] = "cep";
	$tabFields[] = "estado";
	$tabFields[] = "cidade";
	$tabFields[] = "tipo";
	$tabFields[] = "data_inicio";
	$tabFields[] = "observacao";
	$tabFields[] = "prepara_para";
	$tabFields[] = "funciona_em";
	$tabFields[] = "ativo";
	$tabFields[] = "motivo";
$arrEditTabs[] = array('tabId'=>'Informa__es_Gerais1',
					   'tabName'=>"Informações Gerais",
					   'nType'=>'0',
					   'nOrder'=>1,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "responsavel";
	$tabFields[] = "site";
	$tabFields[] = "email";
	$tabFields[] = "telefone";
	$tabFields[] = "celular";
	$tabFields[] = "operadora";
$arrEditTabs[] = array('tabId'=>'Informa__es_de_Contato1',
					   'tabName'=>"Informações de Contato",
					   'nType'=>'0',
					   'nOrder'=>16,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "meta_funcionamento";
	$tabFields[] = "meta_alunos";
	$tabFields[] = "limite_alunos_por_coordenador";
	$tabFields[] = "min_presenca_coordenador";
	$tabFields[] = "min_presenca_professor";
	$tabFields[] = "min_presenca_aluno";
	$tabFields[] = "min_atividades";
$arrEditTabs[] = array('tabId'=>'Configura__es1',
					   'tabName'=>"Configurações",
					   'nType'=>'0',
					   'nOrder'=>23,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
$tdatasenuc_nucleo[".arrEditTabs"] = $arrEditTabs;

//fill array of tabs for add page
$arrAddTabs = array();
	$tabFields = array();
	$tabFields[] = "nome";
	$tabFields[] = "login";
	$tabFields[] = "endereco";
	$tabFields[] = "cep";
	$tabFields[] = "estado";
	$tabFields[] = "cidade";
	$tabFields[] = "tipo";
	$tabFields[] = "data_inicio";
	$tabFields[] = "observacao";
	$tabFields[] = "prepara_para";
	$tabFields[] = "funciona_em";
	$tabFields[] = "ativo";
	$tabFields[] = "motivo";
$arrAddTabs[] = array('tabId'=>'Informa__es_Gerais1',
					  'tabName'=>"Informações Gerais",
					  'nType'=>'0',
					  'nOrder'=>1,
					  'tabGroup'=>1,
					  'arrFields'=> $tabFields,
					  'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "responsavel";
	$tabFields[] = "site";
	$tabFields[] = "email";
	$tabFields[] = "telefone";
	$tabFields[] = "celular";
	$tabFields[] = "operadora";
$arrAddTabs[] = array('tabId'=>'Informa__es_de_Contato1',
					  'tabName'=>"Informações de Contato",
					  'nType'=>'0',
					  'nOrder'=>16,
					  'tabGroup'=>1,
					  'arrFields'=> $tabFields,
					  'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "meta_funcionamento";
	$tabFields[] = "meta_alunos";
	$tabFields[] = "limite_alunos_por_coordenador";
	$tabFields[] = "min_presenca_coordenador";
	$tabFields[] = "min_presenca_professor";
	$tabFields[] = "min_presenca_aluno";
	$tabFields[] = "min_atividades";
$arrAddTabs[] = array('tabId'=>'Configura__es1',
					  'tabName'=>"Configurações",
					  'nType'=>'0',
					  'nOrder'=>23,
					  'tabGroup'=>1,
					  'arrFields'=> $tabFields,
					  'expandSec'=>0);
$tdatasenuc_nucleo[".arrAddTabs"] = $arrAddTabs;

//fill array of tabs for view page
$arrViewTabs = array();
	$tabFields = array();
	$tabFields[] = "nome";
	$tabFields[] = "login";
	$tabFields[] = "endereco";
	$tabFields[] = "cep";
	$tabFields[] = "estado";
	$tabFields[] = "cidade";
	$tabFields[] = "tipo";
	$tabFields[] = "data_inicio";
	$tabFields[] = "observacao";
	$tabFields[] = "prepara_para";
	$tabFields[] = "funciona_em";
	$tabFields[] = "ativo";
	$tabFields[] = "motivo";
$arrViewTabs[] = array('tabId'=>'Informa__es_Gerais1',
					   'tabName'=>"Informações Gerais",
					   'nType'=>'0',
					   'nOrder'=>1,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "responsavel";
	$tabFields[] = "site";
	$tabFields[] = "email";
	$tabFields[] = "telefone";
	$tabFields[] = "celular";
	$tabFields[] = "operadora";
$arrViewTabs[] = array('tabId'=>'Informa__es_de_Contato1',
					   'tabName'=>"Informações de Contato",
					   'nType'=>'0',
					   'nOrder'=>16,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "meta_funcionamento";
	$tabFields[] = "meta_alunos";
	$tabFields[] = "limite_alunos_por_coordenador";
	$tabFields[] = "min_presenca_coordenador";
	$tabFields[] = "min_presenca_professor";
	$tabFields[] = "min_presenca_aluno";
	$tabFields[] = "min_atividades";
$arrViewTabs[] = array('tabId'=>'Configura__es1',
					   'tabName'=>"Configurações",
					   'nType'=>'0',
					   'nOrder'=>23,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
$tdatasenuc_nucleo[".arrViewTabs"] = $arrViewTabs;

//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdatasenuc_nucleo[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdatasenuc_nucleo[".arrGroupsPerPage"] = $arrGPP;

$tableKeyssenuc_nucleo = array();
$tableKeyssenuc_nucleo[] = "id";
$tdatasenuc_nucleo[".Keys"] = $tableKeyssenuc_nucleo;

$tdatasenuc_nucleo[".listFields"] = array();
$tdatasenuc_nucleo[".listFields"][] = "nome";
$tdatasenuc_nucleo[".listFields"][] = "login";
$tdatasenuc_nucleo[".listFields"][] = "endereco";
$tdatasenuc_nucleo[".listFields"][] = "cep";
$tdatasenuc_nucleo[".listFields"][] = "estado";
$tdatasenuc_nucleo[".listFields"][] = "cidade";
$tdatasenuc_nucleo[".listFields"][] = "tipo";
$tdatasenuc_nucleo[".listFields"][] = "data_inicio";
$tdatasenuc_nucleo[".listFields"][] = "observacao";
$tdatasenuc_nucleo[".listFields"][] = "prepara_para";
$tdatasenuc_nucleo[".listFields"][] = "funciona_em";
$tdatasenuc_nucleo[".listFields"][] = "ativo";
$tdatasenuc_nucleo[".listFields"][] = "motivo";
$tdatasenuc_nucleo[".listFields"][] = "responsavel";
$tdatasenuc_nucleo[".listFields"][] = "site";
$tdatasenuc_nucleo[".listFields"][] = "email";
$tdatasenuc_nucleo[".listFields"][] = "telefone";
$tdatasenuc_nucleo[".listFields"][] = "celular";
$tdatasenuc_nucleo[".listFields"][] = "operadora";
$tdatasenuc_nucleo[".listFields"][] = "meta_funcionamento";
$tdatasenuc_nucleo[".listFields"][] = "meta_alunos";
$tdatasenuc_nucleo[".listFields"][] = "limite_alunos_por_coordenador";
$tdatasenuc_nucleo[".listFields"][] = "min_presenca_coordenador";
$tdatasenuc_nucleo[".listFields"][] = "min_presenca_professor";
$tdatasenuc_nucleo[".listFields"][] = "data_ultimo_score";
$tdatasenuc_nucleo[".listFields"][] = "min_presenca_aluno";
$tdatasenuc_nucleo[".listFields"][] = "ultimo_score";
$tdatasenuc_nucleo[".listFields"][] = "min_atividades";
$tdatasenuc_nucleo[".listFields"][] = "idregional";

$tdatasenuc_nucleo[".viewFields"] = array();
$tdatasenuc_nucleo[".viewFields"][] = "nome";
$tdatasenuc_nucleo[".viewFields"][] = "login";
$tdatasenuc_nucleo[".viewFields"][] = "endereco";
$tdatasenuc_nucleo[".viewFields"][] = "cep";
$tdatasenuc_nucleo[".viewFields"][] = "estado";
$tdatasenuc_nucleo[".viewFields"][] = "cidade";
$tdatasenuc_nucleo[".viewFields"][] = "tipo";
$tdatasenuc_nucleo[".viewFields"][] = "data_inicio";
$tdatasenuc_nucleo[".viewFields"][] = "observacao";
$tdatasenuc_nucleo[".viewFields"][] = "prepara_para";
$tdatasenuc_nucleo[".viewFields"][] = "funciona_em";
$tdatasenuc_nucleo[".viewFields"][] = "ativo";
$tdatasenuc_nucleo[".viewFields"][] = "motivo";
$tdatasenuc_nucleo[".viewFields"][] = "responsavel";
$tdatasenuc_nucleo[".viewFields"][] = "site";
$tdatasenuc_nucleo[".viewFields"][] = "email";
$tdatasenuc_nucleo[".viewFields"][] = "telefone";
$tdatasenuc_nucleo[".viewFields"][] = "celular";
$tdatasenuc_nucleo[".viewFields"][] = "operadora";
$tdatasenuc_nucleo[".viewFields"][] = "meta_funcionamento";
$tdatasenuc_nucleo[".viewFields"][] = "meta_alunos";
$tdatasenuc_nucleo[".viewFields"][] = "limite_alunos_por_coordenador";
$tdatasenuc_nucleo[".viewFields"][] = "min_presenca_coordenador";
$tdatasenuc_nucleo[".viewFields"][] = "data_ultimo_score";
$tdatasenuc_nucleo[".viewFields"][] = "min_presenca_professor";
$tdatasenuc_nucleo[".viewFields"][] = "ultimo_score";
$tdatasenuc_nucleo[".viewFields"][] = "min_presenca_aluno";
$tdatasenuc_nucleo[".viewFields"][] = "min_atividades";

$tdatasenuc_nucleo[".addFields"] = array();

$tdatasenuc_nucleo[".inlineAddFields"] = array();

$tdatasenuc_nucleo[".editFields"] = array();
$tdatasenuc_nucleo[".editFields"][] = "nome";
$tdatasenuc_nucleo[".editFields"][] = "login";
$tdatasenuc_nucleo[".editFields"][] = "endereco";
$tdatasenuc_nucleo[".editFields"][] = "cep";
$tdatasenuc_nucleo[".editFields"][] = "estado";
$tdatasenuc_nucleo[".editFields"][] = "cidade";
$tdatasenuc_nucleo[".editFields"][] = "tipo";
$tdatasenuc_nucleo[".editFields"][] = "data_inicio";
$tdatasenuc_nucleo[".editFields"][] = "observacao";
$tdatasenuc_nucleo[".editFields"][] = "prepara_para";
$tdatasenuc_nucleo[".editFields"][] = "funciona_em";
$tdatasenuc_nucleo[".editFields"][] = "ativo";
$tdatasenuc_nucleo[".editFields"][] = "motivo";
$tdatasenuc_nucleo[".editFields"][] = "responsavel";
$tdatasenuc_nucleo[".editFields"][] = "site";
$tdatasenuc_nucleo[".editFields"][] = "email";
$tdatasenuc_nucleo[".editFields"][] = "telefone";
$tdatasenuc_nucleo[".editFields"][] = "celular";
$tdatasenuc_nucleo[".editFields"][] = "operadora";
$tdatasenuc_nucleo[".editFields"][] = "meta_funcionamento";
$tdatasenuc_nucleo[".editFields"][] = "meta_alunos";
$tdatasenuc_nucleo[".editFields"][] = "limite_alunos_por_coordenador";
$tdatasenuc_nucleo[".editFields"][] = "min_presenca_coordenador";
$tdatasenuc_nucleo[".editFields"][] = "min_presenca_professor";
$tdatasenuc_nucleo[".editFields"][] = "min_presenca_aluno";
$tdatasenuc_nucleo[".editFields"][] = "min_atividades";

$tdatasenuc_nucleo[".inlineEditFields"] = array();

$tdatasenuc_nucleo[".exportFields"] = array();
$tdatasenuc_nucleo[".exportFields"][] = "nome";
$tdatasenuc_nucleo[".exportFields"][] = "login";
$tdatasenuc_nucleo[".exportFields"][] = "endereco";
$tdatasenuc_nucleo[".exportFields"][] = "cep";
$tdatasenuc_nucleo[".exportFields"][] = "estado";
$tdatasenuc_nucleo[".exportFields"][] = "cidade";
$tdatasenuc_nucleo[".exportFields"][] = "tipo";
$tdatasenuc_nucleo[".exportFields"][] = "data_inicio";
$tdatasenuc_nucleo[".exportFields"][] = "observacao";
$tdatasenuc_nucleo[".exportFields"][] = "prepara_para";
$tdatasenuc_nucleo[".exportFields"][] = "funciona_em";
$tdatasenuc_nucleo[".exportFields"][] = "ativo";
$tdatasenuc_nucleo[".exportFields"][] = "motivo";
$tdatasenuc_nucleo[".exportFields"][] = "responsavel";
$tdatasenuc_nucleo[".exportFields"][] = "site";
$tdatasenuc_nucleo[".exportFields"][] = "email";
$tdatasenuc_nucleo[".exportFields"][] = "telefone";
$tdatasenuc_nucleo[".exportFields"][] = "celular";
$tdatasenuc_nucleo[".exportFields"][] = "operadora";
$tdatasenuc_nucleo[".exportFields"][] = "meta_funcionamento";
$tdatasenuc_nucleo[".exportFields"][] = "meta_alunos";
$tdatasenuc_nucleo[".exportFields"][] = "limite_alunos_por_coordenador";
$tdatasenuc_nucleo[".exportFields"][] = "min_presenca_coordenador";
$tdatasenuc_nucleo[".exportFields"][] = "min_presenca_professor";
$tdatasenuc_nucleo[".exportFields"][] = "data_ultimo_score";
$tdatasenuc_nucleo[".exportFields"][] = "min_presenca_aluno";
$tdatasenuc_nucleo[".exportFields"][] = "ultimo_score";
$tdatasenuc_nucleo[".exportFields"][] = "min_atividades";

$tdatasenuc_nucleo[".printFields"] = array();
$tdatasenuc_nucleo[".printFields"][] = "nome";
$tdatasenuc_nucleo[".printFields"][] = "login";
$tdatasenuc_nucleo[".printFields"][] = "endereco";
$tdatasenuc_nucleo[".printFields"][] = "cep";
$tdatasenuc_nucleo[".printFields"][] = "estado";
$tdatasenuc_nucleo[".printFields"][] = "cidade";
$tdatasenuc_nucleo[".printFields"][] = "tipo";
$tdatasenuc_nucleo[".printFields"][] = "data_inicio";
$tdatasenuc_nucleo[".printFields"][] = "observacao";
$tdatasenuc_nucleo[".printFields"][] = "prepara_para";
$tdatasenuc_nucleo[".printFields"][] = "funciona_em";
$tdatasenuc_nucleo[".printFields"][] = "ativo";
$tdatasenuc_nucleo[".printFields"][] = "motivo";
$tdatasenuc_nucleo[".printFields"][] = "responsavel";
$tdatasenuc_nucleo[".printFields"][] = "site";
$tdatasenuc_nucleo[".printFields"][] = "email";
$tdatasenuc_nucleo[".printFields"][] = "telefone";
$tdatasenuc_nucleo[".printFields"][] = "celular";
$tdatasenuc_nucleo[".printFields"][] = "operadora";
$tdatasenuc_nucleo[".printFields"][] = "meta_funcionamento";
$tdatasenuc_nucleo[".printFields"][] = "meta_alunos";
$tdatasenuc_nucleo[".printFields"][] = "limite_alunos_por_coordenador";
$tdatasenuc_nucleo[".printFields"][] = "min_presenca_coordenador";
$tdatasenuc_nucleo[".printFields"][] = "min_presenca_professor";
$tdatasenuc_nucleo[".printFields"][] = "data_ultimo_score";
$tdatasenuc_nucleo[".printFields"][] = "min_presenca_aluno";
$tdatasenuc_nucleo[".printFields"][] = "ultimo_score";
$tdatasenuc_nucleo[".printFields"][] = "min_atividades";

//	id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "id";
	$fdata["GoodName"] = "id";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Id"; 
	$fdata["FieldType"] = 3;
	
		$fdata["AutoInc"] = true;
	
		
		
		
		
		
		
		
		$fdata["bAdvancedSearch"] = true; 
	
		
		
		$fdata["strField"] = "id"; 
		$fdata["FullName"] = "id";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["id"] = $fdata;
//	idregional
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "idregional";
	$fdata["GoodName"] = "idregional";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Idregional"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		
		$fdata["bAdvancedSearch"] = true; 
	
		
		
		$fdata["strField"] = "idregional"; 
		$fdata["FullName"] = "idregional";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "regional";
	
		
	$edata["LookupTable"] = "regionais";
	$edata["LookupOrderBy"] = "";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["idregional"] = $fdata;
//	login
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "login";
	$fdata["GoodName"] = "login";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Login"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "login"; 
		$fdata["FullName"] = "login";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=100";
	
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["login"] = $fdata;
//	senha
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "senha";
	$fdata["GoodName"] = "senha";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Senha"; 
	$fdata["FieldType"] = 200;
	
		
		
		
		
		
		
		
		
		$fdata["bAdvancedSearch"] = true; 
	
		
		
		$fdata["strField"] = "senha"; 
		$fdata["FullName"] = "senha";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=100";
	
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["senha"] = $fdata;
//	nome
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "nome";
	$fdata["GoodName"] = "nome";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Nome"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "nome"; 
		$fdata["FullName"] = "nome";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=100";
	
		$edata["inputStyle"] = " width:280px;";
	$edata["controlWidth"] = 280;
	
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["nome"] = $fdata;
//	responsavel
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "responsavel";
	$fdata["GoodName"] = "responsavel";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Responsavel"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "responsavel"; 
		$fdata["FullName"] = "responsavel";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=100";
	
		$edata["inputStyle"] = " width:280px;";
	$edata["controlWidth"] = 280;
	
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["responsavel"] = $fdata;
//	endereco
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "endereco";
	$fdata["GoodName"] = "endereco";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Endereco"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "endereco"; 
		$fdata["FullName"] = "endereco";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=100";
	
		$edata["inputStyle"] = " width:280px;";
	$edata["controlWidth"] = 280;
	
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["endereco"] = $fdata;
//	cep
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "cep";
	$fdata["GoodName"] = "cep";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Cep"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "cep"; 
		$fdata["FullName"] = "cep";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
		$edata["strEditMask"] = "99999-999"; 

//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=15";
	
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["cep"] = $fdata;
//	estado
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "estado";
	$fdata["GoodName"] = "estado";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Estado"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "estado"; 
		$fdata["FullName"] = "estado";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "uf";
	
		
	$edata["LookupTable"] = "tb_estados";
	$edata["LookupOrderBy"] = "uf";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
			//	dependent dropdowns	
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "cidade";
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["estado"] = $fdata;
//	cidade
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "cidade";
	$fdata["GoodName"] = "cidade";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Cidade"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "cidade"; 
		$fdata["FullName"] = "cidade";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				$edata["LCType"] = 1;
			
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "nome";
	
		
	$edata["LookupTable"] = "tb_cidades";
	$edata["LookupOrderBy"] = "";
	
		
		
		$edata["UseCategory"] = true; 
	$edata["CategoryControl"] = "estado"; 
	$edata["CategoryFilter"] = "estado"; 
	
		$edata["FastType"] = true; 
	
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["cidade"] = $fdata;
//	tipo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "tipo";
	$fdata["GoodName"] = "tipo";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Tipo"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "tipo"; 
		$fdata["FullName"] = "tipo";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				$edata["LCType"] = 4;
			
		$edata["HorizontalLookup"] = true;
	
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "tipo";
	
		
	$edata["LookupTable"] = "senuc_tipo";
	$edata["LookupOrderBy"] = "";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["tipo"] = $fdata;
//	site
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "site";
	$fdata["GoodName"] = "site";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Site"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "site"; 
		$fdata["FullName"] = "site";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=100";
	
		$edata["inputStyle"] = " width:280px;";
	$edata["controlWidth"] = 280;
	
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["site"] = $fdata;
//	email
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "email";
	$fdata["GoodName"] = "email";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Email"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "email"; 
		$fdata["FullName"] = "email";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=100";
	
		$edata["inputStyle"] = " width:200px;";
	$edata["controlWidth"] = 200;
	
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Email");	
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["email"] = $fdata;
//	telefone
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "telefone";
	$fdata["GoodName"] = "telefone";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Telefone"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "telefone"; 
		$fdata["FullName"] = "telefone";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
		$edata["strEditMask"] = "(99)9999-9999"; 

//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=20";
	
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["telefone"] = $fdata;
//	celular
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "celular";
	$fdata["GoodName"] = "celular";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Celular"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "celular"; 
		$fdata["FullName"] = "celular";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
		$edata["strEditMask"] = "(99)9999-9999"; 

//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=20";
	
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["celular"] = $fdata;
//	operadora
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "operadora";
	$fdata["GoodName"] = "operadora";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Operadora"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "operadora"; 
		$fdata["FullName"] = "operadora";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "operadora";
	
		
	$edata["LookupTable"] = "operadora";
	$edata["LookupOrderBy"] = "";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["operadora"] = $fdata;
//	data_inicio
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "data_inicio";
	$fdata["GoodName"] = "data_inicio";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Data Inicio"; 
	$fdata["FieldType"] = 7;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "data_inicio"; 
		$fdata["FullName"] = "data_inicio";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "Short Date");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Date");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		$edata["DateEditType"] = 13; 
	$edata["InitialYearFactor"] = 100; 
	$edata["LastYearFactor"] = 10; 
	
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["data_inicio"] = $fdata;
//	observacao
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "observacao";
	$fdata["GoodName"] = "observacao";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Observacao"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "observacao"; 
		$fdata["FullName"] = "observacao";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=500";
	
		$edata["inputStyle"] = " width:274px;";
	$edata["controlWidth"] = 274;
	
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["observacao"] = $fdata;
//	prepara_para
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "prepara_para";
	$fdata["GoodName"] = "prepara_para";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Prepara Para"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "prepara_para"; 
		$fdata["FullName"] = "prepara_para";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				$edata["LCType"] = 3;
			
		$edata["HorizontalLookup"] = true;
	
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "preparar";
	
		
	$edata["LookupTable"] = "senuc_preparar";
	$edata["LookupOrderBy"] = "";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
		$edata["Multiselect"] = true; 
	$edata["SelectSize"] = 1;
//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["prepara_para"] = $fdata;
//	funciona_em
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "funciona_em";
	$fdata["GoodName"] = "funciona_em";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Funciona Em"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "funciona_em"; 
		$fdata["FullName"] = "funciona_em";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				$edata["LCType"] = 3;
			
		$edata["HorizontalLookup"] = true;
	
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "dia_semana";
	
		
	$edata["LookupTable"] = "semana";
	$edata["LookupOrderBy"] = "";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
		$edata["Multiselect"] = true; 
	$edata["SelectSize"] = 1;
//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["funciona_em"] = $fdata;
//	ativo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 21;
	$fdata["strName"] = "ativo";
	$fdata["GoodName"] = "ativo";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Ativo"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "ativo"; 
		$fdata["FullName"] = "ativo";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "Checkbox");
	
		
		
		
			
		
		
		
		
		
		
		
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Checkbox");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["ativo"] = $fdata;
//	motivo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 22;
	$fdata["strName"] = "motivo";
	$fdata["GoodName"] = "motivo";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Motivo"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "motivo"; 
		$fdata["FullName"] = "motivo";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "motivo";
	
		
	$edata["LookupTable"] = "senuc_motivos";
	$edata["LookupOrderBy"] = "motivo";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["motivo"] = $fdata;
//	id_mdl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 23;
	$fdata["strName"] = "id_mdl";
	$fdata["GoodName"] = "id_mdl";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Id Mdl"; 
	$fdata["FieldType"] = 3;
	
		
		
		
		
		
		
		
		
		$fdata["bAdvancedSearch"] = true; 
	
		
		
		$fdata["strField"] = "id_mdl"; 
		$fdata["FullName"] = "id_mdl";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["id_mdl"] = $fdata;
//	meta_funcionamento
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 24;
	$fdata["strName"] = "meta_funcionamento";
	$fdata["GoodName"] = "meta_funcionamento";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Meta Funcionamento"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "meta_funcionamento"; 
		$fdata["FullName"] = "meta_funcionamento";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["meta_funcionamento"] = $fdata;
//	meta_alunos
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 25;
	$fdata["strName"] = "meta_alunos";
	$fdata["GoodName"] = "meta_alunos";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Meta Alunos"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "meta_alunos"; 
		$fdata["FullName"] = "meta_alunos";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["meta_alunos"] = $fdata;
//	limite_alunos_por_coordenador
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 26;
	$fdata["strName"] = "limite_alunos_por_coordenador";
	$fdata["GoodName"] = "limite_alunos_por_coordenador";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Limite Alunos Por Coordenador"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "limite_alunos_por_coordenador"; 
		$fdata["FullName"] = "limite_alunos_por_coordenador";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["limite_alunos_por_coordenador"] = $fdata;
//	min_presenca_coordenador
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 27;
	$fdata["strName"] = "min_presenca_coordenador";
	$fdata["GoodName"] = "min_presenca_coordenador";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Min Presenca Coordenador"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_presenca_coordenador"; 
		$fdata["FullName"] = "min_presenca_coordenador";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["min_presenca_coordenador"] = $fdata;
//	min_presenca_professor
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 28;
	$fdata["strName"] = "min_presenca_professor";
	$fdata["GoodName"] = "min_presenca_professor";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Min Presenca Professor"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_presenca_professor"; 
		$fdata["FullName"] = "min_presenca_professor";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["min_presenca_professor"] = $fdata;
//	min_presenca_aluno
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 29;
	$fdata["strName"] = "min_presenca_aluno";
	$fdata["GoodName"] = "min_presenca_aluno";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Min Presenca Aluno"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_presenca_aluno"; 
		$fdata["FullName"] = "min_presenca_aluno";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["min_presenca_aluno"] = $fdata;
//	min_atividades
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 30;
	$fdata["strName"] = "min_atividades";
	$fdata["GoodName"] = "min_atividades";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Min Atividades"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		$fdata["bEditPage"] = true; 
	
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_atividades"; 
		$fdata["FullName"] = "min_atividades";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["min_atividades"] = $fdata;
//	data_ultimo_score
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 31;
	$fdata["strName"] = "data_ultimo_score";
	$fdata["GoodName"] = "data_ultimo_score";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Data Ultimo Score"; 
	$fdata["FieldType"] = 7;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "data_ultimo_score"; 
		$fdata["FullName"] = "data_ultimo_score";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "Short Date");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Date");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		$edata["DateEditType"] = 13; 
	$edata["InitialYearFactor"] = 100; 
	$edata["LastYearFactor"] = 10; 
	
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["data_ultimo_score"] = $fdata;
//	ultimo_score
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 32;
	$fdata["strName"] = "ultimo_score";
	$fdata["GoodName"] = "ultimo_score";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Ultimo Score"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "ultimo_score"; 
		$fdata["FullName"] = "ultimo_score";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_nucleo["ultimo_score"] = $fdata;

	
$tables_data["senuc_nucleo"]=&$tdatasenuc_nucleo;
$field_labels["senuc_nucleo"] = &$fieldLabelssenuc_nucleo;
$fieldToolTips["senuc_nucleo"] = &$fieldToolTipssenuc_nucleo;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["senuc_nucleo"] = array();
$dIndex = 1-1;
			$strOriginalDetailsTable="senuc_aluno";
	$detailsParam["dDataSourceTable"]="senuc_aluno";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_aluno";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="1";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="idnucleo";

$dIndex = 2-1;
			$strOriginalDetailsTable="senuc_coordenador";
	$detailsParam["dDataSourceTable"]="senuc_coordenador";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_coordenador";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="1";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="idnucleo";

$dIndex = 3-1;
			$strOriginalDetailsTable="senuc_professores";
	$detailsParam["dDataSourceTable"]="senuc_professores";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_professores";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="1";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="idnucleo";

$dIndex = 4-1;
			$strOriginalDetailsTable="senuc_login";
	$detailsParam["dDataSourceTable"]="senuc_login";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_login";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="0";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="idnucleo";

$dIndex = 5-1;
			$strOriginalDetailsTable="senuc_score";
	$detailsParam["dDataSourceTable"]="senuc_score";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_score";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="0";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="idnucleo";

$dIndex = 6-1;
			$strOriginalDetailsTable="senuc_atividades";
	$detailsParam["dDataSourceTable"]="senuc_atividades";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_atividades";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="0";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="id_nucleo";

$dIndex = 7-1;
			$strOriginalDetailsTable="senuc_plantoes";
	$detailsParam["dDataSourceTable"]="senuc_plantoes";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_plantoes";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="0";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="id_nucleo";

$dIndex = 8-1;
			$strOriginalDetailsTable="senuc_plantoes_aluno";
	$detailsParam["dDataSourceTable"]="senuc_plantoes_aluno";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_plantoes_aluno";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="0";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="id_nucleo";

$dIndex = 9-1;
			$strOriginalDetailsTable="senuc_contribuicoes";
	$detailsParam["dDataSourceTable"]="senuc_contribuicoes";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_contribuicoes";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="0";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="id_nucleo";

$dIndex = 10-1;
			$strOriginalDetailsTable="senuc_turmas";
	$detailsParam["dDataSourceTable"]="senuc_turmas";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_turmas";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="0";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="idnucleo";

$dIndex = 11-1;
			$strOriginalDetailsTable="senuc_descomplica";
	$detailsParam["dDataSourceTable"]="senuc_descomplica";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="senuc_descomplica";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="0";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["senuc_nucleo"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["senuc_nucleo"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["senuc_nucleo"][$dIndex]["detailKeys"][]="id_nucleo";

	
// tables which are master tables for current table (detail)
$masterTablesData["senuc_nucleo"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










function createSqlQuery_senuc_nucleo()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "id,  idregional,  login,  senha,  nome,  responsavel,  endereco,  cep,  estado,  cidade,  tipo,  site,  email,  telefone,  celular,  operadora,  data_inicio,  observacao,  prepara_para,  funciona_em,  ativo,  motivo,  id_mdl,  meta_funcionamento,  meta_alunos,  limite_alunos_por_coordenador,  min_presenca_coordenador,  min_presenca_professor,  min_presenca_aluno,  min_atividades,  data_ultimo_score,  ultimo_score";
$proto0["m_strFrom"] = "FROM senuc_nucleo";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "ORDER BY ativo DESC";
$proto0["m_strTail"] = "";
$proto0["cipherer"] = null;
$proto1=array();
$proto1["m_sql"] = "";
$proto1["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto1["m_column"]=$obj;
$proto1["m_contained"] = array();
$proto1["m_strCase"] = "";
$proto1["m_havingmode"] = "0";
$proto1["m_inBrackets"] = "0";
$proto1["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto1);

$proto0["m_where"] = $obj;
$proto3=array();
$proto3["m_sql"] = "";
$proto3["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto3["m_column"]=$obj;
$proto3["m_contained"] = array();
$proto3["m_strCase"] = "";
$proto3["m_havingmode"] = "0";
$proto3["m_inBrackets"] = "0";
$proto3["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto3);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto5=array();
			$obj = new SQLField(array(
	"m_strName" => "id",
	"m_strTable" => "senuc_nucleo"
));

$proto5["m_expr"]=$obj;
$proto5["m_alias"] = "";
$obj = new SQLFieldListItem($proto5);

$proto0["m_fieldlist"][]=$obj;
						$proto7=array();
			$obj = new SQLField(array(
	"m_strName" => "idregional",
	"m_strTable" => "senuc_nucleo"
));

$proto7["m_expr"]=$obj;
$proto7["m_alias"] = "";
$obj = new SQLFieldListItem($proto7);

$proto0["m_fieldlist"][]=$obj;
						$proto9=array();
			$obj = new SQLField(array(
	"m_strName" => "login",
	"m_strTable" => "senuc_nucleo"
));

$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

$proto0["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "senha",
	"m_strTable" => "senuc_nucleo"
));

$proto11["m_expr"]=$obj;
$proto11["m_alias"] = "";
$obj = new SQLFieldListItem($proto11);

$proto0["m_fieldlist"][]=$obj;
						$proto13=array();
			$obj = new SQLField(array(
	"m_strName" => "nome",
	"m_strTable" => "senuc_nucleo"
));

$proto13["m_expr"]=$obj;
$proto13["m_alias"] = "";
$obj = new SQLFieldListItem($proto13);

$proto0["m_fieldlist"][]=$obj;
						$proto15=array();
			$obj = new SQLField(array(
	"m_strName" => "responsavel",
	"m_strTable" => "senuc_nucleo"
));

$proto15["m_expr"]=$obj;
$proto15["m_alias"] = "";
$obj = new SQLFieldListItem($proto15);

$proto0["m_fieldlist"][]=$obj;
						$proto17=array();
			$obj = new SQLField(array(
	"m_strName" => "endereco",
	"m_strTable" => "senuc_nucleo"
));

$proto17["m_expr"]=$obj;
$proto17["m_alias"] = "";
$obj = new SQLFieldListItem($proto17);

$proto0["m_fieldlist"][]=$obj;
						$proto19=array();
			$obj = new SQLField(array(
	"m_strName" => "cep",
	"m_strTable" => "senuc_nucleo"
));

$proto19["m_expr"]=$obj;
$proto19["m_alias"] = "";
$obj = new SQLFieldListItem($proto19);

$proto0["m_fieldlist"][]=$obj;
						$proto21=array();
			$obj = new SQLField(array(
	"m_strName" => "estado",
	"m_strTable" => "senuc_nucleo"
));

$proto21["m_expr"]=$obj;
$proto21["m_alias"] = "";
$obj = new SQLFieldListItem($proto21);

$proto0["m_fieldlist"][]=$obj;
						$proto23=array();
			$obj = new SQLField(array(
	"m_strName" => "cidade",
	"m_strTable" => "senuc_nucleo"
));

$proto23["m_expr"]=$obj;
$proto23["m_alias"] = "";
$obj = new SQLFieldListItem($proto23);

$proto0["m_fieldlist"][]=$obj;
						$proto25=array();
			$obj = new SQLField(array(
	"m_strName" => "tipo",
	"m_strTable" => "senuc_nucleo"
));

$proto25["m_expr"]=$obj;
$proto25["m_alias"] = "";
$obj = new SQLFieldListItem($proto25);

$proto0["m_fieldlist"][]=$obj;
						$proto27=array();
			$obj = new SQLField(array(
	"m_strName" => "site",
	"m_strTable" => "senuc_nucleo"
));

$proto27["m_expr"]=$obj;
$proto27["m_alias"] = "";
$obj = new SQLFieldListItem($proto27);

$proto0["m_fieldlist"][]=$obj;
						$proto29=array();
			$obj = new SQLField(array(
	"m_strName" => "email",
	"m_strTable" => "senuc_nucleo"
));

$proto29["m_expr"]=$obj;
$proto29["m_alias"] = "";
$obj = new SQLFieldListItem($proto29);

$proto0["m_fieldlist"][]=$obj;
						$proto31=array();
			$obj = new SQLField(array(
	"m_strName" => "telefone",
	"m_strTable" => "senuc_nucleo"
));

$proto31["m_expr"]=$obj;
$proto31["m_alias"] = "";
$obj = new SQLFieldListItem($proto31);

$proto0["m_fieldlist"][]=$obj;
						$proto33=array();
			$obj = new SQLField(array(
	"m_strName" => "celular",
	"m_strTable" => "senuc_nucleo"
));

$proto33["m_expr"]=$obj;
$proto33["m_alias"] = "";
$obj = new SQLFieldListItem($proto33);

$proto0["m_fieldlist"][]=$obj;
						$proto35=array();
			$obj = new SQLField(array(
	"m_strName" => "operadora",
	"m_strTable" => "senuc_nucleo"
));

$proto35["m_expr"]=$obj;
$proto35["m_alias"] = "";
$obj = new SQLFieldListItem($proto35);

$proto0["m_fieldlist"][]=$obj;
						$proto37=array();
			$obj = new SQLField(array(
	"m_strName" => "data_inicio",
	"m_strTable" => "senuc_nucleo"
));

$proto37["m_expr"]=$obj;
$proto37["m_alias"] = "";
$obj = new SQLFieldListItem($proto37);

$proto0["m_fieldlist"][]=$obj;
						$proto39=array();
			$obj = new SQLField(array(
	"m_strName" => "observacao",
	"m_strTable" => "senuc_nucleo"
));

$proto39["m_expr"]=$obj;
$proto39["m_alias"] = "";
$obj = new SQLFieldListItem($proto39);

$proto0["m_fieldlist"][]=$obj;
						$proto41=array();
			$obj = new SQLField(array(
	"m_strName" => "prepara_para",
	"m_strTable" => "senuc_nucleo"
));

$proto41["m_expr"]=$obj;
$proto41["m_alias"] = "";
$obj = new SQLFieldListItem($proto41);

$proto0["m_fieldlist"][]=$obj;
						$proto43=array();
			$obj = new SQLField(array(
	"m_strName" => "funciona_em",
	"m_strTable" => "senuc_nucleo"
));

$proto43["m_expr"]=$obj;
$proto43["m_alias"] = "";
$obj = new SQLFieldListItem($proto43);

$proto0["m_fieldlist"][]=$obj;
						$proto45=array();
			$obj = new SQLField(array(
	"m_strName" => "ativo",
	"m_strTable" => "senuc_nucleo"
));

$proto45["m_expr"]=$obj;
$proto45["m_alias"] = "";
$obj = new SQLFieldListItem($proto45);

$proto0["m_fieldlist"][]=$obj;
						$proto47=array();
			$obj = new SQLField(array(
	"m_strName" => "motivo",
	"m_strTable" => "senuc_nucleo"
));

$proto47["m_expr"]=$obj;
$proto47["m_alias"] = "";
$obj = new SQLFieldListItem($proto47);

$proto0["m_fieldlist"][]=$obj;
						$proto49=array();
			$obj = new SQLField(array(
	"m_strName" => "id_mdl",
	"m_strTable" => "senuc_nucleo"
));

$proto49["m_expr"]=$obj;
$proto49["m_alias"] = "";
$obj = new SQLFieldListItem($proto49);

$proto0["m_fieldlist"][]=$obj;
						$proto51=array();
			$obj = new SQLField(array(
	"m_strName" => "meta_funcionamento",
	"m_strTable" => "senuc_nucleo"
));

$proto51["m_expr"]=$obj;
$proto51["m_alias"] = "";
$obj = new SQLFieldListItem($proto51);

$proto0["m_fieldlist"][]=$obj;
						$proto53=array();
			$obj = new SQLField(array(
	"m_strName" => "meta_alunos",
	"m_strTable" => "senuc_nucleo"
));

$proto53["m_expr"]=$obj;
$proto53["m_alias"] = "";
$obj = new SQLFieldListItem($proto53);

$proto0["m_fieldlist"][]=$obj;
						$proto55=array();
			$obj = new SQLField(array(
	"m_strName" => "limite_alunos_por_coordenador",
	"m_strTable" => "senuc_nucleo"
));

$proto55["m_expr"]=$obj;
$proto55["m_alias"] = "";
$obj = new SQLFieldListItem($proto55);

$proto0["m_fieldlist"][]=$obj;
						$proto57=array();
			$obj = new SQLField(array(
	"m_strName" => "min_presenca_coordenador",
	"m_strTable" => "senuc_nucleo"
));

$proto57["m_expr"]=$obj;
$proto57["m_alias"] = "";
$obj = new SQLFieldListItem($proto57);

$proto0["m_fieldlist"][]=$obj;
						$proto59=array();
			$obj = new SQLField(array(
	"m_strName" => "min_presenca_professor",
	"m_strTable" => "senuc_nucleo"
));

$proto59["m_expr"]=$obj;
$proto59["m_alias"] = "";
$obj = new SQLFieldListItem($proto59);

$proto0["m_fieldlist"][]=$obj;
						$proto61=array();
			$obj = new SQLField(array(
	"m_strName" => "min_presenca_aluno",
	"m_strTable" => "senuc_nucleo"
));

$proto61["m_expr"]=$obj;
$proto61["m_alias"] = "";
$obj = new SQLFieldListItem($proto61);

$proto0["m_fieldlist"][]=$obj;
						$proto63=array();
			$obj = new SQLField(array(
	"m_strName" => "min_atividades",
	"m_strTable" => "senuc_nucleo"
));

$proto63["m_expr"]=$obj;
$proto63["m_alias"] = "";
$obj = new SQLFieldListItem($proto63);

$proto0["m_fieldlist"][]=$obj;
						$proto65=array();
			$obj = new SQLField(array(
	"m_strName" => "data_ultimo_score",
	"m_strTable" => "senuc_nucleo"
));

$proto65["m_expr"]=$obj;
$proto65["m_alias"] = "";
$obj = new SQLFieldListItem($proto65);

$proto0["m_fieldlist"][]=$obj;
						$proto67=array();
			$obj = new SQLField(array(
	"m_strName" => "ultimo_score",
	"m_strTable" => "senuc_nucleo"
));

$proto67["m_expr"]=$obj;
$proto67["m_alias"] = "";
$obj = new SQLFieldListItem($proto67);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto69=array();
$proto69["m_link"] = "SQLL_MAIN";
			$proto70=array();
$proto70["m_strName"] = "senuc_nucleo";
$proto70["m_columns"] = array();
$proto70["m_columns"][] = "id";
$proto70["m_columns"][] = "idregional";
$proto70["m_columns"][] = "login";
$proto70["m_columns"][] = "senha";
$proto70["m_columns"][] = "nome";
$proto70["m_columns"][] = "responsavel";
$proto70["m_columns"][] = "endereco";
$proto70["m_columns"][] = "cep";
$proto70["m_columns"][] = "estado";
$proto70["m_columns"][] = "cidade";
$proto70["m_columns"][] = "tipo";
$proto70["m_columns"][] = "site";
$proto70["m_columns"][] = "email";
$proto70["m_columns"][] = "telefone";
$proto70["m_columns"][] = "celular";
$proto70["m_columns"][] = "operadora";
$proto70["m_columns"][] = "data_inicio";
$proto70["m_columns"][] = "observacao";
$proto70["m_columns"][] = "prepara_para";
$proto70["m_columns"][] = "funciona_em";
$proto70["m_columns"][] = "ativo";
$proto70["m_columns"][] = "motivo";
$proto70["m_columns"][] = "id_mdl";
$proto70["m_columns"][] = "meta_funcionamento";
$proto70["m_columns"][] = "meta_alunos";
$proto70["m_columns"][] = "limite_alunos_por_coordenador";
$proto70["m_columns"][] = "min_presenca_coordenador";
$proto70["m_columns"][] = "min_presenca_professor";
$proto70["m_columns"][] = "min_presenca_aluno";
$proto70["m_columns"][] = "min_atividades";
$proto70["m_columns"][] = "data_ultimo_score";
$proto70["m_columns"][] = "ultimo_score";
$proto70["m_columns"][] = "aceite";
$obj = new SQLTable($proto70);

$proto69["m_table"] = $obj;
$proto69["m_alias"] = "";
$proto71=array();
$proto71["m_sql"] = "";
$proto71["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto71["m_column"]=$obj;
$proto71["m_contained"] = array();
$proto71["m_strCase"] = "";
$proto71["m_havingmode"] = "0";
$proto71["m_inBrackets"] = "0";
$proto71["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto71);

$proto69["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto69);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
												$proto73=array();
						$obj = new SQLField(array(
	"m_strName" => "ativo",
	"m_strTable" => "senuc_nucleo"
));

$proto73["m_column"]=$obj;
$proto73["m_bAsc"] = 0;
$proto73["m_nColumn"] = 0;
$obj = new SQLOrderByItem($proto73);

$proto0["m_orderby"][]=$obj;					
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_senuc_nucleo = createSqlQuery_senuc_nucleo();
																																$tdatasenuc_nucleo[".sqlquery"] = $queryData_senuc_nucleo;
	
if(isset($tdatasenuc_nucleo["field2"])){
	$tdatasenuc_nucleo["field2"]["LookupTable"] = "carscars_view";
	$tdatasenuc_nucleo["field2"]["LookupOrderBy"] = "name";
	$tdatasenuc_nucleo["field2"]["LookupType"] = 4;
	$tdatasenuc_nucleo["field2"]["LinkField"] = "email";
	$tdatasenuc_nucleo["field2"]["DisplayField"] = "name";
	$tdatasenuc_nucleo[".hasCustomViewField"] = true;
}

include_once(getabspath("include/senuc_nucleo_events.php"));
$tableEvents["senuc_nucleo"] = new eventclass_senuc_nucleo;
$tdatasenuc_nucleo[".hasEvents"] = true;

$cipherer = new RunnerCipherer("senuc_nucleo");

?>