[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/ -> affiliate_validcats.php (source)

   1  <?php
   2  /*

   3    $Id: affiliate_validcats.php,v 2.00 2003/10/12

   4  

   5    OSC-Affiliate

   6  

   7    Contribution based on:

   8  

   9    osCommerce, Open Source E-Commerce Solutions

  10    http://www.oscommerce.com

  11  

  12    Copyright (c) 2002 - 2003 osCommerce

  13  

  14    Released under the GNU General Public License

  15  */
  16  
  17    require ('includes/application_top.php');
  18  
  19    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_AFFILIATE_BANNERS_BUILD_CAT);
  20  
  21    $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_AFFILIATE_BANNERS_BUILD));
  22  ?>
  23  <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
  24  <html <?php echo HTML_PARAMS; ?>>
  25  <head>
  26  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
  27  <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
  28  <?php
  29  // BOF: WebMakers.com Changed: Header Tag Controller v1.0

  30  if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
  31        require(DIR_WS_INCLUDES . 'header_tags.php');
  32      } else {
  33          ?> 
  34            <title><?php echo TITLE; ?></title>
  35            <?php
  36          }
  37          ?>
  38  <link rel="stylesheet" type="text/css" href="stylesheet.css">
  39  <head>
  40  <body marginwidth="10" marginheight="10" topmargin="10" bottommargin="10" leftmargin="10" rightmargin="10">
  41   
  42      <table width="580" class="infoBoxContents">
  43  <tr>
  44  <td colspan="2" class="infoBoxHeading" align="center"><?php echo TEXT_VALID_CATEGORIES_LIST; ?></td>
  45  </tr>
  46  <?php
  47      echo "<tr><td><b>". TEXT_VALID_CATEGORIES_ID . "</b></td><td><b>" . TEXT_VALID_CATEGORIES_NAME . "</b></td></tr><tr>";
  48      $result = mysql_query("SELECT * FROM categories, categories_description WHERE categories.categories_id = categories_description.categories_id and categories_description.language_id = '" . $languages_id . "' ORDER BY categories_description.categories_name");
  49      if ($row = mysql_fetch_array($result)) {
  50          do {
  51              echo "<td class='infoBoxContents'>&nbsp".$row["categories_id"]."</td>\n";
  52              echo "<td class='infoBoxContents'>".$row["categories_name"]."</td>\n";
  53              echo "</tr>\n";
  54          }
  55          while($row = mysql_fetch_array($result));
  56      }
  57      echo "</table>\n";
  58  ?>
  59  <p class="smallText" align="right"><?php echo '<a href="javascript:window.close()">' . TEXT_CLOSE_WINDOW . '</a>'; ?>&nbsp;&nbsp;&nbsp;</p>
  60  <br>
  61  </body>
  62  </html>
  63  <?php require ('includes/application_bottom.php'); ?>


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