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

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



$tdatanucleos_presenciais[".shortTableName"] = "nucleos_presenciais";
$tdatanucleos_presenciais[".nSecOptions"] = 1;
$tdatanucleos_presenciais[".recsPerRowList"] = 1;
$tdatanucleos_presenciais[".mainTableOwnerID"] = "idregional";
$tdatanucleos_presenciais[".moveNext"] = 1;
$tdatanucleos_presenciais[".nType"] = 1;

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




$tdatanucleos_presenciais[".showAddInPopup"] = true;

$tdatanucleos_presenciais[".showEditInPopup"] = true;

$tdatanucleos_presenciais[".showViewInPopup"] = true;

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

$tdatanucleos_presenciais[".listAjax"] = false;

	$tdatanucleos_presenciais[".audit"] = false;

	$tdatanucleos_presenciais[".locking"] = false;

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

$tdatanucleos_presenciais[".exportTo"] = true;

$tdatanucleos_presenciais[".printFriendly"] = true;


$tdatanucleos_presenciais[".showSimpleSearchOptions"] = false;

$tdatanucleos_presenciais[".showSearchPanel"] = true;

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

$tdatanucleos_presenciais[".rowHighlite"] = true;

// button handlers file names

$tdatanucleos_presenciais[".addPageEvents"] = true;

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



$tdatanucleos_presenciais[".useDetailsPreview"] = true;

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

$tdatanucleos_presenciais[".allSearchFields"][] = "nome";
$tdatanucleos_presenciais[".allSearchFields"][] = "nome_regional";
$tdatanucleos_presenciais[".allSearchFields"][] = "estado";
$tdatanucleos_presenciais[".allSearchFields"][] = "cidade";
$tdatanucleos_presenciais[".allSearchFields"][] = "tipo";
$tdatanucleos_presenciais[".allSearchFields"][] = "data_inicio";
$tdatanucleos_presenciais[".allSearchFields"][] = "observacao";
$tdatanucleos_presenciais[".allSearchFields"][] = "prepara_para";
$tdatanucleos_presenciais[".allSearchFields"][] = "funciona_em";
$tdatanucleos_presenciais[".allSearchFields"][] = "ativo";
$tdatanucleos_presenciais[".allSearchFields"][] = "motivo";
$tdatanucleos_presenciais[".allSearchFields"][] = "responsavel";

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


$tdatanucleos_presenciais[".advSearchFields"][] = "nome";
$tdatanucleos_presenciais[".advSearchFields"][] = "nome_regional";
$tdatanucleos_presenciais[".advSearchFields"][] = "estado";
$tdatanucleos_presenciais[".advSearchFields"][] = "cidade";
$tdatanucleos_presenciais[".advSearchFields"][] = "tipo";
$tdatanucleos_presenciais[".advSearchFields"][] = "data_inicio";
$tdatanucleos_presenciais[".advSearchFields"][] = "observacao";
$tdatanucleos_presenciais[".advSearchFields"][] = "prepara_para";
$tdatanucleos_presenciais[".advSearchFields"][] = "funciona_em";
$tdatanucleos_presenciais[".advSearchFields"][] = "ativo";
$tdatanucleos_presenciais[".advSearchFields"][] = "motivo";
$tdatanucleos_presenciais[".advSearchFields"][] = "responsavel";

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

	



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


$tdatanucleos_presenciais[".pageSize"] = 20;

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

$tdatanucleos_presenciais[".orderindexes"] = array();
$tdatanucleos_presenciais[".orderindexes"][] = array(21, (0 ? "ASC" : "DESC"), "senuc_nucleo.ativo");
$tdatanucleos_presenciais[".orderindexes"][] = array(17, (0 ? "ASC" : "DESC"), "senuc_nucleo.data_inicio");

