| [ PHPXref.com ] | [ Generated: Sun Jul 20 19:13:40 2008 ] | [ osCommRes 1.2.0 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 language_header.php 4 5 Shoppe Enhancement Controller - Copyright (c) 2003 WebMakers.com 6 Linda McGrath - osCommerce@WebMakers.com 7 8 */ 9 ?> 10 <!-- languages_header //--> 11 <table> 12 <tr> 13 <td> 14 <?php 15 if (!is_object($lng)) { 16 include(DIR_WS_CLASSES . 'language.php'); 17 $lng = new language; 18 } 19 20 if (getenv('HTTPS') == 'on') $connection = 'SSL'; 21 else $connection = 'NONSSL'; 22 23 $languages_string = ''; 24 reset($lng->catalog_languages); 25 while (list($key, $value) = each($lng->catalog_languages)) { 26 $languages_string .= ' <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $connection) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a> '; 27 } 28 29 echo $languages_string; 30 ?> 31 </td> 32 </tr> 33 </table> 34 <!-- languages_header_eof //-->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |