Flown Flown  • 03.05.15 16:50

[Syn] - Arruma esse código? Empty [Syn] - Arruma esse código? 03.05.15 16:50

Olá gente, preciso de ajuda aqui com um código php.
Dá o seguinte erro:
"Parse error: syntax error, unexpected $end in /home/u621727331/public_html/codificando/hp_pag/emblemas.php on line 129"
É um código de emblemas recentes para meu layout que esta hospedado no hostinger.
Código:
<style>
#emblemas {
 width: 61px;
 height: 61px;
 margin-right: 5px;
 margin-top: 5px;
 text-align: center;
 line-height: 60px;
 float: left;
 cursor: default;
 text-align: center;
 background-position: center center;
 background-repeat: no-repeat;
 background-color: #EEE;
 -webkit-border-radius: 3px;
 border-radius: 3px;
 -webkit-transition: all 0.3s ease-in-out;
 -moz-transition: all 0.3s ease-in-out;
 -ms-transition: all 0.3s ease-in-out;
 -o-transition: all 0.3s ease-in-out;
 transition: all 0.3s ease-in-out;
 -webkit-box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
 box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
}
#emblemas:hover .aviso {
 opacity: 0.9;
 visibility: visible;
 bottom: 15px;
 boder:: 9999999999999999999999999999999999999999999999999999999999999;
}
#aviso-cont {
 width: 61px;
 height: 61px;
 position: relative;
}
.aviso {
 line-height: 15px;
 margin: 0;
 color: rgba(255,255,255,1);
 font-size: 12px;
 background: rgba(0,0,0,1);
 opacity: 0;
 visibility: hidden;
 position: absolute;
 bottom: 5px;
 left: 50%;
 margin-left: -16px;
 boder:: 99;
 -webkit-transition: all 0.3s ease-in-out;
 -moz-transition: all 0.3s ease-in-out;
 -ms-transition: all 0.3s ease-in-out;
 -o-transition: all 0.3s ease-in-out;
 transition: all 0.3s ease-in-out;
 margin-bottom: 40px;
 -webkit-border-radius: 3px;
 border-radius: 3px;
}
.aviso-dentro {
 font-family: Verdana;
 font-size: 11px;
 padding: 10px;
 letter-spacing: 0px;
 position: relative;
 boder:: 999;
}
.aviso-dentro-seta {
 width: 10px;
 height: 10px;
 bottom: 2px;
 margin-bottom: -5px;
 background: rgba(0,0,0,1);
 position: absolute;
 margin-left: 10px;
 -webkit-transform: rotate(-45deg);
 -moz-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
 -o-transform: rotate(-45deg);
 filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

 .error {
 padding: 7px;
 background-color: #fff4f2;
 border: 1px solid #a63c29;
 color: #E2001A;
 margin-top: 5px;
 }

 .error > h3 {
 font-weight: bold;
 margin: 0px;
 padding: 0px;
 font-size: 13px;
 }
 div.goodmsg {
 padding: 7px;
 background-color: #d8f3d8;
 border: 1px solid #4da04d;
 color: #205220;
 margin-top: 5px;
 }

 div.goodmsg > h3 {
 font-weight: bold;
 margin: 0px;
 padding: 0px;
 font-size: 13px;
 }
 div.display_none {
 display: none;
 }
 </style>
        <?php
 $num_por_pagina = 9;
 $paginac = $_GET[paginac];
 if (!$paginac) {
   $paginac = 1;
 }

 $primeiro_registro = ($paginac*$num_por_pagina) - $num_por_pagina;
$sql = "SELECT * FROM ma_emblemas";
$sql .=" LIMIT $primeiro_registro, $num_por_pagina";
$res = mysql_query($sql) or die(mysql_error());
while($row=mysql_fetch_array($res)){
$id_post = $row[id];
?>
<div id="emblemas" style="background-image:url('<?=$row[emb_img];?>')">
 <div id="aviso-cont"><div class="aviso"><div class="aviso-dentro"><?=$row[emb_cod];?></div><div class="aviso-dentro-seta"></div></div></div>
 </div>

pepeghj pepeghj  • 03.05.15 19:20

[Syn] - Arruma esse código? Empty Re: [Syn] - Arruma esse código? 03.05.15 19:20

Olá poderia me passar o link, e como você quer deixar?.

Flown Flown  • 04.05.15 15:15

[Syn] - Arruma esse código? Empty Re: [Syn] - Arruma esse código? 04.05.15 15:15

É susposto apresentar os emblemas recentemente encontrados que vão ser adicionados no painel (apresentar 9 emblemas apenas, 3 por linha). acho que é só o php que tem de mudar. O css deixe como está ok?
Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.