dage手法之 头部和banner ad tpl_header

<div class="top2"> 

     <?php

   if ($current_page_base == 'index' || $current_page_base == '') { $active = 'aaccttiivvee'; }

   else { $active = ''; }

  ?>

   <a href="<?php echo '' . HTTP_SERVER . DIR_WS_CATALOG;?>" class="<?php echo $active;?>"><?php echo TOP_MENU_HOME;?></a>

  

  <?php

   if ($current_page_base == 'shopping_cart') { $active = 'aaccttiivvee';

    } else { $active = ''; }

  ?>

  <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>" class="<?php echo $active;?>"><?php echo TOP_MENU_VIEW_CART;?></a>   

  

  <?php

   if ($current_page_base == 'contact_us'){  $active = 'aaccttiivvee';

    } else { $active = '';

   }?>  

  <a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>" class="<?php echo $active;?>"><?php echo BOX_INFORMATION_CONTACT;?></a>

 

  <?php

   if ($current_page_base == 'shippinginfo'){  $active = 'aaccttiivvee';

    } else { $active = '';

   }?>  

  <a href="<?php echo zen_href_link(FILENAME_SHIPPING, '', 'SSL'); ?>" class="<?php echo $active;?>"><?php echo BOX_INFORMATION_SHIPPING;?></a>

 

  <?php

   if ($current_page_base == 'faq'){  $active = 'aaccttiivvee';

    } else { $active = '';

   }?>  

  <a href="<?php echo zen_href_link(FILENAME_FAQ, '', 'SSL'); ?>" class="<?php echo $active;?>"><?php echo BOX_INFORMATION_FAQ;?></a>

  <?php

   if ($current_page_base == 'blog'){  $active = 'aaccttiivvee';

    } else { $active = '';

   }?>  

  <a href="<?php echo '' . HTTP_SERVER . DIR_WS_CATALOG;?>blog">Blog</a>

</div>

 

<div class="ad">
 <a href="<?php echo '' . HTTP_SERVER . DIR_WS_CATALOG;?>"><img src="includes/templates/luoine_template_1/images/banner2.jpg" width="946" alt="Longchamp UK" title="Longchamp UK" /></a>
</div>

posted @ 2013-08-03 11:28  也许明天  阅读(322)  评论(0编辑  收藏  举报