<?php
/* --------------------------------------------------------------
gm_gprint_order.php 2010-03-22 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]
--------------------------------------------------------------
*/
?><?php
require_once(DIR_FS_CATALOG . 'gm/modules/gm_gprint_tables.php');
require_once(DIR_FS_CATALOG . 'gm/classes/GMGPrintConfiguration.php');
require_once(DIR_FS_CATALOG . 'gm/classes/GMGPrintContentManager.php');
$coo_gm_gprint_content_manager = new GMGPrintContentManager();
$coo_gm_gprint_order_data = $coo_gm_gprint_content_manager->get_content_by_orders_id($oID);
if(!empty($coo_gm_gprint_order_data))
{
if(strpos($attributes_data, '<br />: <br />') > 0 || strpos($attributes_data, '<br />:<br />') > 0)
{
$attributes_data = str_replace('<br />: <br />', '', $attributes_data);
$attributes_data = str_replace('<br />:<br />', '', $attributes_data);
if(substr($attributes_model, -6) == '<br />')
{
$attributes_model = substr($attributes_model, 0, -6);
}
}
elseif(strpos($attributes_data, '<br />: <br />') === 0 || strpos($attributes_data, '<br />:<br />') === 0)
{
$attributes_data = str_replace('<br />: <br />', '', $attributes_data);
$attributes_data = str_replace('<br />:<br />', '', $attributes_data);
if(substr($attributes_model, 0, 12) == '<br /><br />')
{
$attributes_model = substr($attributes_model, 6);
}
}
elseif(strrpos($attributes_data, '<br />:') !== false && strrpos($attributes_data, '<br />:') - strlen($attributes_data) <= -7)
{
if(strrpos($attributes_data, '<br />:') !== 0)
{
$attributes_data = substr($attributes_data, 0, strrpos($attributes_data, '<br />:'));
}
if(substr($attributes_model, -6) == '<br />')
{
$attributes_model = substr($attributes_model, 0, -6);
}
}
$attributes_data = str_replace(':', ': ', $attributes_data);
$attributes_data = str_replace(': ', ': ', $attributes_data);
for($i = 0; $i < count($coo_gm_gprint_order_data[$order_data_values['orders_products_id']]); $i++)
{
$attributes_data .= '<br />' . $coo_gm_gprint_order_data[$order_data_values['orders_products_id']][$i]['NAME'] . ': ' . $coo_gm_gprint_order_data[$order_data_values['orders_products_id']][$i]['VALUE'];
$attributes_model .= '<br />';
}
}
?>| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| gm_gprint_admin_application_top.php | 2013-11-12 21:02 | 2.63 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_categories.php | 2013-11-12 21:02 | 713 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_column_left.php | 2013-11-12 21:02 | 673 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_general.php | 2013-11-12 21:02 | 829 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_gm_pdf_order.php | 2013-11-12 21:02 | 1.27 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_gm_send_order.php | 2013-11-12 21:02 | 2.39 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_header.php | 2013-11-12 21:02 | 619 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_new_category.php | 2013-11-12 21:02 | 2.06 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_new_product.php | 2013-11-12 21:02 | 1.29 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_orders.php | 2013-11-12 21:02 | 2.79 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_orders_2.php | 2013-11-12 21:02 | 1.69 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_orders_css.php | 2013-11-12 21:02 | 458 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_admin_orders_js.php | 2013-11-12 21:02 | 524 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_application_top.php | 2013-11-12 21:02 | 1.49 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_cart_actions.php | 2013-11-12 21:02 | 2.95 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_checkout.php | 2013-11-12 21:02 | 534 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_checkout_confirmation.php | 2013-11-12 21:02 | 1.2 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_checkout_process.php | 2013-11-12 21:02 | 492 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_header_css.php | 2013-11-12 21:02 | 979 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_header_js.php | 2013-11-12 21:02 | 144 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_login.php | 2013-11-12 21:02 | 120 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_order.php | 2013-11-12 21:02 | 2.4 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_order_details_cart.php | 2013-11-12 21:02 | 505 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_order_details_cart_2.php | 2013-11-12 21:02 | 1.14 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_order_details_wishlist.php | 2013-11-12 21:02 | 1.73 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_product_info.php | 2013-11-12 21:02 | 835 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_tables.php | 2013-11-12 21:02 | 1.3 KB | 76129f60960:kunden | -xw-x----- | |
| gm_graduated_prices.php | 2013-11-12 21:02 | 1.48 KB | 76129f60960:kunden | -xw-x----- | |
| gm_popup_header.php | 2013-11-12 21:02 | 2.65 KB | 76129f60960:kunden | -xw-x----- | |
| gm_product_attributes.php | 2013-11-12 21:02 | 9.43 KB | 76129f60960:kunden | -xw-x----- | |