Hallo,
ich habe ein rießen Problem. Ich suche verzweifelt ein Export Modul den ich mal installiert hatte.
Mit diesem Modul hat man bestimmte selbst angefertigte TPL dateien modifizieren können und dann mit dem Aufruf
export/export.php?type=html&fname=sitemap.html&mode=server&ftype=multi&nohtml=1&epath=/sitemap
die nötigen Files generiert.
Die TPL datei hat z.B: so ausgeschaut.
{$expo.products_name} {$expo.products_clean_description|truncate:160:"...":true} {$expo.final_price} http://www.....net/product_info.php/refID/hws/info/p{$expo.products_id}_{$expo.products_clean_name}.html {$expo.products_model} http://www.....net/images/product_images/thumbnail_images/{$expo.products_image} 1 {$expo.categorie1} 3.90 Handy-Town
und der Quellcode lautet so.
<?
/*------------------------------------------------------------------------
template based export function for XT-Commerce
copyright by joern steinhauer
last modified: 2006-03-09
Version 2.3, usable for XTC 3.04 or later.
------------------------------------------------------------------------*/
# define base server root directory
define ('BASE_INCLUDE', $_SERVER["DOCUMENT_ROOT"] . '/');
$_REQUEST['test'] = '0';
# include needed files
require_once (BASE_INCLUDE . 'includes/application_top_doexport.php');
require_once (DIR_WS_CLASSES . 'xtcPrice.php');
require_once (DIR_FS_INC . 'xtc_get_tax_rate.inc.php');
require_once (DIR_FS_INC . 'xtc_get_qty.inc.php');
require_once (DIR_FS_INC . 'xtc_href_link.inc.php');
require_once (DIR_WS_INCLUDES . 'write_customers_status.php');
#define sql statements
defineSQL();
# set default vars
$_SESSION['customers_status']['customers_status_ot_discount_flag'] = 0;
$_SESSION['customers_status']['customers_status_ot_discount'] = 0.00;
$adminmail = 'webmaster@....';
$adminname = 'Webmaster';
$vars = $_REQUEST;
$vars['from'] = nvl($vars['from'], 0); # not used
$vars['to'] = nvl($vars['to'], 0); # not used
$vars['type'] = nvl($vars['type'], ''); # template to use, type of export
$vars['mode'] = nvl($vars['mode'], 'screen'); # mode of export - screen, file or server
$vars['ftype'] = nvl($vars['ftype'], 'single'); # filetype - single or multi
$vars['fname'] = nvl($vars['fname'], 'export.txt'); # filename for export
$vars['language'] = nvl($vars['language'], 2); # language to export
$vars['nohtml'] = nvl($vars['nohtml'], 1); # remove html code from description
$vars['debug'] = nvl($vars['debug'], 0); # debugmode
$vars['epath'] = nvl($vars['epath'], '/export/'); # export path
$vars['sitemap'] = nvl($vars['sitemap'], 0); # sitemap creation
Weiß jemand um welches Modul es hierbei geht? Und hat das jemand noch rumliegen?
Bitte um eure Hilfe
Gruß
Serkan