PDA

Zobacz pełną wersję : Panel right w tym szabloniku



JacoKapa
23-06-2007, 13:43
Witam! Mam problem z szablonem. Ma on tylko pozycję "left". Chcialbym dodać także "right", ale gdy próbuję to rozwala mi szablon.

index.php pliczek:

<?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );?>
<!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>
<?php if ( $my->id ) { initEditor(); } ?>
<meta http-equiv="Content-Type" content="text/html;><?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/favicon.ico\" />" ; ?>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table width="686" height="679" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<!--DWLayoutTable-->
<tr>
<td height="13" colspan="9">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_1.gif" width="685" height="13" alt=""></td>
<td width="1"></td>
</tr>
<tr>
<td width="9" rowspan="5">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_2.gif" width="9" height="217" alt=""></td>
<td height="16" colspan="3">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_3.gif" width="232" height="16" alt=""></td>
<td colspan="4" rowspan="4">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_4.gif" width="435" height="184" alt=""></td>
<td width="9" rowspan="5">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_5.gif" width="9" height="217" alt=""></td>
<td></td>
</tr>
<tr>
<td width="12" height="27">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_6.gif" width="12" height="27" alt=""></td>
<td width="208" height="157" rowspan="2" valign="top" class="newsflash_content"><div id="newsflash">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php mosLoadModules ( 'top' ); ?></td>
</tr>
</table>
</div>
</div></td>
<td width="12">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_8.gif" width="12" height="27" alt=""></td>
<td></td>
</tr>
<tr>
<td rowspan="2">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_9.gif" width="12" height="141" alt=""></td>
<td rowspan="2">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_11.gif" width="12" height="141" alt=""></td>
<td height="130"></td>
</tr>
<tr>
<td height="11">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_12.gif" width="208" height="11" alt=""></td>
<td></td>
</tr>
<tr>
<td height="33" colspan="5" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_13.gif" class="pathway"><?php mosPathWay(); ?></td>
<td colspan="2" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_14.jpg" class="style5"><div align="right" class="date"><?php echo mosCurrentDate(); ?></div></td>
<td></td>
</tr>
<tr>
<td height="370" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_15.gif">&nbsp;</td>
<td colspan="4" valign="top" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_16.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width="241" height="29"><?php mosLoadModules ( 'left' ); ?></td>
</tr>
</table></td>
<td colspan="2" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" valign="top" class="main_body"><p>
<?php mosMainBody(); ?>
</p> </td>
</tr>
<tr>
<td height="30" colspan="2"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="latest_news">
<tr>
<td><?php mosLoadModules ( 'user1' ); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td width="50%" valign="top" class="latest_news"></td>
<td width="50%" valign="top" class="latest_news"></td>
</tr>
</table>
<p>&nbsp;</p> </td>
<td width="5" bgcolor="#FFFFFF">&nbsp;</td>
<td background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_19.gif">&nbsp;</td>
<td></td>
</tr>
<tr>
<td height="47" colspan="9" valign="top" background="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_24a.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%">&nbsp;</td>
<td class="foot"><?php include('footer_webrevol.php'); ?>&nbsp;</td>
</tr>
</table></td>
<td></td>
</tr>
<tr>
<td height="13" colspan="9" valign="top"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_25a.gif" width="685" height="13" /></td>
<td></td>
</tr>
<tr>
<td height="18" colspan="9">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/Slice_25.gif" width="685" height="18" alt=""></td>
<td></td>
</tr>
<tr>
<td height="1">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.gif" width="9" height="1" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.gif" width="12" height="1" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.gif" width="208" height="1" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.gif" width="12" height="1" alt=""></td>
<td width="9">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.gif" width="9" height="1" alt=""></td>
<td width="190">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.gif" width="190" height="1" alt=""></td>
<td width="231">
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.gif" width="231" height="1" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.gif" width="5" height="1" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.gif" width="9" height="1" alt=""></td>
<td></td>
</tr>
</table>

</body>
</html>

Czy mógłby ktoś wyedytować poprawnie ten pliczek? Pozdro