PDA

Zobacz pełną wersję : Jak ustawić stała szerokośc strony w 247clean



seba123
15-05-2007, 01:42
Witam
Temat był już wcześniej, jednak pozostał bez odpowiedzi.
Mam ogromną prośbę, to pewnie banał, ale może ktoś mi powie jak ustawić stała szerokość strony, powiedzmy 1024?

Do template 247clean.

http://naszawyspa.com/

Dziękuję serdecznie za pomoc i pozdrawiam.

Poniżej zawartośc pliku index.php:



<?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is 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>
<?php mosShowHead(); ?>
<meta http-equiv="Content-Type" content="text/html;><?php echo _ISO; ?>" />
<?php if ( $my->id ) { initEditor(); } ?>
<?php include($GLOBALS['mosConfig_absolute_path']."/templates/247clean/splitmenu.php"); ?>
<?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/247clean/images/favicon.ico\" />" ; ?>
<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" />

<?PHP
// Image Changer
// image and site ID`s
$image1 = array(1,2,3,8,9,10,15,18,19);
$image2 = array(4,5,6,7,11,12,13,14,20,21);
$image3 = array(17,22,23,24,25,26,27,28,29,30);
// $image4 = array(17,22,23,24,25,26,27,28,29,30);
// $image5 = array(17,22,23,24,25,26,27,28,29,30);
// $image6 = array(17,22,23,24,25,26,27,28,29,30);
// $image7 = array(17,22,23,24,25,26,27,28,29,30);
// etc.

// looking for images
$header="head.jpg";
if (in_array($Itemid, $image1)) $header="head.jpg";
if (in_array($Itemid, $image2)) $header="head01.jpg";
if (in_array($Itemid, $image3)) $header="head02.jpg";
// if (in_array($Itemid, $image4)) $header="head04.jpg";
// if (in_array($Itemid, $image5)) $header="head05.jpg";
// if (in_array($Itemid, $image6)) $header="head06.jpg";
// if (in_array($Itemid, $image7)) $header="head07.jpg";
// etc.
?>
</head>
<body background="<?php echo $mosConfig_live_site;?>/templates/247clean/images/bg_grad.jpg" style="background-repeat:repeat-x;">
<div id="masthead">
<h1 id="siteName" class="title"><?php echo $mosConfig_sitename; ?></h1>
<div id="utility"><?php mosLoadModules ( 'top' ); ?></div>
<div id="globalNav"> <img alt="" src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/gblnav_left.jpg" height="32" width="7" id="gnl" /> <img alt="" src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/glbnav_right.jpg" height="32" width="7" id="gnr" />
<div id="globalLink"><?php echo $mycssPSPLITmenu_content; ?></div>
<?php if (mosCountModules('user4')) { ?><div id="search">
<?php mosLoadModules ( 'user4' ); ?>
</div><?php } ?>
</div>
<div class="subbox"><?php echo $mycssSSPLITmenu_content; ?></div>

<br />
<div id="globalHead"> <img alt="" src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/gblnav_left_2.jpg" height="140" width="7" id="gnl" /> <img alt="" src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/glbnav_right_2.jpg" height="140" width="7" id="gnr" />
<div id="globalGrey"></div>
<div id="yourImage">
<?PHP echo ("<img src=".$mosConfig_live_site."/templates/247clean/images/".$header.">")?></div>
</div>
<div id="globalInfo"> <img src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/space.gif" alt="" name="gnl" width="7" height="20" id="gnl" /> <img src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/space.gif" alt="" name="gnr" width="7" height="20" id="gnr" />
<div id="globalPath"><?php mosPathWay(); ?></div>
<div id="globalDate"><?php echo mosCurrentDate(); ?></div>
</div>
</div>
</div>
<div id="pagecell1">
<img alt="" src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/tl_curve_white.gif" height="6" width="6" id="tl" /> <img alt="" src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/tr_curve_white.gif" height="6" width="6" id="tr" />
<div id="pageTop">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-left: 0px; padding-right: 0px;">
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="border-right: 1px solid #EEEEEE;"><?php if (mosCountModules('left')) { ?>
<table width="180" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding:5px;"><?php mosLoadModules ( 'left' ); ?></td>
</tr>
</table>
<?php } ?></td>
<td style="padding-left: 5px; padding-right: 5px; padding-top:5px; border-left: 1px solid #FFF; border-right: 1px solid #FFF;" width="100%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<?php if (mosCountModules('newsflash')) { ?>
<td colspan="3"><div>
<?php mosLoadModules ( 'newsflash' ); ?>
</div></td>
<?php } ?>
</tr>
<tr>
<?php if (mosCountModules('user2')) { ?>
<td valign="top"><div style="padding-bottom: 5px;">
<?php mosLoadModules ( 'user2' ); ?>
</div></td>
<td width="2" valign="top"><?php } ?>
<?php if (mosCountModules('user3')) { ?> </td>
<td valign="top"><div style="padding-bottom: 5px;">
<?php mosLoadModules ( 'user3' ); ?>
</div></td>
<?php } ?>
</tr>
<tr>
<td height="4" colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/space.gif" width="100" height="4" /></td>
</tr>
</table></td>
</tr>
<tr align="left" valign="top">
<td colspan="3"><?php mosMainBody(); ?></td>
</tr>
<tr>
<td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/space.gif" width="100" height="4" /></td>
</tr>
</table></td>
</tr>
<tr valign="top">
<?php if (mosCountModules('bottom')) { ?>
<td colspan="3"><div>
<?php mosLoadModules ( 'bottom' ); ?>
</div></td>
<?php } ?>
</tr>
</table></td>
<td valign="top" style="border-left: 1px solid #EEEEEE;"><?php if (mosCountModules('right')) { ?>
<table width="180" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding: 5px;"><?php mosLoadModules ( 'right' ); ?></td>
</tr>
</table>
<?php } ?></td>
</tr>
</table></td>
</tr>
</table>
</div>
<div id="siteInfo"><a href="http://www.mamboteam.com" target="_blank" style="font-size:10px; color:#CCCCCC;"> Umsetzung Mamboteam.com</a> | <a href="http://www.mambopixel.com" target="_blank" style="font-size:10px; color:#CCCCCC;">Powered by Mambopixel.com </a> |
<div id="siteTop"><a href="#">Top</a></div>
</div>
</div>
</body>
</html>

Viking
15-05-2007, 12:56
Temat był już wcześniej i to kilka razy, widocznie znalazłeś ten na który już nie odpowiadaliśmy