Coinbase

Author Topic: Ig-Oh  (Read 2062 times)

0 Members and 1 Guest are viewing this topic.

Offline sportmemorylane

  • Newbie
  • *
  • Posts: 6
    • Tie-Town
    • Email
Ig-Oh
« on: March 11, 2008, 09:19:47 pm »
Can someone give me a hand?

I am editing the index.template.php file for the above theme.  I have almost got it, but whenever i display a right or left tower banner the main board shifts to the right.  The navigation board (eg. home admin, help, search etc.) stays put though.

I have pretty much narrowed it down to this bit of code:

Quote
//Below the menu ads
   $ads = show_indexAds();   
   if(!empty($ads))
      if($ads['type']==0)
         echo $ads['content'];
      else
         eval($ads['content']);
   unset($ads);

   //Tower left Ads
   $ads = show_towerleftAds();
   if(!empty($ads))
      echo '<table><tr><td valign="top">', $ads['type']==0 ? $ads['content'] : eval($ads['content']) ,'</td><td width="100%" valign="top">';

   unset($ads);
   //Tower Right Ads
   $ads = show_towerrightAds();   
   if(!empty($ads))
      echo '<table><tr><td width="100%" valign="top">';

Can anyone give me a hand with this, and if possible adjust the code so it doesn't shift?  I am kinda new with code, so the more I learn the better.  Thanks everyone.

SMF Ads Support Forum

Ig-Oh
« on: March 11, 2008, 09:19:47 pm »
.

 

.