
Garry´s Mod 10
$aMandatoryfields = array(quantity); if ($action == save_do) { $error = $validate->checkEmpty(implode(",", $aMandatoryfields)); $form = array(quantity, durations_id); foreach ($form as $val) { ${$val} = form2db($_POST[$val]); $_POST[$val] = db2form(${$val}); } $price_brutto = $products->products->products_price_brutto; $percent = 0; $dbQ = db_q(products_options, "WHERE options_products_id = '$products->id' && options_status = '1' ORDER BY options_pos ASC"); while ($res = read($dbQ)) { if ($res->options_required == '1' && $_POST[options][$res->options_id] == "") { $error = $validate->adderrorfields("options[" . $res->options_id . "]"); } if ($_POST[options][$res->options_id]) { $tmp = read(db_q(products_options_attributes, "WHERE attributes_options_id = '$res->options_id' && attributes_id = '" . form2db($_POST[options][$res->options_id]) . "'")); if ($tmp->attributes_price_type == "money") $price_brutto += $tmp->attributes_price_brutto; else $percent += $tmp->attributes_price_brutto; } if ($percent != "0") { $price_brutto = $price_brutto + $percent / 100 * $price_brutto; } } // preis berechnen mit laufzeit! if ($products->products->products_duration) { $durations = read(db_q(products_durations, "WHERE durations_products_id = '$products->id' && durations_id = '$durations_id' ORDER BY durations_id ASC Limit 1")); if ($products->products->products_duration_billing) { $price_brutto = $price_brutto * $durations->durations_month; } $percent = "0"; if ($durations->durations_price_type == "money") { $price_brutto -= $durations->durations_price_brutto; } else { $percent = $durations->durations_price_brutto; $price_brutto = $price_brutto - $percent / 100 * $price_brutto; } } $price_brutto += $products->products->products_setup_price_brutto; if ($price_brutto < 0) $price_brutto = 0; if (!$error) { $baskets->addToBasket($products->id, $quantity, $price_brutto, $_POST); $alert = $products->getParam(title_prefix) . ' ' . $products->getParam(title_single) . ' wurde erfolgreich in den Warenkorb gelegt.'; $goto = $baskets->getParam(url_shops_details) . "justadded.html?id=" . $products->id; } } ?> if ($error) { $errorData = array( $validate->getError("title", "Bitte geben Sie einen Titel an."), $validate->getError("exists", "Es gibt schon ein Produkt mit diesem Namen.") ); $system->printErrorBox($errorData); } else { $dbQ = db_q(products_options, "WHERE options_products_id = '$products->id' && options_status = '1' ORDER BY options_pos ASC"); while ($res = read($dbQ)) { $tmp = read(db_q(products_options_attributes, "WHERE attributes_options_id = '$res->options_id' && attributes_attribute = '$res->options_defvalue' Limit 1")); $_POST[options][$res->options_id] = $tmp->attributes_id; } } ?>
if ($products->products->products_image) {
?>
if ($products->products->products_fake_price > 0) { ?>Angebot! } ?>
} else { ?> if ($products->products->products_fake_price > 0) { ?>Angebot! } ?>
} ?>

} else { ?> if ($products->products->products_fake_price > 0) { ?>Angebot! } ?>

ArtikelNr: 916
if ($products->products->products_manufacturer) echo "Hersteller: " . $products->products->products_manufacturer . "
"; ?> if ($products->products->products_tags) echo "Schlagworte: " . $products->products->products_tags . "
"; ?> /* ?> Posted in Bathroom, Brand name, Wood. */ ?>
if ($products->products->products_manufacturer) echo "Hersteller: " . $products->products->products_manufacturer . "
"; ?> if ($products->products->products_tags) echo "Schlagworte: " . $products->products->products_tags . "
"; ?> /* ?> Posted in Bathroom, Brand name, Wood. */ ?>
- Artikelbeschreibung
- Kunden interessierten sich auch für folgende Artikel $numsNews = get_rows(news, "WHERE news_products_id = '$products->id'"); if ($numsNews) { ?>
- News zum Artikel } ?>
-
$dbQ = db_q(products, "WHERE products_shops_id = '$shops->id' && products_status = '1' && products_id != '$products->id' Limit 5");
while ($res = read($dbQ)) {
$relatedProducts = new products($res->products_id);
$preview = $relatedProducts->getPreview();
echo $preview;
}
?>
Features | |
Mapspace | 10.000 MB |
FTP-Zugriff |
![]() |
RCON-Zugriff |
![]() |
Traffic | kein Trafficlimit |
NEU: ESL Ready |
![]() |
Kernel | optimierter Gameserverkernel |
kundenfreundliches Webinterface |
![]() |
Plugin-Instalation | Auf Knopfdruck |
Einrichtungskosten | keine / keine versteckten Gebühren |
Bezahlungsmöglichkeiten | |
Überweisung |
![]() |
Lastschrift | |
Paypal | |
Support | |
![]() |
|
![]() |
|
![]() |
|
Vertragszeit | |
Vertragslaufzeit | nur 1 Monat |
Vertragskündigung | zum Vertragsende kündbar |
$dbQ = db_q(news,"WHERE news_shops_id = '$shops->id' && news_status = '1' && news_products_id='$products->id' ORDER BY news_date DESC Limit 5");
while ($res = read($dbQ)) {
$news = new news($res->news_id);
echo $news->getMiniPreview();
}
?>