[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/ -> article_info.php (source)

   1  <?php
   2  /*

   3  $Id: article_info.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    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ARTICLE_INFO);
  21  
  22    $article_check_query = tep_db_query("select count(*) as total from " . TABLE_ARTICLES . " a, " . TABLE_ARTICLES_DESCRIPTION . " ad where a.articles_status = '1' and a.articles_id = '" . (int)$HTTP_GET_VARS['articles_id'] . "' and ad.articles_id = a.articles_id and ad.language_id = '" . (int)$languages_id . "'");
  23    $article_check = tep_db_fetch_array($article_check_query);
  24  
  25    //Commented to correct articles breadcrumb adding a bad link

  26    // $breadcrumb->add(HEADING_TITLE, tep_href_link(FILENAME_ARTICLE_INFO, '', 'NONSSL'));

  27  
  28    $content = CONTENT_ARTICLES;
  29  
  30    include (bts_select('main', $content_template)); // BTSv1.5

  31  
  32  
  33   require (DIR_WS_INCLUDES . 'application_bottom.php');
  34  
  35  ?>


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