<?php
/* --------------------------------------------------------------
popup_image.php 2010-01-18 gm
Gambio GmbH
http://www.gambio.de
Copyright (c) 2010 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
based on:
(c) 2000-2001 The Exchange Project (earlier name of osCommerce)
(c) 2002-2003 osCommerce(popup_image.php,v 1.12 2001/12/12); www.oscommerce.com
(c) 2004 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: popup_image.php 859 2005-04-14 18:15:06Z novalis $)
Released under the GNU General Public License
-----------------------------------------------------------------------------------------
Third Party contributions:
Modified by BIA Solutions (www.biasolutions.com) to create a bordered look to the image
Released under the GNU General Public License
---------------------------------------------------------------------------------------*/
require ('includes/application_top.php');
require_once (DIR_FS_INC.'xtc_get_products_mo_images.inc.php');
if ((int) $_GET['imgID'] == 0) {
$products_query = xtc_db_query("select pd.products_name, p.products_image from ".TABLE_PRODUCTS." p left join ".TABLE_PRODUCTS_DESCRIPTION." pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '".(int) $_GET['pID']."' and pd.language_id = '".(int) $_SESSION['languages_id']."'");
$products_values = xtc_db_fetch_array($products_query);
} else {
$products_query = xtc_db_query("select pd.products_name, p.products_image, pi.image_name from ".TABLE_PRODUCTS_IMAGES." pi, ".TABLE_PRODUCTS." p left join ".TABLE_PRODUCTS_DESCRIPTION." pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '".(int) $_GET['pID']."' and pi.products_id = '".(int) $_GET['pID']."' and pi.image_nr = '".(int) $_GET['imgID']."' and pd.language_id = '".(int) $_SESSION['languages_id']."'");
$products_values = xtc_db_fetch_array($products_query);
$products_values['products_image'] = $products_values['image_name'];
}
// get x and y of the image
$img = DIR_WS_POPUP_IMAGES.$products_values['products_image'];
$size = GetImageSize("$img");
//get data for mo_images
$mo_images = xtc_get_products_mo_images((int) $_GET['pID']);
$img = DIR_WS_THUMBNAIL_IMAGES.$products_values['products_image'];
$osize = GetImageSize("$img");
if ($mo_images != false) {
//$bwidth = $osize[0];
$bheight = $osize[1];
foreach ($mo_images as $mo_img) {
$img = DIR_WS_THUMBNAIL_IMAGES.$mo_img['image_name'];
$mo_size = GetImageSize("$img");
// if ($mo_size[0] > $bwidth) $bwidth = $mo_size[0];
if ($mo_size[1] > $bheight)
$bheight = $mo_size[1];
}
$bheight += 50;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_SESSION['language_charset']; ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title><?php echo $products_values['products_name']; ?></title>
<base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="<?php echo 'templates/'.CURRENT_TEMPLATE.'/stylesheet.css'; ?>">
<script type="text/javascript"><!--
var i=0;
function resize() {
if (navigator.appName == 'Netscape') i=40;
window.resizeTo(<?php echo $size[0] ?> +105, <?php echo $size[1] + $bheight ?>+70+i);
self.focus();
}
//--></script>
</head>
<body onload="resize();">
<!-- xtc_image($src, $alt = '', $width = '', $height = '', $params = '') /-->
<!-- big image -->
<table style="width:100%; text-align: center; border: none;" cellspacing="0" cellpadding="0">
<tr>
<td style="background-color:#283758;"><div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><?php echo $products_values['products_name']; ?></strong></font></div></td>
</tr>
<tr>
<td>
<table style="width:100%; text-align: center; border: none;" cellpadding="5" cellspacing="0">
<tr>
<td style="text-align: center;"><div><?php echo xtc_image(DIR_WS_POPUP_IMAGES . $products_values['products_image'], $products_values['products_name'], $size[0], $size[1]); ?></div></td>
</tr>
</td>
</table>
</table>
<!-- thumbs -->
<center>
<?php
if ($mo_images != false) {
?>
<iframe src="<?php echo 'show_product_thumbs.php?pID='.(int)$_GET['pID'].'&imgID='.(int)$_GET['imgID']; ?>" width="<?php echo $size[0]+40; ?>" height="<?php echo $bheight+5; ?>" border="0" frameborder="0">
<a href="<?php echo 'show_product_thumbs.php?pID='.(int)$_GET['pID'].'&imgID='.(int)$_GET['imgID']; ?>">More Images</a>
</iframe><br>
<?php
}
?>
<a href="#" onClick='window.close();'><?php echo TEXT_CLOSE_WINDOW ?></a>
</center>
</body>
</html>
<?php
// BOF GM_MOD:
mysql_close();
?>| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| PdfCreator/ | 2013-11-12 21:09 | 202.72 KB | 76129f60960:kunden | dxwrx-rx-r | |
| StyleEdit/ | 2013-11-12 21:10 | 1.42 MB | 76129f60960:kunden | dxwrx-rx-r | |
| actindo/ | 2013-11-12 20:52 | 340.67 KB | 76129f60960:kunden | dxwrx-rx-r | |
| admin/ | 2013-11-12 20:53 | 16.69 MB | 76129f60960:kunden | dxwrx-rx-r | |
| cache/ | 2025-01-28 22:35 | 150.58 KB | 76129f60960:kunden | dxwrx-rx-r | |
| callback/ | 2013-11-12 21:01 | 390.73 KB | 76129f60960:kunden | dxwrx-rx-r | |
| download/ | 2025-01-28 22:35 | 109 B | 76129f60960:kunden | dxwrx-rx-r | |
| export/ | 2013-11-12 22:46 | 179.73 KB | 76129f60960:kunden | dxwrx-rx-r | |
| ext/ | 2013-11-12 21:01 | 271.04 KB | 76129f60960:kunden | dxwrx-rx-r | |
| gm/ | 2013-11-12 21:03 | 2.27 MB | 76129f60960:kunden | dxwrx-rx-r | |
| iclear/ | 2013-11-12 21:04 | 1.05 MB | 76129f60960:kunden | dxwrx-rx-r | |
| images/ | 2013-11-14 15:48 | 11.41 MB | 76129f60960:kunden | dxwrx-rx-r | |
| import/ | 2013-11-12 21:05 | 2 B | 76129f60960:kunden | dxwrx-rx-r | |
| inc/ | 2013-11-12 21:05 | 349.91 KB | 76129f60960:kunden | dxwrx-rx-r | |
| includes/ | 2025-01-28 22:35 | 3.75 MB | 76129f60960:kunden | dxwrx-rx-r | |
| lang/ | 2013-11-12 21:07 | 1.95 MB | 76129f60960:kunden | dxwrx-rx-r | |
| lettr/ | 2025-01-28 22:35 | 25.98 KB | 76129f60960:kunden | dxwrx-rx-r | |
| logfiles/ | 2018-07-12 04:18 | 330.63 KB | 76129f60960:kunden | dxwrx-rx-r | |
| media/ | 2013-11-12 22:32 | 15.49 KB | 76129f60960:kunden | dxwrx-rx-r | |
| promo/ | 2013-11-12 21:09 | 119.04 KB | 76129f60960:kunden | dxwrx-rx-r | |
| pub/ | 2025-01-28 22:35 | 38 B | 76129f60960:kunden | dxwrx-rx-r | |
| shopgate/ | 2025-01-28 22:35 | 811.32 KB | 76129f60960:kunden | dxwrx-rx-r | |
| system/ | 2013-11-12 21:11 | 678.06 KB | 76129f60960:kunden | dxwrx-rx-r | |
| templates/ | 2013-11-12 21:11 | 1.71 MB | 76129f60960:kunden | dxwrx-rx-r | |
| templates_c/ | 2017-11-16 23:11 | 158.67 KB | 76129f60960:kunden | dxwrx-rx-r | |
| user_classes/ | 2013-11-12 21:14 | 12.3 KB | 76129f60960:kunden | dxwrx-rx-r | |
| .DS_Store | 2013-11-12 20:51 | 24 KB | 76129f60960:kunden | -xw-x----- | |
| .htaccess | 2025-01-28 22:35 | 99 B | 76129f60960:kunden | -xw-x----- | |
| LICENSE.txt | 2013-11-12 20:52 | 17.83 KB | 76129f60960:kunden | -xw-x----- | |
| LIZENZUEBERSETZUNG.txt | 2013-11-12 20:52 | 25.33 KB | 76129f60960:kunden | -xw-x----- | |
| WICHTIGE_HINWEISE.txt | 2013-11-12 20:52 | 1.87 KB | 76129f60960:kunden | -xw-x----- | |
| account.php | 2013-11-12 20:51 | 1.93 KB | 76129f60960:kunden | -xw-x----- | |
| account_edit.php | 2013-11-12 20:51 | 16.32 KB | 76129f60960:kunden | -xw-x----- | |
| account_history.php | 2013-11-12 20:51 | 5 KB | 76129f60960:kunden | -xw-x----- | |
| account_history_info.php | 2013-11-12 20:51 | 6.57 KB | 76129f60960:kunden | -xw-x----- | |
| account_password.php | 2013-11-12 20:51 | 7.01 KB | 76129f60960:kunden | -xw-x----- | |
| address_book.php | 2013-11-12 20:51 | 1.81 KB | 76129f60960:kunden | -xw-x----- | |
| address_book_process.php | 2013-11-12 20:51 | 16.86 KB | 76129f60960:kunden | -xw-x----- | |
| advanced_search.php | 2013-11-12 20:51 | 1.63 KB | 76129f60960:kunden | -xw-x----- | |
| advanced_search_result.php | 2013-11-12 20:51 | 12.1 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_confirmation.php | 2013-11-12 20:51 | 27.82 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_iclear.php | 2013-11-12 20:51 | 8.82 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_payment.php | 2013-11-12 20:51 | 16.71 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_payment_address.php | 2013-11-12 20:51 | 12.14 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_process.php | 2013-11-12 20:51 | 36.23 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_qpay.php | 2013-11-12 20:51 | 2.67 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_shipping.php | 2013-11-12 20:51 | 14.43 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_shipping_address.php | 2013-11-12 20:51 | 12.66 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_success.php | 2013-11-12 20:51 | 5.89 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_vrepay_elv.php | 2013-11-12 20:51 | 2.3 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_vrepay_giropay.php | 2013-11-12 20:51 | 1.52 KB | 76129f60960:kunden | -xw-x----- | |
| checkout_vrepay_kreditkarte.php | 2013-11-12 20:51 | 2.33 KB | 76129f60960:kunden | -xw-x----- | |
| clickandbuy_check.php | 2013-11-12 20:51 | 3.94 KB | 76129f60960:kunden | -xw-x----- | |
| clickandbuy_ems_push_endpoint.php | 2013-11-12 20:51 | 3.48 KB | 76129f60960:kunden | -xw-x----- | |
| cookie_usage.php | 2013-11-12 20:51 | 1.92 KB | 76129f60960:kunden | -xw-x----- | |
| cout_qpay_iframe.php | 2013-11-12 20:51 | 1 KB | 76129f60960:kunden | -xw-x----- | |
| create_account.php | 2013-11-12 20:51 | 38.03 KB | 76129f60960:kunden | -xw-x----- | |
| create_guest_account.php | 2013-11-12 20:51 | 31.6 KB | 76129f60960:kunden | -xw-x----- | |
| display_vvcodes.php | 2013-11-12 20:51 | 750 B | 76129f60960:kunden | -xw-x----- | |
| download.php | 2013-11-12 20:51 | 3.75 KB | 76129f60960:kunden | -xw-x----- | |
| fax.html | 2013-11-12 20:51 | 3.99 KB | 76129f60960:kunden | -xw-x----- | |
| gm_account_delete.php | 2013-11-12 20:51 | 2.92 KB | 76129f60960:kunden | -xw-x----- | |
| gm_ajax.php | 2013-11-12 20:51 | 1.82 KB | 76129f60960:kunden | -xw-x----- | |
| gm_corner.gif.php | 2013-11-12 20:51 | 3.39 KB | 76129f60960:kunden | -xw-x----- | |
| gm_counter.php | 2013-11-12 20:51 | 143 B | 76129f60960:kunden | -xw-x----- | |
| gm_counter_set_screen.php | 2013-11-12 20:51 | 1.16 KB | 76129f60960:kunden | -xw-x----- | |
| gm_create_vvcodes.php | 2013-11-12 20:51 | 533 B | 76129f60960:kunden | -xw-x----- | |
| gm_css_monitor.php | 2013-11-12 20:51 | 8.94 KB | 76129f60960:kunden | -xw-x----- | |
| gm_ebay.php | 2013-11-12 20:51 | 917 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint.js.php | 2013-11-12 20:51 | 1002 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_ajax.php | 2013-11-12 20:52 | 38.48 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_download.php | 2013-11-12 20:52 | 1.76 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_order_ajax.php | 2013-11-12 20:52 | 1.47 KB | 76129f60960:kunden | -xw-x----- | |
| gm_guestbook.php | 2013-11-12 20:52 | 2.52 KB | 76129f60960:kunden | -xw-x----- | |
| gm_javascript.js.php | 2013-11-12 20:52 | 4.3 KB | 76129f60960:kunden | -xw-x----- | |
| gm_opensearch.php | 2013-11-12 20:52 | 718 B | 76129f60960:kunden | -xw-x----- | |
| gm_price_offer.php | 2013-11-12 20:52 | 1.57 KB | 76129f60960:kunden | -xw-x----- | |
| gm_privacy.php | 2013-11-12 20:52 | 3.2 KB | 76129f60960:kunden | -xw-x----- | |
| gm_product_export_cron.php | 2013-11-12 20:52 | 4.4 KB | 76129f60960:kunden | -xw-x----- | |
| gv_redeem.php | 2013-11-12 20:52 | 3.84 KB | 76129f60960:kunden | -xw-x----- | |
| gv_send.php | 2013-11-12 20:52 | 9.58 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_3dsecure.php | 2013-11-12 20:52 | 966 B | 76129f60960:kunden | -xw-x----- | |
| heidelpay_3dsecure_return.php | 2013-11-12 20:52 | 1.5 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_checkout_iframe.php | 2013-11-12 20:52 | 1.19 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_iframe.php | 2013-11-12 20:52 | 1.24 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_redirect.php | 2013-11-12 20:52 | 2.68 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_response.php | 2013-11-12 20:52 | 3.95 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_style.css | 2013-11-12 20:52 | 1.27 KB | 76129f60960:kunden | -xw-x----- | |
| heidelpay_success.php | 2013-11-12 20:52 | 4.6 KB | 76129f60960:kunden | -xw-x----- | |
| index.php | 2013-11-12 20:52 | 5.89 KB | 76129f60960:kunden | -xw-x----- | |
| login.php | 2013-11-12 20:52 | 2.63 KB | 76129f60960:kunden | -xw-x----- | |
| login_admin.php | 2013-11-12 20:52 | 6.06 KB | 76129f60960:kunden | -xw-x----- | |
| login_mobile.php | 2013-11-12 20:52 | 3.75 KB | 76129f60960:kunden | -xw-x----- | |
| logoff.php | 2013-11-12 20:52 | 2.1 KB | 76129f60960:kunden | -xw-x----- | |
| magnaCallback.php | 2013-11-12 20:52 | 20.86 KB | 76129f60960:kunden | -xw-x----- | |
| magnalister_compatibility_check.php | 2013-11-12 20:52 | 17.23 KB | 76129f60960:kunden | -xw-x----- | |
| media_content.php | 2013-11-12 20:52 | 2.6 KB | 76129f60960:kunden | -xw-x----- | |
| mkd_@_.html | 2014-05-29 21:30 | 5.84 KB | 76129f60960:kunden | -xw-x----- | |
| moneybookers_iframe.php | 2013-11-12 20:52 | 3.07 KB | 76129f60960:kunden | -xw-x----- | |
| newsletter.php | 2013-11-12 20:52 | 10.64 KB | 76129f60960:kunden | -xw-x----- | |
| notify_vrepay_elv.php | 2013-11-12 20:52 | 3.72 KB | 76129f60960:kunden | -xw-x----- | |
| notify_vrepay_giropay.php | 2013-11-12 20:52 | 3.77 KB | 76129f60960:kunden | -xw-x----- | |
| notify_vrepay_kreditkarte.php | 2013-11-12 20:52 | 3.81 KB | 76129f60960:kunden | -xw-x----- | |
| password_double_opt.php | 2013-11-12 20:52 | 11.65 KB | 76129f60960:kunden | -xw-x----- | |
| paypal_api_check.php | 2013-11-12 20:52 | 7.37 KB | 76129f60960:kunden | -xw-x----- | |
| paypal_checkout.php | 2013-11-12 20:52 | 39.45 KB | 76129f60960:kunden | -xw-x----- | |
| popup_content.php | 2013-11-12 20:52 | 3.3 KB | 76129f60960:kunden | -xw-x----- | |
| popup_coupon_help.php | 2013-11-12 20:52 | 5.08 KB | 76129f60960:kunden | -xw-x----- | |
| popup_cvv.php | 2013-11-12 20:52 | 2.69 KB | 76129f60960:kunden | -xw-x----- | |
| popup_image.php | 2013-11-12 20:52 | 5.03 KB | 76129f60960:kunden | -xw-x----- | |
| popup_search_help.php | 2013-11-12 20:52 | 1.64 KB | 76129f60960:kunden | -xw-x----- | |
| print_order.php | 2013-11-12 20:52 | 3.23 KB | 76129f60960:kunden | -xw-x----- | |
| print_product_info.php | 2013-11-12 20:52 | 7.29 KB | 76129f60960:kunden | -xw-x----- | |
| product_info.php | 2013-11-12 20:52 | 2.63 KB | 76129f60960:kunden | -xw-x----- | |
| product_reviews.php | 2013-11-12 20:52 | 4.58 KB | 76129f60960:kunden | -xw-x----- | |
| product_reviews_info.php | 2013-11-12 20:52 | 4.92 KB | 76129f60960:kunden | -xw-x----- | |
| product_reviews_write.php | 2013-11-12 20:52 | 7.13 KB | 76129f60960:kunden | -xw-x----- | |
| products_new.php | 2013-11-12 20:52 | 8.04 KB | 76129f60960:kunden | -xw-x----- | |
| redirect.php | 2013-11-12 20:52 | 3.77 KB | 76129f60960:kunden | -xw-x----- | |
| release_info.php | 2013-11-12 20:52 | 82 B | 76129f60960:kunden | -xw-x----- | |
| request_port.php | 2013-11-12 20:52 | 5.4 KB | 76129f60960:kunden | -xw-x----- | |
| reviews.php | 2013-11-12 20:52 | 4.25 KB | 76129f60960:kunden | -xw-x----- | |
| robots.txt | 2013-11-12 20:52 | 3.36 KB | 76129f60960:kunden | -xw-x----- | |
| send_order.php | 2013-11-12 20:52 | 9.69 KB | 76129f60960:kunden | -xw-x----- | |
| shop_content.php | 2013-11-12 20:52 | 8.22 KB | 76129f60960:kunden | -xw-x----- | |
| shopping_cart.php | 2013-11-12 20:52 | 2.08 KB | 76129f60960:kunden | -xw-x----- | |
| show_product_thumbs.php | 2013-11-12 20:52 | 2.33 KB | 76129f60960:kunden | -xw-x----- | |
| sitemap1.xml | 2013-11-14 19:16 | 2.04 KB | 76129f60960:kunden | -xw-x----- | |
| specials.php | 2013-11-12 20:52 | 5.02 KB | 76129f60960:kunden | -xw-x----- | |
| ssl_check.php | 2013-11-12 20:52 | 1.9 KB | 76129f60960:kunden | -xw-x----- | |
| stylesheet_new.css | 2013-11-12 20:52 | 26.88 KB | 76129f60960:kunden | -xw-x----- | |
| vrepay_kreditkarte.php | 2013-11-12 20:52 | 26.35 KB | 76129f60960:kunden | -xw-x----- | |
| wish_list.php | 2013-11-12 20:52 | 2.28 KB | 76129f60960:kunden | -xw-x----- | |
| wpcallback.php | 2013-11-12 20:52 | 3.5 KB | 76129f60960:kunden | -xw-x----- | |
| xtbcallback.php | 2013-11-12 20:52 | 12.48 KB | 76129f60960:kunden | -xw-x----- | |
| yatego.php | 2013-11-12 20:52 | 1.36 KB | 76129f60960:kunden | -xw-x----- | |