hi all.
sounds like a complicated one, but i am using e107, so alot of the php code has been written out, but im looking into just putting a straight:[code=php]
<?php echo(rand(1,5)) ; ?>[/code]
into this code (i put a "ENTER HERE CODE" for where it must go:
[code=php]
<?php
$HEADER = "
<!-- CONTENT: Holds all site content except for the footer. This is what causes the footer to stick to the bottom -->
<div id='content'>
<!-- HEADER: Holds title, subtitle and header images -->
<div id='header'>
<img src='".THEME."i mages/header_left(CODE ENTER HERE!!!).jpg' alt='left slice' class='left' />
<img src='".THEME."i mages/header_right.jp g' alt='right slice' class='right' />
</div>
<!-- MAIN MENU: Top horizontal menu of the site. Use class='here' to turn the current page tab on -->
<!-- PAGE CONTENT BEGINS: This is where you would define the columns (number, width and alignment) -->
<div id='page'>
<!-- 25 percent width column, aligned to the left -->
<div class='width25 floatLeft leftColumn'>
{SETSTYLE=top_l eft_menu}
{MENU=1}
{SETSTYLE=botto m_left_menu}
{MENU=2}
</div>
{SETSTYLE=defau lt}
<!-- 75 percent width column, aligned to the right -->
<div class='width75 floatRight'>
";
?>[/code]
sounds like a complicated one, but i am using e107, so alot of the php code has been written out, but im looking into just putting a straight:[code=php]
<?php echo(rand(1,5)) ; ?>[/code]
into this code (i put a "ENTER HERE CODE" for where it must go:
[code=php]
<?php
$HEADER = "
<!-- CONTENT: Holds all site content except for the footer. This is what causes the footer to stick to the bottom -->
<div id='content'>
<!-- HEADER: Holds title, subtitle and header images -->
<div id='header'>
<img src='".THEME."i mages/header_left(CODE ENTER HERE!!!).jpg' alt='left slice' class='left' />
<img src='".THEME."i mages/header_right.jp g' alt='right slice' class='right' />
</div>
<!-- MAIN MENU: Top horizontal menu of the site. Use class='here' to turn the current page tab on -->
<!-- PAGE CONTENT BEGINS: This is where you would define the columns (number, width and alignment) -->
<div id='page'>
<!-- 25 percent width column, aligned to the left -->
<div class='width25 floatLeft leftColumn'>
{SETSTYLE=top_l eft_menu}
{MENU=1}
{SETSTYLE=botto m_left_menu}
{MENU=2}
</div>
{SETSTYLE=defau lt}
<!-- 75 percent width column, aligned to the right -->
<div class='width75 floatRight'>
";
?>[/code]
Comment