$tdatanucleos_presenciais[".sqlHead"] = "SELECT senuc_nucleo.id,  senuc_nucleo.idregional,  senuc_nucleo.login,  senuc_nucleo.senha,  senuc_nucleo.nome,  senuc_nucleo.responsavel,  senuc_nucleo.endereco,  senuc_nucleo.cep,  senuc_nucleo.estado,  senuc_nucleo.cidade,  senuc_nucleo.tipo,  senuc_nucleo.site,  senuc_nucleo.email,  senuc_nucleo.telefone,  senuc_nucleo.celular,  senuc_nucleo.operadora,  senuc_nucleo.data_inicio,  senuc_nucleo.observacao,  senuc_nucleo.prepara_para,  senuc_nucleo.funciona_em,  senuc_nucleo.ativo,  senuc_nucleo.motivo,  senuc_nucleo.id_mdl,  senuc_nucleo.meta_funcionamento,  senuc_nucleo.meta_alunos,  senuc_nucleo.limite_alunos_por_coordenador,  senuc_nucleo.min_presenca_coordenador,  senuc_nucleo.min_presenca_professor,  senuc_nucleo.min_presenca_aluno,  senuc_nucleo.min_atividades,  senuc_nucleo.data_ultimo_score,  senuc_nucleo.ultimo_score,  regionais.regional AS nome_regional";
$tdatanucleos_presenciais[".sqlFrom"] = "FROM senuc_nucleo  INNER JOIN regionais ON senuc_nucleo.idregional = regionais.id";
$tdatanucleos_presenciais[".sqlWhereExpr"] = "(senuc_nucleo.tipo =1)";
$tdatanucleos_presenciais[".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);
$tdatanucleos_presenciais[".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);
$tdatanucleos_presenciais[".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);
$tdatanucleos_presenciais[".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;
$tdatanucleos_presenciais[".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;
$tdatanucleos_presenciais[".arrGroupsPerPage"] = $arrGPP;

$tableKeysnucleos_presenciais = array();
$tableKeysnucleos_presenciais[] = "id";
$tdatanucleos_presenciais[".Keys"] = $tableKeysnucleos_presenciais;

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

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

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

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

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

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

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

$tdatanucleos_presenciais[".printFields"] = array();
$tdatanucleos_presenciais[".printFields"][] = "nome";
$tdatanucleos_presenciais[".printFields"][] = "nome_regional";
$tdatanucleos_presenciais[".printFields"][] = "login";
$tdatanucleos_presenciais[".printFields"][] = "endereco";
$tdatanucleos_presenciais[".printFields"][] = "cep";
$tdatanucleos_presenciais[".printFields"][] = "estado";
$tdatanucleos_presenciais[".printFields"][] = "cidade";
$tdatanucleos_presenciais[".printFields"][] = "tipo";
$tdatanucleos_presenciais[".printFields"][] = "data_inicio";
$tdatanucleos_presenciais[".printFields"][] = "observacao";
$tdatanucleos_presenciais[".printFields"][] = "prepara_para";
$tdatanucleos_presenciais[".printFields"][] = "funciona_em";
$tdatanucleos_presenciais[".printFields"][] = "ativo";
$tdatanucleos_presenciais[".printFields"][] = "motivo";
$tdatanucleos_presenciais[".printFields"][] = "responsavel";
$tdatanucleos_presenciais[".printFields"][] = "site";
$tdatanucleos_presenciais[".printFields"][] = "email";
$tdatanucleos_presenciais[".printFields"][] = "telefone";
$tdatanucleos_presenciais[".printFields"][] = "celular";
$tdatanucleos_presenciais[".printFields"][] = "operadora";
$tdatanucleos_presenciais[".printFields"][] = "meta_funcionamento";
$tdatanucleos_presenciais[".printFields"][] = "meta_alunos";
$tdatanucleos_presenciais[".printFields"][] = "limite_alunos_por_coordenador";
$tdatanucleos_presenciais[".printFields"][] = "min_presenca_coordenador";
$tdatanucleos_presenciais[".printFields"][] = "min_presenca_professor";
$tdatanucleos_presenciais[".printFields"][] = "data_ultimo_score";
$tdatanucleos_presenciais[".printFields"][] = "min_presenca_aluno";
$tdatanucleos_presenciais[".printFields"][] = "ultimo_score";
$tdatanucleos_presenciais[".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["strField"] = "id"; 
		$fdata["FullName"] = "senuc_nucleo.id";
	
		
		
				
				$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;
	
		
		
	$tdatanucleos_presenciais["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["strField"] = "idregional"; 
		$fdata["FullName"] = "senuc_nucleo.idregional";
	
		
		
				
				$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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "login"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["strField"] = "senha"; 
		$fdata["FullName"] = "senuc_nucleo.senha";
	
		
		
				
				$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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "endereco"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "cep"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "site"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "email"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "telefone"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "celular"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "operadora"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["strField"] = "id_mdl"; 
		$fdata["FullName"] = "senuc_nucleo.id_mdl";
	
		
		
				
				$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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "meta_funcionamento"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "meta_alunos"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "limite_alunos_por_coordenador"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_presenca_coordenador"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_presenca_professor"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_presenca_aluno"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_atividades"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "data_ultimo_score"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["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["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "ultimo_score"; 
		$fdata["FullName"] = "senuc_nucleo.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;
	
		
		
	$tdatanucleos_presenciais["ultimo_score"] = $fdata;
//	nome_regional
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 33;
	$fdata["strName"] = "nome_regional";
	$fdata["GoodName"] = "nome_regional";
	$fdata["ownerTable"] = "regionais";
	$fdata["Label"] = "Nome Regional"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "regional"; 
		$fdata["FullName"] = "regionais.regional";
	
		
		
				$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();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatanucleos_presenciais["nome_regional"] = $fdata;

	
$tables_data["nucleos_presenciais"]=&$tdatanucleos_presenciais;
$field_labels["nucleos_presenciais"] = &$fieldLabelsnucleos_presenciais;
$fieldToolTips["nucleos_presenciais"] = &$fieldToolTipsnucleos_presenciais;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["nucleos_presenciais"] = 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["nucleos_presenciais"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["nucleos_presenciais"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["nucleos_presenciais"][$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["nucleos_presenciais"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["nucleos_presenciais"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["nucleos_presenciais"][$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["nucleos_presenciais"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["nucleos_presenciais"][$dIndex]["masterKeys"][]="id";
		$detailsTablesData["nucleos_presenciais"][$dIndex]["detailKeys"][]="idnucleo";

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

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

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










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

$proto1["m_column"]=$obj;
$proto1["m_contained"] = array();
$proto1["m_strCase"] = "=1";
$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;
						$proto69=array();
			$obj = new SQLField(array(
	"m_strName" => "regional",
	"m_strTable" => "regionais"
));

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

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

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

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

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

$proto0["m_fromlist"][]=$obj;
												$proto75=array();
$proto75["m_link"] = "SQLL_INNERJOIN";
			$proto76=array();
$proto76["m_strName"] = "regionais";
$proto76["m_columns"] = array();
$proto76["m_columns"][] = "id";
$proto76["m_columns"][] = "regional";
$proto76["m_columns"][] = "responsavel";
$proto76["m_columns"][] = "endereco";
$proto76["m_columns"][] = "telefone";
$proto76["m_columns"][] = "email";
$proto76["m_columns"][] = "celular";
$obj = new SQLTable($proto76);

$proto75["m_table"] = $obj;
$proto75["m_alias"] = "";
$proto77=array();
$proto77["m_sql"] = "senuc_nucleo.idregional = regionais.id";
$proto77["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "idregional",
	"m_strTable" => "senuc_nucleo"
));

$proto77["m_column"]=$obj;
$proto77["m_contained"] = array();
$proto77["m_strCase"] = "= regionais.id";
$proto77["m_havingmode"] = "0";
$proto77["m_inBrackets"] = "0";
$proto77["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto77);

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

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

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

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

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

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

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

include_once(getabspath("include/nucleos_presenciais_events.php"));
$tableEvents["nucleos_presenciais"] = new eventclass_nucleos_presenciais;
$tdatanucleos_presenciais[".hasEvents"] = true;

$cipherer = new RunnerCipherer("nucleos_presenciais");

?>