Author Topic: Classic Theme trouble with template_menu(); code  (Read 6979 times)

0 Members and 1 Guest are viewing this topic.

Offline anomolee

  • Newbie
  • *
  • Posts: 1
Classic Theme trouble with template_menu(); code
« on: July 30, 2010, 09:20:36 am »
I'm using the Classic Theme and have all templates edited to run the ad mod but the indextemplate.php is giving me trouble.  When it replace the code for " template_menu(); " everything gets shifted downward below the ads.  Do I need to make a mod to this code to work in the Classic Theme?
Here is the mod I need to use below.


   //Below the menu ads
   if (function_exists("show_indexAds") && function_exists("show_towerleftAds") && function_exists("show_towerrightAds"))
      $ads = show_indexAds();   
            echo $ads['content'];

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

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