[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/ -> article_reviews.php (source)

   1  <?php
   2  /*

   3  $Id: article_reviews.php 3 2006-05-27 04:59:07Z user $

   4  

   5    osCMax Power E-Commerce

   6    http://oscdox.com

   7  

   8    Copyright 2006 osCMax

   9  

  10    Released under the GNU General Public License

  11  */
  12  
  13  // Most of this file is changed or moved to BTS - Basic Template System - format.

  14  // For adding in contribution or modification - parts of this file has been moved to: catalog\templates\fallback\contents\<filename>.tpl.php as a default (sub 'fallback' with your current template to see if there is a template specife change).

  15  //       catalog\templates\fallback\contents\<filename>.tpl.php as a default (sub 'fallback' with your current template to see if there is a template specife change).

  16  // (Sub 'fallback' with your current template to see if there is a template specific file.)

  17  
  18    require ('includes/application_top.php');
  19  
  20    $article_info_query = tep_db_query("select a.articles_id, ad.articles_name from " . TABLE_ARTICLES . " a, " . TABLE_ARTICLES_DESCRIPTION . " ad where a.articles_id = '" . (int)$HTTP_GET_VARS['articles_id'] . "' and a.articles_status = '1' and a.articles_id = ad.articles_id and ad.language_id = '" . (int)$languages_id . "'");
  21    if (!tep_db_num_rows($article_info_query)) {
  22      tep_redirect(tep_href_link(FILENAME_REVIEWS));
  23    } else {
  24      $article_info = tep_db_fetch_array($article_info_query);
  25    }
  26  
  27    $articles_name = $article_info['articles_name'];
  28  
  29    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ARTICLE_REVIEWS);
  30  
  31    $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ARTICLE_REVIEWS, tep_get_all_get_params()));
  32    
  33    $content = CONTENT_ARTICLES_REVIEWS;
  34  
  35    include (bts_select('main', $content_template)); // BTSv1.5 

  36    
  37     require (DIR_WS_INCLUDES . 'application_bottom.php');
  38     
  39  ?>


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7