[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/admin/ -> affiliate_validproducts.php (source)

   1  <?php
   2  /*

   3    $Id: affiliate_validproducts.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);
  20  
  21  ?>
  22  <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
  23  <html <?php echo HTML_PARAMS; ?>>
  24  <head>
  25  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
  26  <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
  27  <title><?php echo TITLE; ?></title>
  28  <link rel="stylesheet" type="text/css" href="stylesheet.css">
  29  <head>
  30  <body>
  31  <table width="580" class="infoBoxContents">
  32  <tr>
  33  <td colspan="2" class="infoBoxHeading" align="center"><?php echo TEXT_VALID_PRODUCTS_LIST; ?></td>
  34  </tr>
  35  <?php
  36      echo "<tr><td><b>". TEXT_VALID_PRODUCTS_ID . "</b></td><td><b>" . TEXT_VALID_PRODUCTS_NAME . "</b></td></tr><tr>";
  37      $result = mysql_query("SELECT * FROM products, products_description WHERE products.products_id = products_description.products_id and products_description.language_id = '" . $languages_id . "' ORDER BY products_description.products_name");
  38      if ($row = mysql_fetch_array($result)) {
  39          do {
  40              echo "<td class='infoBoxContents'>&nbsp;".$row["products_id"]."</td>\n";
  41              echo "<td class='infoBoxContents'>".$row["products_name"]."</td>\n";
  42              echo "</tr>\n";
  43          }
  44          while($row = mysql_fetch_array($result));
  45      }
  46      echo "</table>\n";
  47  ?>
  48  <p class="smallText" align="right"><?php echo '<a href="javascript:window.close()">' . TEXT_CLOSE_WINDOW . '</a>'; ?>&nbsp;&nbsp;&nbsp;</p>
  49  <br>
  50  </body>
  51  </html>
  52  <?php require ('includes/application_bottom.php'); ?>


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