[ Index ]
 

Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/modules/sideboxes/ -> tell_a_friend.php (source)

   1  <?php
   2  /**

   3   * tell_a_friend sidebox - displays option to tell a friend about the selected product

   4   *

   5   * @package templateSystem

   6   * @copyright Copyright 2003-2005 Zen Cart Development Team

   7   * @copyright Portions Copyright 2003 osCommerce

   8   * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

   9   * @version $Id: tell_a_friend.php 2718 2005-12-28 06:42:39Z drbyte $

  10   */
  11  
  12  // test if box should display

  13    $show_tell_a_friend= false;
  14  
  15    if (isset($_GET['products_id']) and zen_products_id_valid($_GET['products_id'])) {
  16      if (!($_GET['main_page']==FILENAME_TELL_A_FRIEND)) $show_tell_a_friend = true;
  17    }
  18  
  19    if ($show_tell_a_friend == true) {
  20      require($template->get_template_dir('tpl_tell_a_friend.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_tell_a_friend.php');
  21      $title =  BOX_HEADING_TELL_A_FRIEND;
  22  
  23      $title_link = false;
  24      require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
  25    }
  26  ?>


Généré le : Mon Nov 26 16:45:43 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics