[RESOLVIDO]Rodapé na sai Valid xhtml valid css
- 0_Doidera
-
Autor do Tópico
- Offline
- JCB! Estagiário
-
antes que todos me critiquem já revirei todo o forum e toda a internet de cabeça pra baixo mas não acho, a solução foi pedir ajuda aos universitarios, estou começando a esqueletar um novo site, porem no rodapé não sai o valid xhtml valid css.
Já alterei o index.php, alterei o templates.php e não sei mais o que faço estou ficando louco.
O site é http://www.dbmusic.com.br/joomla
se alguem puder me ajudar agradeço.
Em eterno aprendizado.
Please Entrar ou Registrar to join the conversation.
- Diego Lucca
-
- Offline
- JCB! Hero
-
Diego Lucca
DG Company - Companhia Digital
www.dgcompany.com.br
Please Entrar ou Registrar to join the conversation.
- 0_Doidera
-
Autor do Tópico
- Offline
- JCB! Estagiário
-
<?php
/*
* (C) 2009 - 2011 SiteGround.com - All Rights Reserved.
* General Public License version 3 or later; see LICENSE.txt
*This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see < www.gnu.org/licenses/ >.
*/
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
define( 'path', dirname(__FILE__) );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>
<body id="page_bg">
<div id="top">
<div id="top_bg">
<div id="wrapper">
<div id="header">
<div class="logo"><h1><a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a></h1></div>
<div class="newsflash<?php if(!$this->countModules('user1') and JRequest::getCmd('layout') != 'form') : ?> only<?php endif; ?>">
<jdoc:include type="modules" style="rounded" name="top" />
</div>
<div id="pillmenu"><jdoc:include type="modules" name="user3" /></div>
<div id="search"><jdoc:include type="modules" name="user4" /></div>
</div>
<div id="content">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<br />
<?php $sg = 'banner'; include "templates.php"; ?>
<br />
</div>
<?php endif; ?>
<?php if($this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn">
<?php elseif($this->countModules('left') and !$this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn_left">
<?php elseif(!$this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn_right">
<?php else: ?>
<div id="maincolumn_full">
<?php endif; ?>
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
</div>
</div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="rightcolumn">
<jdoc:include type="modules" name="right" style="rounded" />
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
</div>
<div id="footer">
<div id="sgf">
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<p align="center">
<a href=" www.dbmusic.com.br/ " class="sgfooter" target="_blank">DBMusic © 2011 Todos os Direitos Reservados</a>
</p>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</body>
</html>
Templates.php
<?if( $sg == 'banner' )
>
<?php if (JRequest::getVar('view') == 'frontpage')>
<!-- SIDE BEGIN --><!-- SIDE END -->
<?php endif?>
<?else:?>
<?php echo $mainframe->getCfg('sitename') ;?>
<a href=" www.dbmusic.com.br/ " class="sgfooter" target="_blank">DBMusic © 2011 Todos os Direitos Reservados</a>
<?endif;?>
Em eterno aprendizado.
Please Entrar ou Registrar to join the conversation.
- Diego Lucca
-
- Offline
- JCB! Hero
-
Diego Lucca
DG Company - Companhia Digital
www.dgcompany.com.br
Please Entrar ou Registrar to join the conversation.
- 0_Doidera
-
Autor do Tópico
- Offline
- JCB! Estagiário
-
Em eterno aprendizado.
Please Entrar ou Registrar to join the conversation.