[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/templates/fallback/content/ -> index_default.tpl.php (source)

   1      <table border="0" width="100%" cellspacing="0" cellpadding="0">
   2        <tr>
   3          <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
   4            <tr>
   5                          <td class="pageHeading">
   6               
   7              </td>
   8              <td class="pageHeading" align="right"><?php //echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
   9            </tr>
  10  
  11                </table></td>
  12        </tr>
  13        <tr>
  14          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  15        </tr>
  16        <tr>
  17          <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
  18            <tr>
  19              <td class="main"><?php //php echo tep_customer_greeting(); ?></td>
  20            </tr>
  21            <tr>
  22              <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  23            </tr>
  24            <tr>
  25              <td class="main"><?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?></td>
  26            </tr>
  27            <tr>
  28              <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  29            </tr>
  30     <?php
  31       $default_specials_query = tep_db_query("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status = '1' and s.customers_group_id = ". (int)$customer_group_id." order by s.specials_date_added DESC limit " . MAX_DISPLAY_SPECIAL_PRODUCTS);
  32       $default_specials = tep_db_fetch_array($default_specials_query);
  33  
  34           if (isset($default_specials['products_id'])) {
  35  
  36      ?>        
  37            <tr>
  38              <td><br>
  39              <?php include(DIR_WS_MODULES . FILENAME_DEFAULT_SPECIALS); 
  40           }   
  41              ?>
  42            </td>
  43            </tr>
  44            <tr>
  45              <td><br><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
  46            </tr>
  47  <?php
  48      include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);
  49  ?>
  50          </table></td>
  51        </tr>
  52      </table>


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