Ir para conteúdo
Fórum Script Brasil
  • 0

Porque as funções JAVA não funcionam em meu site?


MidiaTV

Pergunta

Baixei um site pronto, mais existem funções Java, Css e Ajax que não funcionam igual ao modelo que vi.

Não tenho conhecimento com essas linguagens.

Site: www.cacu.go.gov.br/index.php

index.php

<?

include "config.php";

$pg = $_GET[pg];

$cidade = $_GET[cidade];

if(empty($pg)) {

$pg = "principal";

include "estrutura/estatisticas/contador.php";

}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns=http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset= iso-8859-1" />

<link rel="shortcut icon" href="icone.ico" >

<link rel="stylesheet" href="cabecalho.css" type="text/css" media="screen" />

<link rel="stylesheet" href="menucss.css" type="text/css" />

<link rel="stylesheet" href="menuh.css" type="text/css" />

<link rel="stylesheet" href="css2.css" type="text/css" />

<!--JAVA PLAYER POP UP-->

<script>

function link(end){

window.open(end,"nova","height=442,width=470,left=60,top=50");

}

</script>

<script type="text/javascript" src="Portal%20da%20Prefeitura%20de%20Campo%20Mour%C3%A3o_Pr_arquivos/jquery_002.js"></script>

<!-- Javascript -->

<script type="text/javascript">

$(document).ready(function(){

$("#noticias_slide").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);

$("#twitter").getTwitter({

userName: "ascom_cm",

numTweets: 5,

loaderText: "Carregando Tweets...",

slideIn: false,

slideDuration: 0,

showHeading: false,

headingText: "Últimos Tweets",

showProfileLink: false,

showTimestamp: false

});

$(".tv_prefeitura").load("internas/tv_prefeitura_inicial.php");

$(".open").accordion({

active: 0,

collapsible: true,

autoHeight: false

});

});

</script>

<title>Untitled Document</title>

</head>

<body>

<table width="999" border="0" align="center" cellpadding="0" cellspacing="0">

<tr> <!-- site -->

<td width="999">

<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td height="40" valign="top">

<!-- menu -->

<table width="970" height="35" border="0" align="top" cellpadding="0" cellspacing="0">

<tr>

<td width="96"><div align="center" style="border-right-width:1px; border-right-style:dotted; border-color:#FFF;"><a href="index.php" class="minicio">P&aacute;gina Inicial</a></div></td>

<td width="66"><div align="center" style="border-right-width:1px; border-right-style:dotted; border-color:#FFF;"><a href="?pg=historia_da_cidade" class="minicio">Hist&oacute;ria</a></div></td>

<td width="99"><div align="center" style="border-right-width:1px; border-right-style:dotted; border-color:#FFF;"><a href="?pg=mais_noticias" class="minicio">Mais Not&iacute;cias</a></div></td>

<td width="113"><div align="center" style="border-right-width:1px; border-right-style:dotted; border-color:#FFF;"><a href="?pg=projetos_sociais" class="minicio">Projetos Sociais</a></div></td>

<td width="100"><div align="center"><a href="?pg=contato" class="minicio">Fale Conosco</a></div></td>

<td width="16">&nbsp;</td>

<td width="196"><?

include "buscarnoticias.php";

?> </td>

<td width="142"><a href="#"><img src="img_site/horario_onibus_01.png" width="72" height="25" /></a></td>

<td width="142"><a href="#"><img src="img_site/facebook_01.png" width="27" height="28" /></a><a href="#"><img src="img_site/twitter_01.png" width="27" height="28" /></a><a href="#"><img src="img_site/flickr_01.png" width="27" height="28" /></a><a href="#"><img src="img_site/feed_01.png" width="27" height="28" /></a><a href="#"><img src="img_site/email_01.png" width="27" height="28" /></a></td>

</tr>

</table>

</td>

</tr>

</table>

<table width="980" border="0" align="center" cellpadding="0" cellspacing="2">

<tr>

<td width="20" height="88">&nbsp;</td>

<td width="89"><a href="index.php" title="voltar a pagina inicial"><img src="img_site/timbre.png" width="89" height="82" border="0"></a></td>

<td width="221"><a href="index.php" title="voltar a pagina inicial"><img src="img_site/prefeitura_01.png" width="221" height="85" border="0" align="top"></a></td>

<td width="620"><div align="right">

<!--CABEÇALHO -->

<div class="cabecalho">

<div class="conteudo">

<!--CABEÇALHO - Conteúdo - Tempo -->

<div class="tempo">

<div class="data">Quinta-Feira, 31 de Maio de 2012</div>

<div class="imagem"><img src=" http://www.cacu.go.gov.br/imagens/icones/w...r/sun.png" alt="" /></div>

<div class="temperatura">21&deg;C</div>

<div class="condicao">Sol</div>

<div class="proximos"><a style="text-decoration:none;"><span></span>Próximos

Dias

<div class="teste">

<fieldset>

<ul class="first">

<li class="imagem"><img src="http://www.cacu.go.gov.br/imagens/icones/weather/tstorms.png" alt="" /></li>

<li class="dia">Quinta-Feira</li>

<li class="condicao">Possibilidade de tempestade</li>

<li class="temperatura">18/26&deg;C</li>

</ul>

<ul >

<li class="imagem"><img src="http://www.cacu.go.gov.br/imagens/icones/weather/tstorms.png" alt="" /></li>

<li class="dia">Sexta-Feira</li>

