<?php
/* --------------------------------------------------------------
gm_feature_control.php 2010-12-15 mb
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(configuration.php,v 1.40 2002/12/29); www.oscommerce.com
(c) 2003 nextcommerce (configuration.php,v 1.16 2003/08/19); www.nextcommerce.org
(c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: configuration.php 1125 2005-07-28 09:59:44Z novalis $)
Released under the GNU General Public License
--------------------------------------------------------------*/
// needed includes
require_once('includes/application_top.php');
require_once(DIR_FS_CATALOG . 'gm/inc/gm_save_template_file.inc.php');
// preparations
$languages_installed = xtc_get_languages();
$lang_all = (!empty($_REQUEST['lang_all'])) ? true : false;
$lang_shop = (int) $_SESSION['languages_id'];
$feature_id = (!empty($_REQUEST['feature_id'])) ? (int) $_REQUEST['feature_id'] : 0;
$feature_value_id = (!empty($_REQUEST['feature_value_id'])) ? (int) $_REQUEST['feature_value_id'] : 0;
$feature_array = array();
$feature_values_array = array();
// needed control object
$coo_filter_control = MainFactory::create_object('FeatureControl');
//-- FUNCTIONS -------------------------------------------------------------------------------------------------------
// generate HTML for New feature input
function generateNewFeature()
{
global $languages_installed;
global $lang_all;
global $lang_shop;
$html = '';
foreach($languages_installed as $l_key => $lang_data) {
$t_lang_id = (int) $lang_data['id'];
$t_lang_dir = $lang_data['directory'];
$t_lang_img = $lang_data['image'];
if ($lang_all || (!$lang_all && ($t_lang_id == $lang_shop))) {
$icon = xtc_image(DIR_WS_LANGUAGES.$t_lang_dir.'/admin/images/'.$t_lang_img);
$html .= $icon.' '.'<input type="text" style="width:160px;" name="featNew['.$t_lang_id.']">'."<br>\n";
}
}
return $html;
}
// generate HTML for Feature Name input
function generateFeatureName()
{
global $languages_installed;
global $lang_all;
global $lang_shop;
global $feature_array;
global $feature_id;
$html = '';
foreach ($feature_array as $f_key => $coo_feature) {
$t_feature_id = $coo_feature->v_feature_id;
$t_feature_name_array = $coo_feature->v_feature_name_array;
$t_feature_admin_name_array = $coo_feature->v_feature_admin_name_array;
if ($t_feature_id != $feature_id) continue;
$t_count = 0;
foreach($languages_installed as $l_key => $lang_data) {
$t_lang_id = (int) $lang_data['id'];
$t_lang_dir = $lang_data['directory'];
$t_lang_img = $lang_data['image'];
if ($lang_all || (!$lang_all && ($t_lang_id == $lang_shop))) {
$icon = xtc_image(DIR_WS_LANGUAGES.$t_lang_dir.'/admin/images/'.$t_lang_img);
$html .= $icon.' '.'<input type="text" style="width:160px;" name="featName['.$feature_id.']['.$t_lang_id.']" value="'.$t_feature_name_array[$t_lang_id].'">'." ";
if (empty($t_count)) $html .= '<input type="checkbox" name="delFeat['.$feature_id.']['.$t_lang_id.']">'.TEXT_DELETE;
$html .= "<br>\n";
$html .= $icon.' '.'<input type="text" style="width:160px;" name="featAdminName['.$feature_id.']['.$t_lang_id.']" value="'.$t_feature_admin_name_array[$t_lang_id].'">'." <-- Name intern";
$html .= "<br>\n";
$t_count++;
}
}
}
return $html;
}
// generate HTML for Feature List
function generateFeatureSelect()
{
global $languages_installed;
global $lang_all;
global $lang_shop;
global $feature_array;
global $feature_id;
$html = ''."<br>\n";
foreach ($feature_array as $f_key => $coo_feature) {
$t_feature_id = $coo_feature->v_feature_id;
$t_feature_name_array = $coo_feature->v_feature_name_array;
foreach($languages_installed as $l_key => $lang_data) {
$t_lang_id = (int) $lang_data['id'];
$t_lang_code = $lang_data['code'];
if (($lang_all || (!$lang_all && ($t_lang_id == $lang_shop))) && !empty($t_feature_name_array[$t_lang_id])) {
$t_mark = ($t_feature_id == $feature_id) ? '<span style="color:#006699;font-weight:bold;">' : '<span>';
$html .= '<a href="'.xtc_href_link(FILENAME_GM_FEATURE_CONTROL, '', 'NONSSL').'?feature_id='.$t_feature_id.'&lang_all='.(int)$lang_all.'">('.$t_lang_code.') '.$t_mark.$t_feature_name_array[$t_lang_id].'</span></a>'."<br>\n";
}
}
}
return $html;
}
// generate HTML for New Feature Value
function generateNewValue()
{
global $languages_installed;
global $lang_all;
global $lang_shop;
global $feature_id;
$html = '';
foreach($languages_installed as $l_key => $lang_data) {
$t_lang_id = (int) $lang_data['id'];
$t_lang_dir = $lang_data['directory'];
$t_lang_img = $lang_data['image'];
if ($lang_all || (!$lang_all && ($t_lang_id == $lang_shop))) {
$icon = xtc_image(DIR_WS_LANGUAGES.$t_lang_dir.'/admin/images/'.$t_lang_img);
$html .= $icon.' '.'<input type="text" style="width:160px;" name="featValueNew['.$feature_id.']['.$t_lang_id.']">'."<br>\n";
}
}
return $html;
}
// generate HTML for value list
function generateValueList()
{
global $languages_installed;
global $lang_all;
global $lang_shop;
global $feature_values_array;
global $feature_value_id;
$html = '';
foreach($feature_values_array as $v_key => $coo_value) {
$t_feature_id = (int) $coo_value->v_feature_id;
$t_value_id = (int) $coo_value->v_feature_value_id;
$t_value_sort = (int) $coo_value->v_sort_order;
$t_value_name_array = $coo_value->v_feature_value_text_array;
$t_count = 0;
foreach($languages_installed as $l_key => $lang_data) {
$t_lang_id = (int) $lang_data['id'];
$t_lang_dir = $lang_data['directory'];
$t_lang_img = $lang_data['image'];
if ($lang_all || (!$lang_all && ($t_lang_id == $lang_shop))) {
$icon = xtc_image(DIR_WS_LANGUAGES.$t_lang_dir.'/admin/images/'.$t_lang_img);
$html .= $icon.' '.'<input type="text" style="width:160px;" name="featValue['.$t_value_id.']['.$t_lang_id.']" value="'.$t_value_name_array[$t_lang_id].'">'." ";
if (empty($t_count)) {
$html .= ' <input type="text" name="valueSort['.$t_value_id.']" value="'.$t_value_sort.'" style="width:20px;">';
$html .= '<input type="checkbox" name="delValue['.$t_value_id.']['.$t_lang_id.']">'.TEXT_DELETE;
$t_mark = ($t_value_id == $feature_value_id) ? '<span style="color:#006699;font-weight:bold;">' : '<span>';
$html .= ' <a href="'.xtc_href_link(FILENAME_GM_FEATURE_CONTROL, '', 'NONSSL').'?feature_id='.$t_feature_id.'&feature_value_id='.$t_value_id.'&lang_all='.(int)$lang_all.'" style="width:20px;">'.$t_mark.'['.TEXT_LINKED.']</span></a>';
$t_count++;
}
$html .= "<br>\n";
}
}
}
return $html;
}
// generate HTML for Feature Value linking
function generateParentList()
{
global $coo_filter_control;
global $languages_installed;
global $lang_all;
global $lang_shop;
global $feature_array;
global $feature_value_id;
global $feature_id;
$html = '';
$coo_feature_value = $coo_filter_control->create_feature_value();
$coo_feature_value->load($feature_value_id);
$t_value_parent_array = $coo_feature_value->v_parent_feature_id_array;
foreach ($feature_array as $f_key => $coo_feature) {
$t_feature_id = $coo_feature->v_feature_id;
if ($t_feature_id == $feature_id) continue;
$t_feature_name_array = $coo_feature->v_feature_name_array;
foreach($languages_installed as $l_key => $lang_data) {
$t_lang_id = (int) $lang_data['id'];
$t_lang_dir = $lang_data['directory'];
$t_lang_img = $lang_data['image'];
$t_lang_code = $lang_data['code'];
if ($t_lang_id != $lang_shop) continue;
if (($lang_all || (!$lang_all && ($t_lang_id == $lang_shop))) && !empty($t_feature_name_array[$t_lang_id])) {
$icon = xtc_image(DIR_WS_LANGUAGES.$t_lang_dir.'/admin/images/'.$t_lang_img);
$html .= '<span style="font-weight:bold;color:#006699;">"'.$t_feature_name_array[$t_lang_id].'"</span>'."<br>\n";
$t_feature_value_array = $coo_filter_control->get_feature_value_array(array('feature_id'=>$t_feature_id), array('sort_order'));
$html .= '<select size="5" name="parentId['.$t_feature_id.'][]" multiple="multiple" style="width:300px;">'."<br>\n";
foreach($t_feature_value_array as $v_key => $coo_value) {
$t_value_id = (int) $coo_value->v_feature_value_id;
$t_value_name_array = $coo_value->v_feature_value_text_array;
foreach($languages_installed as $vl_key => $v_lang_data) {
$t_value_lang_id = (int) $v_lang_data['id'];
if ($t_value_lang_id != $lang_shop) continue;
if (!empty($t_value_name_array[$t_value_lang_id])) {
$select = (in_array($t_value_id, $t_value_parent_array)) ? ' selected="selected"' : '';
$html .= '<option value="'.$t_value_id.'"'.$select.'>'.$t_value_name_array[$t_value_lang_id].'</option>'."<br>\n";
}
}
}
$html .= '</select>'."<br>\n";
$html .= "<br>\n";
}
}
}
return $html;
}
//-- ACTIONS ---------------------------------------------------------------------------------------------------------
// save new feature data
// $featNew[lang]
if (isset($_POST['new'])) {
$coo_feature = $coo_filter_control->create_feature();
$do_new = false;
foreach ($_POST['featNew'] as $f_lang_id => $f_name) {
if (!empty($f_name)) {
$do_new = true;
$coo_feature->set_name($f_lang_id, $f_name);
}
}
$feature_id = 0;
if ($do_new) $feature_id = $coo_feature->save();
$coo_feature = NULL;
}
// save feature value data
// $featName[featId][lang]
// $featValueNew[featId][lang]
// $featValue[valueId][lang]
if (isset($_POST['save'])) {
# feature name
if (!empty($_POST['featName'])) {
$t_name_array = array();
foreach ($_POST['featName'] as $f_feat_id => $f_names_array) {
foreach ($f_names_array as $f_lang_id => $f_feat_name) {
if (!empty($f_feat_name)) $t_name_array[$feature_id][$f_lang_id] = $f_feat_name;
}
}
$t_admin_name_array = array();
foreach ($_POST['featAdminName'] as $f_feat_id => $f_names_array) {
foreach ($f_names_array as $f_lang_id => $f_feat_name) {
if (!empty($f_feat_name)) $t_admin_name_array[$feature_id][$f_lang_id] = $f_feat_name;
}
}
foreach ($t_name_array as $f_feat_id => $f_names_array) {
$coo_feature = $coo_filter_control->create_feature();
$coo_feature->set_feature_id($feature_id);
foreach ($f_names_array as $f_lang_id => $f_name) {
if (!empty($f_name)) {
$coo_feature->set_name($f_lang_id, $f_name);
if (!empty($t_admin_name_array[$f_feat_id][$f_lang_id])) {
$coo_feature->set_admin_name($f_lang_id, $t_admin_name_array[$f_feat_id][$f_lang_id]);
}
}
}
if (!empty($coo_feature->v_feature_name_array)) $done = $coo_feature->save();
$coo_feature = NULL;
}
}
# new feature value
if (!empty($_POST['featValueNew'])) {
foreach ($_POST['featValueNew'] as $v_feat_id => $v_names_array) {
$coo_feature_value = $coo_filter_control->create_feature_value();
$coo_feature_value->set_feature_id($feature_id);
foreach ($v_names_array as $v_lang_id => $v_value_name) {
if (!empty($v_value_name)) $coo_feature_value->set_text($v_lang_id, $v_value_name);
}
if (!empty($coo_feature_value->v_feature_value_text_array)) $done = $coo_feature_value->save();
$coo_feature_value = NULL;
}
}
# feature values
if (!empty($_POST['featValue'])) {
foreach ($_POST['featValue'] as $v_feat_value_id => $v_names_array) {
$coo_feature_value = $coo_filter_control->create_feature_value();
$coo_feature_value->set_feature_id($feature_id);
$coo_feature_value->set_feature_value_id($v_feat_value_id);
$v_sort_order = $_POST['valueSort'][$v_feat_value_id];
$coo_feature_value->set_sort_order($v_sort_order);
foreach ($v_names_array as $v_lang_id => $v_value_name) {
if (!empty($v_value_name)) $coo_feature_value->set_text($v_lang_id, $v_value_name);
}
if (!empty($coo_feature_value->v_feature_value_text_array)) $done = $coo_feature_value->save();
$coo_feature_value = NULL;
}
}
# parent ids
# $parentId[feat_id][1..n]
if (!empty($_POST['parentId'])) {
$coo_feature_value = $coo_filter_control->create_feature_value();
$coo_feature_value->set_feature_id($feature_id);
$coo_feature_value->set_feature_value_id($feature_value_id);
$v_sort_order = $_POST['valueSort'][$feature_value_id];
$coo_feature_value->set_sort_order($v_sort_order);
foreach ($_POST['parentId'] as $t_feat_id => $parent_id_array) {
foreach ($parent_id_array as $key => $parent_id) {
$coo_feature_value->add_parent_feature_value_id($parent_id);
}
}
if (!empty($coo_feature_value->v_parent_feature_id_array)) $done = $coo_feature_value->save();
$coo_feature_value = NULL;
}
# delete selected entries
# $delFeat[feat_id][lang]
# $delValue[value_id][lang]
$feature_deleted = false;
if (!empty($_POST['delFeat'])) {
foreach ($_POST['delFeat'] as $f_feat_id => $f_names_array) {
$coo_feature = $coo_filter_control->create_feature();
$coo_feature->set_feature_id($feature_id);
foreach ($v_names_array as $v_lang_id => $v_checked) {
$coo_feature->delete($v_lang_id);
}
$coo_feature = NULL;
$feature_deleted = true;
}
}
if (!empty($_POST['delValue'])) {
foreach ($_POST['delValue'] as $v_feat_value_id => $v_value_names_array) {
$coo_feature_value = $coo_filter_control->create_feature_value();
$coo_feature_value->set_feature_value_id($v_feat_value_id);
foreach ($v_names_array as $v_lang_id => $v_checked) {
$coo_feature_value->delete($v_lang_id);
}
$coo_feature_value = NULL;
}
}
# set feature id = 0 if this feature was deleted
if ($feature_deleted) $feature_id = 0;
}
// save pricefilter
if(isset($_POST['save_price'])) {
$value_price_from = 'false';
if(isset($_POST['price_from'])) {
$value_price_from = 'true';
}
$result_from = gm_set_conf('PRICE_FILTER_FROM_ACTIVE', $value_price_from);
$value_price_to = 'false';
if(isset($_POST['price_to'])) {
$value_price_to = 'true';
}
$result_to = gm_set_conf('PRICE_FILTER_TO_ACTIVE', $value_price_to);
}
// load all filter data for selection
$feature_array = $coo_filter_control->get_feature_array();
// load value data if feature_id is set
if (!empty($feature_id)) {
$feature_values_array = $coo_filter_control->get_feature_value_array(array('feature_id'=>$feature_id), array('sort_order'));
}
// CATEGORIES-FILTER
$coo_feature_helper = MainFactory::create_object('FeatureFunctionHelper');
$coo_control = MainFactory::create_object('FeatureControl');
$feature_array = $coo_control->get_feature_array();
// CATEGORIES-FILTER
// 'new feature'
if (isset($_POST['insert_feature'])) {
$coo_feature_helper->new_feature($_GET['cID'], $_POST['featureSelect']);
$coo_control = NULL;
$coo_filter = NULL;
$_GET['action'] = 'edit_category';
}
// 'save feature data'
// 'delete feature filter'
if (isset($_POST['save_features'])) {
$coo_feature_helper->save_feature($_GET['cID']);
$coo_control = NULL;
$_GET['action'] = 'edit_category';
}
//-- HTML ------------------------------------------------------------------------------------------------------------
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_SESSION['language_charset']; ?>">
<title><?php echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
<?php require_once(DIR_WS_INCLUDES . 'header.php'); ?>
<table border="0" width="100%" cellspacing="2" cellpadding="2">
<tr>
<td class="columnLeft2" width="<?php echo BOX_WIDTH; ?>" valign="top">
<table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<?php require_once(DIR_WS_INCLUDES . 'column_left.php'); ?>
</table>
</td>
<td class="boxCenter" width="100%" valign="top">
<div class="pageHeading" style="background-image:url(images/gm_icons/gambio.png)"><?php echo HEADING_TITLE; ?></div>
<br />
<?php echo xtc_draw_form('featurecontrol', FILENAME_GM_FEATURE_CONTROL, 'page='.$_GET['page'], 'post', 'enctype="multipart/form-data"'); ?>
<input type="hidden" name="feature_id" value="<?php echo (int)$feature_id; ?>">
<input type="hidden" name="feature_value_id" value="<?php echo (int)$feature_value_id; ?>">
<input type="hidden" name="lang_all" value="<?php echo (int)$lang_all; ?>">
<div style="float:left;width:28%;">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="150" valign="middle" class="dataTableHeadingContent">
<?php echo MENU_TITLE_FEATURE_NEW; ?>
</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="gm_border dataTableRow">
<tr>
<td valign="top" class="main">
<div id="gm_box_content">
<?php echo TEXT_NEW_FEATURE; ?>:<br>
<a href="<?php echo xtc_href_link(FILENAME_GM_FEATURE_CONTROL, '', 'NONSSL'); ?>?feature_id=<?php echo $feature_id; ?>&lang_all=1">[<?php echo TEXT_LANG_ALL; ?>]</a>
<a href="<?php echo xtc_href_link(FILENAME_GM_FEATURE_CONTROL, '', 'NONSSL'); ?>?feature_id=<?php echo $feature_id; ?>&lang_all=0">[<?php echo TEXT_LANG_SHOP; ?>]</a><br><br>
<?php echo generateNewFeature(); ?>
<br>
<input class="button" onclick="this.blur();" value="<?php echo TEXT_BTN_NEW; ?>" name="new" type="submit">
</div>
</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="150" valign="middle" class="dataTableHeadingContent">
<?php echo MENU_TITLE_PRICE_FILTER; ?>
</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="gm_border dataTableRow">
<tr>
<td valign="top" class="main">
<div id="gm_box_content">
<?php
$check_price_from = false;
if(gm_get_conf('PRICE_FILTER_FROM_ACTIVE') == 'true') {
$check_price_from = true;
}
echo xtc_draw_checkbox_field('price_from', '1', $check_price_from);
?> <?php echo TEXT_SHOW_PRICE_FROM; ?>
</div>
</td>
</tr>
<tr>
<td valign="top" class="main">
<div id="gm_box_content">
<?php
$check_price_to = false;
if(gm_get_conf('PRICE_FILTER_TO_ACTIVE') == 'true') {
$check_price_to = true;
}
echo xtc_draw_checkbox_field('price_to', '1', $check_price_to);
?> <?php echo TEXT_SHOW_PRICE_TO; ?>
</div>
</td>
</tr>
<tr>
<td valign="top" class="main">
<div id="gm_box_content">
<input class="button" onclick="this.blur();" value="<?php echo TEXT_BTN_SAVE; ?>" name="save_price" type="submit">
</div>
</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="150" valign="middle" class="dataTableHeadingContent">
<?php echo MENU_TITLE_FEATURE; ?>
</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="gm_border dataTableRow">
<tr>
<td valign="top" class="main">
<div id="gm_box_content">
<?php echo TEXT_FEATURE; ?>:<br>
<?php echo generateFeatureSelect(); ?>
</div>
</td>
</tr>
</table>
</div>
<?php if (!empty($feature_id)) { ?>
<div style="float:left;width:35%;margin-left:5px;">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="150" valign="middle" class="dataTableHeadingContent">
<?php echo MENU_TITLE_FEATURE_VALUES; ?>
</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="gm_border dataTableRow">
<tr>
<td valign="top" class="main">
<div id="gm_box_content">
<?php echo TEXT_FEATURE_NAME; ?>:<br><br>
<?php echo generateFeatureName(); ?>
<br><hr size="1" noshade width="99%">
</div>
</td>
</tr>
<tr>
<td valign="top" class="main">
<div id="gm_box_content">
<?php echo TEXT_NEW_FEATURE_VALUE; ?>:<br><br>
<?php echo generateNewValue(); ?>
</div>
</td>
</tr>
<tr>
<td valign="top" class="main">
<br>
<input class="button" onclick="this.blur();" value="<?php echo TEXT_BTN_SAVE; ?>" name="save" type="submit">
</td>
</tr>
<?php if (!empty($feature_values_array)) { ?>
<tr>
<td valign="top" class="main">
<br><hr size="1" noshade width="99%">
<div id="gm_box_content">
<?php echo TEXT_FEATURE_VALUES; ?>:<br><br>
<?php echo generateValueList(); ?>
</div>
</td>
</tr>
<tr>
<td valign="top" class="main">
<br>
<input class="button" onclick="this.blur();" value="<?php echo TEXT_BTN_SAVE; ?>" name="save" type="submit">
</td>
</tr>
<?php } ?>
</table>
</div>
<?php } ?>
<?php if (!empty($feature_value_id)) { ?>
<div style="float:left;width:35%;margin-left:5px;">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="150" valign="middle" class="dataTableHeadingContent">
<?php echo MENU_TITLE_FEATURE_VALUES_PARENT; ?>
</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="gm_border dataTableRow">
<tr>
<td valign="top" class="main">
<div id="gm_box_content">
<?php echo generateParentList(); ?>
</div>
</td>
</tr>
<tr>
<td valign="top" class="main">
<br>
<input class="button" onclick="this.blur();" value="<?php echo TEXT_BTN_SAVE; ?>" name="save" type="submit">
</td>
</tr>
</table>
</div>
<?php } ?>
</div>
<!-- CATEGORIES-FILTER -->
<table style="clear: both; width: 600px;" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" valign="middle" class="dataTableHeadingContent">
<?php echo TITLE_FEATURES; ?>
</td>
</tr>
</table>
<table border="0" width="600px" cellspacing="3" cellpadding="3" class="gm_border dataTableRow">
<tr>
<td class="main strong" valign="top" align="left">
<?php if (!empty($feature_array)) { ?>
<?php echo $coo_feature_helper->generate_feature_select(); ?>
<input type="submit" name="insert_feature" value="<?php echo BUTTON_ADD; ?>" class="button">
<br><br>
<table width="100%" cellspacing="1" cellpadding="1" border="0">
<?php echo $coo_feature_helper->generate_feature_list(0); ?>
</table>
<input type="submit" name="save_features" value="<?php echo BUTTON_SAVE; ?>" class="button">
<?php } else { ?>
<?php echo TEXT_FEATURE_CREATE; ?><br>
<?php } ?>
</td>
</tr>
</table>
<!-- CATEGORIES-FILTER -->
<?php echo '</form><br>'."\n"; ?>
</td>
</tr>
</table>
<?php require_once(DIR_WS_INCLUDES . 'footer.php'); ?>
<br />
</body>
</html>
<?php require_once(DIR_WS_INCLUDES . 'application_bottom.php'); ?>| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| backups/ | 2025-01-28 22:35 | 109 B | 76129f60960:kunden | dxwrx-rx-r | |
| gm/ | 2013-11-12 20:53 | 3.67 MB | 76129f60960:kunden | dxwrx-rx-r | |
| images/ | 2013-11-12 20:54 | 728.74 KB | 76129f60960:kunden | dxwrx-rx-r | |
| includes/ | 2013-11-12 20:54 | 9.48 MB | 76129f60960:kunden | dxwrx-rx-r | |
| sync4/ | 2013-11-12 20:53 | 13 B | 76129f60960:kunden | dxwrx-rx-r | |
| templates/ | 2013-11-12 20:54 | 91.42 KB | 76129f60960:kunden | dxwrx-rx-r | |
| yoochoose/ | 2013-11-12 20:54 | 592.85 KB | 76129f60960:kunden | dxwrx-rx-r | |
| accounting.php | 2013-11-12 20:52 | 8.29 KB | 76129f60960:kunden | -xw-x----- | |
| backup.php | 2013-11-12 20:52 | 26.38 KB | 76129f60960:kunden | -xw-x----- | |
| banner_manager.php | 2013-11-12 20:53 | 25.85 KB | 76129f60960:kunden | -xw-x----- | |
| banner_statistics.php | 2013-11-12 20:52 | 8.07 KB | 76129f60960:kunden | -xw-x----- | |
| billsafe_orders_2.php | 2013-11-12 20:53 | 40.46 KB | 76129f60960:kunden | -xw-x----- | |
| billsafe_print_order_2.php | 2013-11-12 20:52 | 13.06 KB | 76129f60960:kunden | -xw-x----- | |
| blacklist.php | 2013-11-12 20:52 | 11.53 KB | 76129f60960:kunden | -xw-x----- | |
| brickfox.php | 2013-11-12 20:53 | 5.46 KB | 76129f60960:kunden | -xw-x----- | |
| campaigns.php | 2013-11-12 20:52 | 10.85 KB | 76129f60960:kunden | -xw-x----- | |
| categories.php | 2013-11-12 20:52 | 18.53 KB | 76129f60960:kunden | -xw-x----- | |
| clear_cache.php | 2013-11-12 20:52 | 8.46 KB | 76129f60960:kunden | -xw-x----- | |
| configuration.php | 2013-11-12 20:53 | 16.61 KB | 76129f60960:kunden | -xw-x----- | |
| content_manager.php | 2013-11-12 20:52 | 52.29 KB | 76129f60960:kunden | -xw-x----- | |
| content_preview.php | 2013-11-12 20:52 | 2.61 KB | 76129f60960:kunden | -xw-x----- | |
| countries.php | 2013-11-12 20:52 | 15.68 KB | 76129f60960:kunden | -xw-x----- | |
| coupon_admin.php | 2013-11-12 20:52 | 50.67 KB | 76129f60960:kunden | -xw-x----- | |
| create_account.php | 2013-11-12 20:52 | 28.53 KB | 76129f60960:kunden | -xw-x----- | |
| credits.php | 2013-11-12 20:52 | 6.97 KB | 76129f60960:kunden | -xw-x----- | |
| cross_sell_groups.php | 2013-11-12 20:52 | 13.02 KB | 76129f60960:kunden | -xw-x----- | |
| csv_backend.php | 2013-11-12 20:52 | 19.86 KB | 76129f60960:kunden | -xw-x----- | |
| currencies.php | 2013-11-12 20:52 | 17.6 KB | 76129f60960:kunden | -xw-x----- | |
| customers.php | 2013-11-12 20:52 | 58.49 KB | 76129f60960:kunden | -xw-x----- | |
| customers_status.php | 2013-11-12 20:53 | 36.57 KB | 76129f60960:kunden | -xw-x----- | |
| econda.php | 2013-11-12 20:52 | 6.31 KB | 76129f60960:kunden | -xw-x----- | |
| ekomi.php | 2013-11-12 20:52 | 14.11 KB | 76129f60960:kunden | -xw-x----- | |
| fck_wrapper.php | 2013-11-12 20:52 | 501 B | 76129f60960:kunden | -xw-x----- | |
| filelist.txt | 2013-11-12 20:52 | 268.55 KB | 76129f60960:kunden | -xw-x----- | |
| geo_zones.php | 2013-11-12 20:52 | 23.69 KB | 76129f60960:kunden | -xw-x----- | |
| gm_analytics.php | 2013-11-12 20:52 | 4.9 KB | 76129f60960:kunden | -xw-x----- | |
| gm_backup_files_zip.php | 2013-11-12 20:52 | 11.35 KB | 76129f60960:kunden | -xw-x----- | |
| gm_bookmarks.php | 2013-11-12 20:52 | 4.26 KB | 76129f60960:kunden | -xw-x----- | |
| gm_bookmarks_action.php | 2013-11-12 20:52 | 2.46 KB | 76129f60960:kunden | -xw-x----- | |
| gm_counter.php | 2013-11-12 20:53 | 5.28 KB | 76129f60960:kunden | -xw-x----- | |
| gm_counter_action.php | 2013-11-12 20:52 | 1.8 KB | 76129f60960:kunden | -xw-x----- | |
| gm_ebay.php | 2013-11-12 20:52 | 8.85 KB | 76129f60960:kunden | -xw-x----- | |
| gm_emails.php | 2013-11-12 20:53 | 12.16 KB | 76129f60960:kunden | -xw-x----- | |
| gm_emails_preview.php | 2013-11-12 20:52 | 5.95 KB | 76129f60960:kunden | -xw-x----- | |
| gm_feature_control.php | 2013-11-12 20:53 | 24.84 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gmotion.php | 2013-11-12 20:52 | 8.11 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint.php | 2013-11-12 20:52 | 3.56 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_categories.php | 2013-11-12 20:52 | 7.63 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_configuration.php | 2013-11-12 20:52 | 7.58 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_edit.php | 2013-11-12 20:52 | 19.55 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_overview.php | 2013-11-12 20:52 | 4.69 KB | 76129f60960:kunden | -xw-x----- | |
| gm_guestbook.php | 2013-11-12 20:52 | 9.43 KB | 76129f60960:kunden | -xw-x----- | |
| gm_id_starts.php | 2013-11-12 20:52 | 7.96 KB | 76129f60960:kunden | -xw-x----- | |
| gm_invoicing.php | 2013-11-12 20:52 | 12.14 KB | 76129f60960:kunden | -xw-x----- | |
| gm_janolaw.php | 2013-11-12 20:52 | 4.48 KB | 76129f60960:kunden | -xw-x----- | |
| gm_lang_edit.php | 2013-11-12 20:52 | 4.24 KB | 76129f60960:kunden | -xw-x----- | |
| gm_lightbox.php | 2013-11-12 20:52 | 4.69 KB | 76129f60960:kunden | -xw-x----- | |
| gm_logo.php | 2013-11-12 20:52 | 5.28 KB | 76129f60960:kunden | -xw-x----- | |
| gm_logo_action.php | 2013-11-12 20:53 | 1.11 KB | 76129f60960:kunden | -xw-x----- | |
| gm_meta.php | 2013-11-12 20:52 | 3.63 KB | 76129f60960:kunden | -xw-x----- | |
| gm_meta_action.php | 2013-11-12 20:52 | 2.91 KB | 76129f60960:kunden | -xw-x----- | |
| gm_miscellaneous.php | 2013-11-12 20:52 | 28.65 KB | 76129f60960:kunden | -xw-x----- | |
| gm_module_export.php | 2013-11-12 20:52 | 13.28 KB | 76129f60960:kunden | -xw-x----- | |
| gm_module_part_export.php | 2013-11-12 20:52 | 3.73 KB | 76129f60960:kunden | -xw-x----- | |
| gm_offline.php | 2013-11-12 20:52 | 4.29 KB | 76129f60960:kunden | -xw-x----- | |
| gm_opensearch.php | 2013-11-12 20:52 | 3.18 KB | 76129f60960:kunden | -xw-x----- | |
| gm_opensearch_action.php | 2013-11-12 20:52 | 2.15 KB | 76129f60960:kunden | -xw-x----- | |
| gm_order_menu.php | 2013-11-12 20:52 | 9.18 KB | 76129f60960:kunden | -xw-x----- | |
| gm_pdf.php | 2013-11-12 20:52 | 5.99 KB | 76129f60960:kunden | -xw-x----- | |
| gm_pdf_action.php | 2013-11-12 20:52 | 8.83 KB | 76129f60960:kunden | -xw-x----- | |
| gm_pdf_order.php | 2013-11-12 20:52 | 23.01 KB | 76129f60960:kunden | -xw-x----- | |
| gm_product_export.php | 2013-11-12 20:53 | 4.53 KB | 76129f60960:kunden | -xw-x----- | |
| gm_scroller.php | 2013-11-12 20:52 | 6.52 KB | 76129f60960:kunden | -xw-x----- | |
| gm_security.php | 2013-11-12 20:52 | 10.91 KB | 76129f60960:kunden | -xw-x----- | |
| gm_send_order.php | 2013-11-12 20:52 | 8.77 KB | 76129f60960:kunden | -xw-x----- | |
| gm_seo_boost.php | 2013-11-12 20:52 | 5.77 KB | 76129f60960:kunden | -xw-x----- | |
| gm_sitemap.php | 2013-11-12 20:52 | 4.83 KB | 76129f60960:kunden | -xw-x----- | |
| gm_sitemap_creator.php | 2013-11-12 20:53 | 1.19 KB | 76129f60960:kunden | -xw-x----- | |
| gm_slider.php | 2013-11-12 20:53 | 28.49 KB | 76129f60960:kunden | -xw-x----- | |
| gm_sql.php | 2013-11-12 20:52 | 6.84 KB | 76129f60960:kunden | -xw-x----- | |
| gm_statusbar.php | 2013-11-12 20:52 | 6.46 KB | 76129f60960:kunden | -xw-x----- | |
| gm_style_edit.php | 2013-11-12 20:52 | 50.56 KB | 76129f60960:kunden | -xw-x----- | |
| gm_trusted_info.php | 2013-11-12 20:52 | 7.41 KB | 76129f60960:kunden | -xw-x----- | |
| gm_trusted_shop_id.php | 2013-11-12 20:52 | 6.32 KB | 76129f60960:kunden | -xw-x----- | |
| gm_trusted_shops_widget.php | 2013-11-12 20:52 | 9.44 KB | 76129f60960:kunden | -xw-x----- | |
| gv_mail.php | 2013-11-12 20:52 | 17.47 KB | 76129f60960:kunden | -xw-x----- | |
| gv_queue.php | 2013-11-12 20:52 | 11.83 KB | 76129f60960:kunden | -xw-x----- | |
| gv_sent.php | 2013-11-12 20:52 | 8.71 KB | 76129f60960:kunden | -xw-x----- | |
| index.php | 2013-11-12 20:52 | 1.03 KB | 76129f60960:kunden | -xw-x----- | |
| interkurierConnect.php | 2013-11-12 20:52 | 5.77 KB | 76129f60960:kunden | -xw-x----- | |
| languages.php | 2013-11-12 20:53 | 30.67 KB | 76129f60960:kunden | -xw-x----- | |
| lettr_de.php | 2013-11-12 20:52 | 8.03 KB | 76129f60960:kunden | -xw-x----- | |
| listcategories.php | 2013-11-12 20:53 | 2.8 KB | 76129f60960:kunden | -xw-x----- | |
| listproducts.php | 2013-11-12 20:52 | 2.9 KB | 76129f60960:kunden | -xw-x----- | |
| magnabundle.dat | 2013-11-12 20:53 | 6 B | 76129f60960:kunden | -xw-x----- | |
| magnalister.php | 2013-11-12 20:52 | 10.24 KB | 76129f60960:kunden | -xw-x----- | |
| mail.php | 2013-11-12 20:52 | 12.89 KB | 76129f60960:kunden | -xw-x----- | |
| manufacturers.php | 2013-11-12 20:52 | 16.46 KB | 76129f60960:kunden | -xw-x----- | |
| mediafinanz.php | 2013-11-12 20:52 | 4.53 KB | 76129f60960:kunden | -xw-x----- | |
| minisql.php | 2013-11-12 20:52 | 2.84 KB | 76129f60960:kunden | -xw-x----- | |
| mobile.php | 2013-11-12 20:52 | 11.7 KB | 76129f60960:kunden | -xw-x----- | |
| module_export.php | 2013-11-12 20:52 | 13.5 KB | 76129f60960:kunden | -xw-x----- | |
| module_newsletter.php | 2013-11-12 20:52 | 27.89 KB | 76129f60960:kunden | -xw-x----- | |
| modules.php | 2013-11-12 20:52 | 11.26 KB | 76129f60960:kunden | -xw-x----- | |
| nc_clickandbuy.php | 2013-11-12 20:52 | 8.58 KB | 76129f60960:kunden | -xw-x----- | |
| new_attributes.php | 2013-11-12 20:52 | 5.39 KB | 76129f60960:kunden | -xw-x----- | |
| orders.php | 2013-11-12 20:52 | 72.31 KB | 76129f60960:kunden | -xw-x----- | |
| orders_actions.php | 2013-11-12 20:52 | 337 B | 76129f60960:kunden | -xw-x----- | |
| orders_edit.php | 2013-11-12 20:52 | 39.75 KB | 76129f60960:kunden | -xw-x----- | |
| orders_edit_address.php | 2013-11-12 20:52 | 6.49 KB | 76129f60960:kunden | -xw-x----- | |
| orders_edit_options.php | 2013-11-12 20:52 | 5.92 KB | 76129f60960:kunden | -xw-x----- | |
| orders_edit_other.php | 2013-11-12 20:53 | 11 KB | 76129f60960:kunden | -xw-x----- | |
| orders_edit_products.php | 2013-11-12 20:52 | 6.94 KB | 76129f60960:kunden | -xw-x----- | |
| orders_status.php | 2013-11-12 20:52 | 16.09 KB | 76129f60960:kunden | -xw-x----- | |
| paypal.php | 2013-11-12 20:53 | 10.52 KB | 76129f60960:kunden | -xw-x----- | |
| phpminiadmin.php | 2013-11-12 20:53 | 29.89 KB | 76129f60960:kunden | -xw-x----- | |
| popup_image.php | 2013-11-12 20:52 | 1.91 KB | 76129f60960:kunden | -xw-x----- | |
| popup_memo.php | 2013-11-12 20:52 | 5.54 KB | 76129f60960:kunden | -xw-x----- | |
| print_order.php | 2013-11-12 20:52 | 5.62 KB | 76129f60960:kunden | -xw-x----- | |
| print_packingslip.php | 2013-11-12 20:52 | 5.65 KB | 76129f60960:kunden | -xw-x----- | |
| products_attributes.php | 2013-11-12 20:52 | 51.66 KB | 76129f60960:kunden | -xw-x----- | |
| products_expected.php | 2013-11-12 20:52 | 6.71 KB | 76129f60960:kunden | -xw-x----- | |
| products_vpe.php | 2013-11-12 20:52 | 15.16 KB | 76129f60960:kunden | -xw-x----- | |
| properties.php | 2013-11-12 20:52 | 2.92 KB | 76129f60960:kunden | -xw-x----- | |
| properties_combis.php | 2013-11-12 20:53 | 3.66 KB | 76129f60960:kunden | -xw-x----- | |
| quantity_units.php | 2013-11-12 20:53 | 11.43 KB | 76129f60960:kunden | -xw-x----- | |
| request_port.php | 2013-11-12 20:52 | 10.4 KB | 76129f60960:kunden | -xw-x----- | |
| reviews.php | 2013-11-12 20:52 | 19.72 KB | 76129f60960:kunden | -xw-x----- | |
| robots_download.php | 2013-11-12 20:53 | 4.47 KB | 76129f60960:kunden | -xw-x----- | |
| saferpay.php | 2013-11-12 20:52 | 12.76 KB | 76129f60960:kunden | -xw-x----- | |
| server_info.php | 2013-11-12 20:52 | 7.16 KB | 76129f60960:kunden | -xw-x----- | |
| shipping_status.php | 2013-11-12 20:52 | 23.12 KB | 76129f60960:kunden | -xw-x----- | |
| shopgate.php | 2013-11-12 20:52 | 135 B | 76129f60960:kunden | -xw-x----- | |
| show_logs.php | 2013-11-12 20:53 | 9.77 KB | 76129f60960:kunden | -xw-x----- | |
| specials.php | 2013-11-12 20:52 | 22.29 KB | 76129f60960:kunden | -xw-x----- | |
| start.php | 2013-11-12 20:52 | 11.76 KB | 76129f60960:kunden | -xw-x----- | |
| stats_campaigns.php | 2013-11-12 20:52 | 13.39 KB | 76129f60960:kunden | -xw-x----- | |
| stats_customers.php | 2013-11-12 20:52 | 5.48 KB | 76129f60960:kunden | -xw-x----- | |
| stats_products_purchased.php | 2013-11-12 20:52 | 5.1 KB | 76129f60960:kunden | -xw-x----- | |
| stats_products_viewed.php | 2013-11-12 20:52 | 4.78 KB | 76129f60960:kunden | -xw-x----- | |
| stats_sales_report.php | 2013-11-12 20:52 | 20.98 KB | 76129f60960:kunden | -xw-x----- | |
| stats_stock_warning.php | 2013-11-12 20:53 | 4.94 KB | 76129f60960:kunden | -xw-x----- | |
| tax_classes.php | 2013-11-12 20:52 | 11.43 KB | 76129f60960:kunden | -xw-x----- | |
| tax_rates.php | 2013-11-12 20:53 | 13.6 KB | 76129f60960:kunden | -xw-x----- | |
| template_configuration.php | 2013-11-12 20:52 | 40.73 KB | 76129f60960:kunden | -xw-x----- | |
| validcategories.php | 2013-11-12 20:52 | 2.62 KB | 76129f60960:kunden | -xw-x----- | |
| validproducts.php | 2013-11-12 20:53 | 2.8 KB | 76129f60960:kunden | -xw-x----- | |
| whos_online.php | 2013-11-12 20:52 | 8.05 KB | 76129f60960:kunden | -xw-x----- | |
| xtbooster.php | 2013-11-12 20:52 | 137.04 KB | 76129f60960:kunden | -xw-x----- | |
| yatego.php | 2013-11-12 20:52 | 16.33 KB | 76129f60960:kunden | -xw-x----- | |
| yoochoose.php | 2013-11-12 20:52 | 12.85 KB | 76129f60960:kunden | -xw-x----- | |
| zones.php | 2013-11-12 20:52 | 11.57 KB | 76129f60960:kunden | -xw-x----- | |