| [ Index ] |
PHP Cross Reference of osCMax 2.0.4 |
[Summary view] [Print] [Text view]
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); 20 ?> 21 <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> 22 <html <?php echo HTML_PARAMS; ?>> 23 <head> 24 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> 25 <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> 26 <?php 27 // BOF: WebMakers.com Changed: Header Tag Controller v1.0 28 if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { 29 require(DIR_WS_INCLUDES . 'header_tags.php'); 30 } else { 31 ?> 32 <title><?php echo TITLE; ?></title> 33 <?php 34 } 35 ?> 36 <link rel="stylesheet" type="text/css" href="stylesheet.css"> 37 <head> 38 <body marginwidth="10" marginheight="10" topmargin="10" bottommargin="10" leftmargin="10" rightmargin="10"> 39 40 <table width="580" class="infoBoxContents"> 41 <tr> 42 <td colspan="2" class="infoBoxHeading" align="center"><?php echo TEXT_VALID_CATEGORIES_LIST; ?></td> 43 </tr> 44 <?php 45 echo "<tr><td><b>". TEXT_VALID_CATEGORIES_ID . "</b></td><td><b>" . TEXT_VALID_CATEGORIES_NAME . "</b></td></tr><tr>"; 46 $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"); 47 if ($row = mysql_fetch_array($result)) { 48 do { 49 echo "<td class='infoBoxContents'> ".$row["categories_id"]."</td>\n"; 50 echo "<td class='infoBoxContents'>".$row["categories_name"]."</td>\n"; 51 echo "</tr>\n"; 52 } 53 while($row = mysql_fetch_array($result)); 54 } 55 echo "</table>\n"; 56 ?> 57 <p class="smallText" align="right"><?php echo '<a href="javascript:window.close()">' . TEXT_CLOSE_WINDOW . '</a>'; ?> </p> 58 <br> 59 </body> 60 </html> 61 <?php require ('includes/application_bottom.php'); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri Jan 1 13:43:16 2010 | Cross-referenced by PHPXref 0.7 |