read()) { $data = $dir . $datei; if ($datei == ".") { $data2 = $dir; } else if ($datei == "..") { $array = explode("/",$data); $anz = count($array); $anz=$anz -2; $ndata=""; for ($i3= 0;$i3<$anz;$i3++) { $ndata = $ndata . $array[$i3]."/"; } $data2 = $ndata; } else { $data2 = $dir . $datei. "/"; } if (!is_dir($data)) { if (substr_count(strtolower($data),"modul.php")) { include $data; } } } } $verzeichnis->close(); //echo "
Module:
"; //foreach ($module as $mod) echo "Modul: ".$mod["name"]." Version: ".$mod["version"]." Author: ".$mod["author"]."
"; ?>debug = true; $pass_user = $db->GetRow("SELECT * FROM kunden WHERE nummer=".$_SESSION['nummer']); if ($pass_user['passwort'] == utf8_decode($_POST['passwort_old'])) { $db->Execute("UPDATE kunden SET passwort=? WHERE nummer=?", array(utf8_decode($_POST['passwort_new']), $_SESSION['nummer'])); $logout = 1; } } } if (isset($_SESSION['email']) && $_SESSION['email'] != "") { $user['login'] = 1; } if (isset($_POST['login_email']) && isset($_POST['login_passwort'])) { if ($_POST['login_email'] != "" && $_POST['login_passwort'] != "") { //$db->debug = true; $login_user = $db->GetRow("SELECT * FROM kunden WHERE email=? AND passwort=? AND aktiv='1'", array(utf8_decode($_POST['login_email']), utf8_decode($_POST['login_passwort']))); //echo "
".count($login_user); if (count($login_user)) { if ($login_user['passwort'] == utf8_decode($_POST['login_passwort']) && $login_user['email'] == strtolower(utf8_decode($_POST['login_email']))) { $user['login'] = 1; $_SESSION['email'] = strtolower(utf8_decode($_POST['login_email'])); $_SESSION['nummer'] = $login_user['nummer']; $_SESSION['name'] = $login_user['name']; $_SESSION['preise'] = $login_user['preise']; $gruppe = $db->GetRow("SELECT * FROM kunden_gruppe WHERE nummer=?", array($login_user['gruppe'])); $_SESSION['gruppe'] = $gruppe['name']; $_SESSION['admin'] = $gruppe['admin']; $_SESSION['haendler'] = $gruppe['haendler']; $_SESSION['zuechter'] = $gruppe['zuechter']; $_SESSION['sonder'] = $gruppe['sonder']; $_SESSION['schule'] = $gruppe['schule']; $_SESSION['gutschein'] = 0; $db->Execute("UPDATE bestellungen_warenkorb SET uid=?, kunde=? WHERE uid=?", array($login_user['uid'], $login_user['nummer'], $_SESSION['uid'])); $_SESSION['uid'] = $login_user['uid']; header('Location: /konto/'); } } } } if (isset($_REQUEST['logout']) || $logout == 1) { $_SESSION['email'] = ""; $_SESSION['nummer'] = 0; $_SESSION['name'] = ""; $_SESSION['gruppe'] = ""; $_SESSION['admin'] = 0; $_SESSION['haendler'] = 0; $_SESSION['zuechter'] = 0; $_SESSION['sonder'] = 0; $_SESSION['preise'] = 0; $_SESSION['gutschein'] = 0; $_SESSION['uid'] = ""; header('Location: /login/'); } if ($_GET['web'] == "konto" && $user['login'] != 1) header('Location: /login/'); if ($_GET['sub'] == "kasse" && $user['login'] != 1) header('Location: /login/'); ?>Execute("DELETE FROM bestellungen_warenkorb WHERE kunde=?", array($_SESSION['nummer'])); else $db->Execute("DELETE FROM bestellungen_warenkorb WHERE kunde=? AND uid=?", array($_SESSION['nummer'], $_SESSION['uid'])); } if (isset($_POST['update_warenkorb'])) { if ($user['login'] == 1) $bestellt = $db->GetAll("SELECT * FROM bestellungen_warenkorb WHERE kunde=?", array($_SESSION['nummer'])); else $bestellt = $db->GetAll("SELECT * FROM bestellungen_warenkorb WHERE kunde=? AND uid=?", array($_SESSION['nummer'], $_SESSION['uid'])); foreach ($bestellt as $best) { if ($_POST['menge_'.$best['id']] != $best['menge']) { if ($_POST['menge_'.$best['id']] <= 0) { if ($user['login'] == 1) $db->Execute("DELETE FROM bestellungen_warenkorb WHERE id=? AND kunde=?", array($best['id'], $_SESSION['nummer'])); else $db->Execute("DELETE FROM bestellungen_warenkorb WHERE id=? AND kunde=? AND uid=?", array($best['id'], $_SESSION['nummer'], $_SESSION['uid'])); } else { $produkt = $db->GetRow("SELECT * FROM produkte WHERE id=?",array($best['artikel'])); $neue_menge = $_POST['menge_'.$best['id']]; if ($neue_menge > $produkt['lager']) $neue_menge = $produkt['lager']; if ($user['login'] == 1) $db->Execute("UPDATE bestellungen_warenkorb SET menge=? WHERE id=? AND kunde=?", array($neue_menge, $best['id'], $_SESSION['nummer'])); else $db->Execute("UPDATE bestellungen_warenkorb SET menge=? WHERE id=? AND kunde=? AND uid=?", array($neue_menge, $best['id'], $_SESSION['nummer'], $_SESSION['uid'])); } } } } if(isset($_POST['add_warenkorb'])) { $check = $db->GetRow("SELECT * FROM bestellungen_warenkorb WHERE variation=? AND kunde=? AND uid=?", array($_POST['variation'], $_SESSION['nummer'], $_SESSION['uid'])); if (count($check)) { $menge = $check['menge'] + $_POST['menge']; $db->Execute("UPDATE bestellungen_warenkorb SET menge=? WHERE id=?", array($menge, $check['id'])); } else { $db->Execute("INSERT INTO bestellungen_warenkorb SET menge=?, kunde=?, variation=?, uid=?", array($_POST['menge'], $_SESSION['nummer'], $_POST['variation'], $_SESSION['uid'])); } } require_once('produkte.class.php'); $produkte = $db->GetAll("SELECT * FROM bestellungen_warenkorb WHERE kunde=? AND uid=?", array($_SESSION['nummer'], $_SESSION['uid'])); $products = new Produkte($db); $warenkorb['summe'] = 0; foreach($produkte as $produkt) { //$variation = $db->GetRow("SELECT * FROM produkte_variation WHERE id=?", array($produkt['variation'])); $products->setProduct($produkt['artikel']); $product = $products->getProduct(); $warenkorb['summe'] += $product['preis_inkl']*$produkt['menge']; } ?> HiTech Store

Game Assets

Welcome to our new Game Asset section. Beside our Electronics we have now 3D and 2D Game Assets for the Unity Engine. All assets are created by professional 3D and 2D artists that have worked in the game industry.

The assets are optimized for mobile games and just use one diffuse texture.

If you are interested in buying some assets, most of them will be available in the unity store or on this webpage.

If you need custom assets feel free to ask and write a email to shop (at) hitechstore.de