IncludeStatic("quem_somos", "quem_somos.php", "Quem Somos", "", ""); $mxiObj->IncludeStatic("estudo", "estudo/exibir.php", "Estudos Biblícos", "", ""); $mxiObj->IncludeStatic("videos", "videos/mostrar.php", "videos", "", ""); $mxiObj->IncludeStatic("links", "link/mostrar.php", "link", "", ""); $mxiObj->IncludeStatic("estatuto", "estatuto.php", "estatuto", "", ""); $mxiObj->IncludeStatic("estudos", "estudo/exibir.php", "Missoes", "", ""); $mxiObj->IncludeStatic("ponto_fe", "ponto_fe.php", "Pontos de Fé", "", ""); $mxiObj->IncludeStatic("publicacoes", "publicacoes/exibir.php", "Publicações", "", ""); $mxiObj->IncludeStatic("fotos_eventos", "fotos_eventos/listar_albuns.php", "Fotos_eventos", "", ""); $mxiObj->IncludeStatic("pedido_oracao", "pedido_oracao/index.php", "oracao", "", ""); $mxiObj->IncludeStatic("missoes", "missoes/listar.php", "missoes", "", ""); $mxiObj->IncludeStatic("batismo", "batismo/exibir.php", "batismo", "", ""); $mxiObj->IncludeStatic("escola_biblica", "escola_biblica/mostrar.php", "escola_biblica", "", ""); $mxiObj->IncludeStatic("onde_estamos", "onde_estamos/mostrar_home.php", "Onde Estamos", "", ""); $mxiObj->IncludeStatic("fotos_irmas", "fotos_irmas/listar_albuns.php", "Fotos_irmãs", "", ""); $mxiObj->IncludeStatic("listar_fotos_irmas", "fotos_irmas/listar_tudo.php", "Fotos_irmãs", "", ""); $mxiObj->IncludeStatic("listar_fotos_eventos", "fotos_eventos/listar_albuns.php", "Fotos_Eventos", "", ""); $mxiObj->IncludeStatic("biblia", "bibliaonline/index.php", "biblia", "", ""); $mxiObj->IncludeStatic("quem_somos_irmas", "quem_somos_irmas/index.php", "Quem Somos", "", ""); $mxiObj->IncludeStatic("mensagem", "mensagem/exibir.php", "Mensagens", "", ""); $mxiObj->IncludeStatic("cadastro", "membros/cadastro.php", "cadastro", "", ""); $mxiObj->IncludeStatic("nossa_historia", "nossa_historia/nossa_historia.php", "Nossa História", "", ""); $mxiObj->IncludeStatic("congresso", "congresso_jovem/listar_albuns.php", "Congresso Jovem", "", ""); $mxiObj->IncludeStatic("informativo_jovem", "informativo_jovem/exibir.php", "Download Informativo Jovem", "", ""); $mxiObj->IncludeStatic("pordosol", "por_sol.php", "Horário do Por do Sol", "", ""); $mxiObj->IncludeStatic("livro_visitas", "livro_visitas/index.php", "Livro de Visitas", "", ""); $mxiObj->IncludeStatic("missoes", "missoes/listar.php", "Missoes", "", ""); $mxiObj->IncludeStatic("banner_publicidade", "banner_publicidade/exibir.php", "banner_publicidade", "", ""); // End Include Multiple Static Pages $maxRows_consultar_texto_rolante = 1; $pageNum_consultar_texto_rolante = 0; if (isset($_GET['pageNum_consultar_texto_rolante'])) { $pageNum_consultar_texto_rolante = $_GET['pageNum_consultar_texto_rolante']; } $startRow_consultar_texto_rolante = $pageNum_consultar_texto_rolante * $maxRows_consultar_texto_rolante; mysql_select_db($database_banner, $banner); $query_consultar_texto_rolante = "SELECT * FROM texto_rolante ORDER BY id DESC"; $query_limit_consultar_texto_rolante = sprintf("%s LIMIT %d, %d", $query_consultar_texto_rolante, $startRow_consultar_texto_rolante, $maxRows_consultar_texto_rolante); $consultar_texto_rolante = mysql_query($query_limit_consultar_texto_rolante, $banner) or die(mysql_error()); $row_consultar_texto_rolante = mysql_fetch_assoc($consultar_texto_rolante); if (isset($_GET['totalRows_consultar_texto_rolante'])) { $totalRows_consultar_texto_rolante = $_GET['totalRows_consultar_texto_rolante']; } else { $all_consultar_texto_rolante = mysql_query($query_consultar_texto_rolante); $totalRows_consultar_texto_rolante = mysql_num_rows($all_consultar_texto_rolante); } $totalPages_consultar_texto_rolante = ceil($totalRows_consultar_texto_rolante/$maxRows_consultar_texto_rolante)-1; mysql_select_db($database_banner, $banner); $query_consultar_videos = "SELECT * FROM videos ORDER BY id DESC"; $consultar_videos = mysql_query($query_consultar_videos, $banner) or die(mysql_error()); $row_consultar_videos = mysql_fetch_assoc($consultar_videos); $totalRows_consultar_videos = mysql_num_rows($consultar_videos); // *** Visit Counter *** // FELIXONE 2002 - SB by Felice Di Stefano - www.felixone.it $FX_digit = 5; $FX_dpath = "FX_DataCounter"; $FX_fpath = "FX_DataCounter/contador.txt"; // Check if directory and file exists, if not create it. if (!file_exists($FX_fpath)) { if (!is_dir($FX_dpath)) { mkdir($FX_dpath, 0700); } $FX_fso = fopen($FX_fpath,"w"); flock($FX_fso, 2); fputs($FX_fso, 0); flock($FX_fso, 3); fclose($FX_fso); } // Read file and update it once per session $FX_fso = fopen($FX_fpath,"r+"); $FX_count = fgets($FX_fso, 4096); session_start(); if (!isset($HTTP_SESSION_VARS["FX_DataCounter"])) { fseek($FX_fso, 0); flock($FX_fso, 2); fputs($FX_fso, $FX_count+1); flock($FX_fso, 3); fclose($FX_fso); $FX_count++; $FX_DataCounter = $FX_count; session_register("FX_DataCounter"); } // Add leadings $FX_numlength = strlen((string) $FX_count); if ($FX_numlength < $FX_digit) { $FX_lead = (int) $FX_digit - $FX_numlength; for ($i=0; $i<$FX_lead; $i++) { $FX_count = "0" . $FX_count; } } ?> <?php echo $mxiObj->getTitle(); ?>