Czy kto¶ pomog³by mi poprawiæ templatke?? - Joomla! Forum - community, help and support
wygl±d mojej templatki zamie¶ci³em w za³±czniku. jest modyfikacja za pomoc± dreamwavera istnij±cej templatki . czy kto¶ pomóg³by mi dobrze spozycjonowaæ modu³ bannerów, pomiêdzy dwoma granatowymi rozdzielnikami(znajduje siê tam modu³ numer 6)??
kod indexu:
kod indexu:
code: select all
<?php defined( "_valid_mos" ) or die( "direct access location not allowed." );$iso = split( '=', _iso );echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?>
<!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-2" />
<?php mosshowhead(); ?>
<meta http-equiv="content-type" content="text/html;><?php echo _iso; ?>" />
<?php if ( $my->id ) { initeditor(); } ?>
<?php // custom mainmenu extension...
$database->setquery("select * #__menu menutype = 'mainmenu' , published ='1' , parent = '0' order ordering");
$mymenu_rows = $database->loadobjectlist();
$mymenu_content = "";
foreach($mymenu_rows $mymenu_row) {
// print_r($mymenu_rows);
$mymenulink = $mymenu_row->link;
if ($mymenu_row->type != "url") {
$mymenulink .= "&itemid=$mymenu_row->id";
}
if ($mymenu_row->type != "separator") {
$mymenu_content .= "<a href=\"".sefreltoabs($mymenulink)."\" class=\"bar\">$mymenu_row->name</a><font color=\"#d3f5d0\"> | </font>";
}
}
$mymenu_content = substr($mymenu_content,0,strlen($mymenu_content)-2);
?>
<link rel="alternate" title="<?php echo $mosconfig_sitename; ?>" href="<?php echo $globals['mosconfig_live_site']; ?>/index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
<link href="templates/sb_brutus/css/template_css.css" rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#ffffff">
<a name="top"></a>
<table width="102%">
<tr>
<td><?php mosloadmodules ( 'user3' ); ?></td>
</tr>
</table>
<table width="775" border="0" cellspacing="1" cellpadding="0" bgcolor="#999999" align="center">
<tr>
<td colspan="3" height="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/sb_brutus/images/grbck.gif">
<tr>
<td><img src="templates/sb_brutus/images/blank.gif" width="10" height="10"></td>
</tr>
</table> </td>
</tr>
<tr>
<td colspan="3" height="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/sb_brutus/images/image_line.gif">
<tr>
<td><img src="templates/sb_brutus/images/blank.gif" width="10" height="10"></td>
</tr>
</table> </td>
</tr>
<tr bgcolor="#ffffff" valign="top">
<td colspan="3" height="67">
<table width="100%" height="143" border="0" cellpadding="0" cellspacing="0" background="templates/sb_brutus/images/banner.jpg">
<tr>
<td height="135"><img src="templates/sb_brutus/images/blank.gif" width="20" height="80"></td>
</tr>
</table> </td>
</tr>
<tr>
<td colspan="3" height="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/sb_brutus/images/dbbck.gif">
<tr>
<td height="21"><img src="templates/sb_brutus/images/blank.gif" width="20" height="20"></td>
</tr>
</table> </td>
</tr>
<tr bgcolor="#ffffff">
<td colspan="3" valign="top" bgcolor="#ffffff"><div align="center">
<table width="100%" border="2" cellspacing="0" cellpadding="0" bgcolor="#ffffff" bordercolor="#ffffff">
<tr> </tr>
</table>
<table width="100%" height="85" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center">
<?php mosloadmodules ( 'user6' ); ?>
</div> <div align="left"></div></td>
</tr>
</table>
</div></td>
</tr>
<tr bgcolor="#ffffff">
<td colspan="3" valign="top" bgcolor="#ffffff"><div align="center">
<table width="100%" border="2" cellspacing="0" cellpadding="0" bgcolor="#ffffff" bordercolor="#ffffff">
<tr>
</tr>
</table>
<table width="100%" height="22" border="0" cellpadding="0" cellspacing="0" background="images/dbbck.gif">
<tr>
<td width="46%" background="templates/sb_brutus/images/dbbck.gif"><div align="center"></div></td>
<td width="54%" background="templates/sb_brutus/images/dbbck.gif"><div align="left"><font size="1" face="verdana, arial, helvetica, sans-serif">
<?php mosloadmodules ( 'user5', -1 ); ?>
</font></div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td width="143" rowspan="2" valign="top" bgcolor="#ffffff"><div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor="#ffffff" bgcolor="#abb0c3">
<tr valign="top">
<td colspan="2" height="107"><div align="center">
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><table width="13" border="0" cellspacing="5" cellpadding="0">
</table>
<div align="right">
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><font size="1" face="verdana, arial, helvetica, sans-serif"><strong>
<?php mosloadmodules ( 'left' ); ?>
</strong></font></td>
</tr>
</table>
<br />
</div></td>
</tr>
<tr>
<td></td>
</tr>
</table>
<font size="1" face="verdana, arial, helvetica, sans-serif"></font></div></td>
</tr>
</table>
<p> </p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor="#ffffff" bgcolor="#abb0c3">
<tr valign="top">
<td colspan="2" height="65"><div align="center">
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><table width="13" border="0" cellspacing="5" cellpadding="0">
</table>
<div align="right">
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php mosloadmodules ( 'user2' ); ?></td>
</tr>
</table>
<br />
</div></td>
</tr>
<tr>
<td></td>
</tr>
</table>
<font size="1" face="verdana, arial, helvetica, sans-serif"></font></div></td>
</tr>
</table>
<p> </p>
<p> </p>
</div>
<p> </p></td>
<td height="87" valign="top" bordercolor="#ffffff" bgcolor="#ffffff"><div align="left"><font size="1" face="verdana, arial, helvetica, sans-serif"><img src="templates/sb_brutus/images/blank.gif" width="8" height="20" /><strong>
<?php mospathway(); ?>
</strong></font> </div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/sb_brutus/images/image_line.gif">
<tr>
<td valign="top"><div align="left"><img src="templates/sb_brutus/images/blank.gif" width="10" height="10" /></div></td>
</tr>
</table>
<table width="420" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#ffffff" bgcolor="#ffffff">
<tr valign="top">
<td height="57">
<table width="99%" border="0" cellspacing="1" cellpadding="0" bgcolor="dadde4" align="center">
<tr valign="top" bordercolor="#ffffff" bgcolor="#ffffff">
<td height="6">
<div align="center">
<table width="99%" height="20" border="0" align="center" cellpadding="0" cellspacing="5" bordercolor="#ffffff" bgcolor="#ffffff" hspace="2" vspace="2">
<tr>
<td height="19" align="left" valign="middle" bgcolor="#ffffff"><font color="#c40004" size="1" face="verdana, arial, helvetica, sans-serif"><strong><?php mosloadmodules ( 'top' ); ?></strong></font>
<?php include ("mainbody.php"); ?>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#ffffff">
<hr width="100%" color='#dcdcdc' size="1" noshade>
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40%">
<div align="right"><strong><font color="#93c600">^</font></strong></div> </td>
<td width="19%">
<div align="center"><a href="#top">top</a> </div> </td>
<td width="41%">
<div align="left"><strong><font color="#93c600">^</font></strong></div> </td>
</tr>
</table>
</div> </td>
</tr>
<tr>
<td height="2" bgcolor="#ffffff">
<hr width="100%" color='#dcdcdc' size="1" noshade> </td>
</tr>
</table> </td>
</tr>
</table>
</div> </td>
</tr>
</table> </td>
</tr>
</table> </td><td width="143" colspan="-2" valign="top" bgcolor="#ffffff">
<table width="170" border="0" cellspacing="0" cellpadding="0" bordercolor="#ffffff">
<tr valign="top" bgcolor="#abb0c3">
<td height="60" colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/sb_brutus/images/grbck.gif">
<tr>
<td> </td>
</tr>
</table>
<table width="160" border="0" cellpadding="0" cellspacing="5" bgcolor="#abb0c3">
<tr>
<td bgcolor="#abb0c3"><font size="1" face="verdana, arial, helvetica, sans-serif"><strong><?php mosloadmodules ( 'right' ); ?></strong></font> </td>
</tr>
</table> </td>
</tr>
</table>
<table width="170" border="0" cellspacing="0" cellpadding="0" bordercolor="#ffffff">
<tr valign="top" bgcolor="#abb0c3">
<td height="60" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/sb_brutus/images/grbck.gif">
<tr>
<td> </td>
</tr>
</table>
<table width="160" border="0" cellpadding="0" cellspacing="5" bgcolor="#abb0c3">
<tr>
<td bgcolor="#abb0c3"><?php mosloadmodules ( 'user4' ); ?></td>
</tr>
</table></td>
</tr>
</table>
<table width="170" border="0" cellspacing="0" cellpadding="0" bordercolor="#ffffff">
<tr valign="top" bgcolor="#abb0c3">
<td height="60" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/sb_brutus/images/grbck.gif">
<tr>
<td> </td>
</tr>
</table>
<table width="160" border="0" cellpadding="0" cellspacing="5" bgcolor="#abb0c3">
<tr>
<td bgcolor="#abb0c3"> </td>
</tr>
</table></td>
</tr>
</table> <p> </p>
</td>
</tr>
<tr>
<td colspan="2" align="center" valign="middle" bgcolor="#ffffff"><table width="100%">
<tr>
<td width="11%"> </td>
<td width="80%" align="center" valign="middle"><div align="center">
<?php mosloadmodules ( 'user8' ); ?>
</div></td>
<td width="9%"> </td>
</tr>
</table></td>
</tr>
<tr bgcolor="#ffffff">
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/sb_brutus/images/dbbck.gif">
<tr>
<td><img src="templates/sb_brutus/images/blank.gif" width="20" height="20"><img src="templates/sb_brutus/images/blank.gif" width="20" height="20"></td>
</tr>
</table> </td>
</tr>
</table>
<div align="center"></div>
</body>
</html>
a więcej tabel nie było? nie sądze żeby ktoś się za zabrł - może raczej zleć komuś zrobienie templatki, która będzie wyglądać jak chcesz.. oszczędzisz czas czas pieniądz więc może na tym zarobisz jeszcze
Comments
Post a Comment