<li class="condicao">Possibilidade de tempestade</li>

<li class="temperatura">16/22&deg;C</li>

</ul>

<ul >

<li class="imagem"><img src="http://www.cacu.go.gov.br/imagens/icones/weather/fog.png" alt="" /></li>

<li class="dia">Sábado</li>

<li class="condicao">Neblina</li>

<li class="temperatura">17/25&deg;C</li>

</ul>

</fieldset>

</div>

</a></div>

</div>

<!--FIM:CABEÇALHO - Conteúdo - Tempo -->

</div></div></div></td>

</tr>

</table>

<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td>&nbsp;</td>

</tr>

</table>

<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td width="232" valign="top">

<iframe width='232' height='900' frameborder='0' src='menu.php' scrolling="no"></iframe>

</td>

<td rowspan="2" valign="top"><table width="700" border="0" align="left" cellpadding="0" cellspacing="0">

<tr>

<td height="61"><div align="center">

<? if(empty($pg) OR $pg == "principal"){ }else{?>

<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td align="right" class="titulos red"></td>

</tr>

<tr>

<td height="1" valign="top" bgcolor="<? //=$coronmouse?>"></td>

</tr>

<tr>

<td height="2" valign="top"></td>

</tr>

<tr>

<td height="2" valign="top" bgcolor="<? //=$corcelula1?>"></td>

</tr>

<tr>

<td height="10"></td>

</tr>

</table>

<? }

if($pg == "erro" OR $pg == "classificados" OR $pg == "meus_dados" OR $pg == "meu_anuncio" OR $pg == "cadastro" ){

include "form_login.php";

}

$var = "estrutura/principal.php";

$filename = "estrutura/$_GET[pg].php";

if(file_exists($filename)){

$pg = "estrutura/$_GET[pg].php";

} else {

$pg = "estrutura/pagina_nao_existe.php";

}

if(empty($_SERVER["QUERY_STRING])) {

include("$var");

} else {

include("$pg");

}

?>

</div></td>

</tr>

</table></td>

</tr>

</table>

<table width="980" height="76" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td width="980" height="60"><div align="center" class="rodapeborda">

<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td><div align="left">

<table width="980" border="0" cellpadding="10" cellspacing="0" class="rodape">

<tr>

<td width="212" height="150" bgcolor="#F4F4F4"><p><a href="index.php"><img src="img_site/logo_rodape_01.png" width="190" height="50"></a></p>

<p>Rua Brasil, 1487 - Centro<br>

87301-140</p>

<p>Fone: +55 44 3518-1144</span></span></strong></p></td>

<td width="144" bgcolor="#003399" style="vertical-align:text-top;"><a href="index.php"><img src="pingo.gif" width="4" height="4" />

Página Inicial</a><br />

<br />

<a href="?pg=juridico"><img src="pingo.gif" width="4" height="4" />

Juridico</a> </td>

<td width="128" bgcolor="#002D88" style="vertical-align:text-top;"><a href="?pg=dados_municipio"><img src="pingo.gif" width="4" height="4" />

A Cidade</a><br />

<br />

<a href="?pg=nprefeitura"><img src="pingo.gif" width="4" height="4" />

A Prefeitura</a> <br />

<br />

<a href="?pg=ngabinetedoprefeito"><img src="pingo.gif" width="4" height="4" />

Gabinete do Prefeito</a> <br />

<br />

<a href="?pg=mais_noticias"><img src="pingo.gif" width="4" height="4" />

Notícias</a> <br />

<br />

<a href="?pg=eventos"><img src="pingo.gif" width="4" height="4" />

Galeria de Imagens</a> </td>

<td width="129" bgcolor="#00287D" style="vertical-align:text-top;"><a href="?pg=conselho_assistencia"><img src="pingo.gif" width="4" height="4" />

Ass. Social</a><br />

<br />

<a href="?pg=alistamento"><img src="pingo.gif" width="4" height="4" />

Junta Militar</a> <br />

<br />

<a href="?pg=contabilidade"><img src="pingo.gif" width="4" height="4" />

Transparência</a> <br />

<br />

<a href="?pg=esporte_e_turismo"><img src="pingo.gif" width="4" height="4" />

Esporte e Turismo</a> <br />

<br />

<a href="?pg=meio_ambiente"><img src="pingo.gif" width="4" height="4" />

Meio Ambiente</a> </td>

<td width="267" bgcolor="#002471"">

<? include"estrutura/enquetes.php";?>

</td>

</tr>

<tr>

<td colspan="4" bgcolor="#ECEBEB">&copy; 2012 Prefeitura Municipal de Campo Mour&atilde;o - Todos os direitos reservados. </td>

<td bgcolor="#ECEBEB" align="right"><a href="#"><img src="img_site/facebook_01.png" alt="" width="27" height="28" /></a><a href="#"><img src="img_site/twitter_01.png" alt="" width="27" height="28" /></a><a href="#"><img src="img_site/flickr_01.png" alt="" width="27" height="28" /></a><a href="#"><img src="img_site/feed_01.png" alt="" width="27" height="28" /></a><a href="#"><img src="img_site/email_01.png" alt="" width="27" height="28" /></a></td>

</tr>

</table>

</div></td>

</tr>

</table>

</div></td>

</tr>

</table>

<!-- fim do site -->

</tr>

</table>

</body>

</html>

Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts Recomendados

Até agora não há respostas para essa pergunta

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,4k
    • Posts
      652,1k
×
×
  • Criar Novo...