objESSF = &$objESSF; $this->nEshopIdDefault = $nEshopIdDefault; } function GetEshop($e) { if(!(isset($this->{"e_" . $e}) && is_object($this->{"e_" . $e}) && get_class($this->{"e_" . $e}) == "sd_eshop")) { $this->{"e_" . $e} = new sd_eshop($this->objESSF, $e); } return $this->{"e_" . $e}; } function GetAutomata($e) { if(!(isset($this->{"a_" . $e}) && is_object($this->{"a_" . $e}) && strtolower(get_class($this->{"a_" . $e})) == "csitoostringautomata")) { $objA = new CSitooStringAutomata(); $php4fix = $this->GetEshop($e); $php4fix->GetAutomataFormatSettings($objA); $objA->objFormatSettings->arrMonths = array("Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"); $objA->objFormatSettings->arrMonthsShort = array("Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"); $objA->objFormatSettings->arrWeekDays = array("Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"); $objA->objFormatSettings->arrWeekDaysShort = array("Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"); switch($e) { } $this->{"a_" . $e} = $objA; } return $this->{"a_" . $e}; } function GetProduct($e, $nId = 0) { if($nId <= 0) $nId = (int)$this->objESSF->SessionGet("sd_esp_" . $e . "_pid"); if(!(isset($this->{"p_" . $e . "_" . $nId}) && is_object($this->{"p_" . $e . "_" . $nId}) && get_class($this->{"p_" . $e . "_" . $nId}) == "switem")) { $objE = $this->GetEshop($e); switch($e) { } } return $this->{"p_" . $e . "_" . $nId}; } function GetReseller($e, $nId = 0) { if($nId <= 0) $nId = (int)$this->objESSF->SessionGet("sd_esp_" . $e . "_rid"); if(!(isset($this->{"r_" . $e . "_" . $nId}) && is_object($this->{"r_" . $e . "_" . $nId}) && get_class($this->{"r_" . $e . "_" . $nId}) == "switem")) { $objE = $this->GetEshop($e); switch($e) { } } return $this->{"r_" . $e . "_" . $nId}; } function GetCategory($e, $nId = 0) { if($nId <= 0) $nId = (int)$this->objESSF->SessionGet("sd_esc_" . $e . "_cid"); if(!(isset($this->{"c_" . $e . "_" . $nId}) && is_object($this->{"c_" . $e . "_" . $nId}) && get_class($this->{"c_" . $e . "_" . $nId}) == "switem")) { $objE = $this->GetEshop($e); switch($e) { } } return $this->{"c_" . $e . "_" . $nId}; } function GetGlobalsArray($e) { if(!(isset($this->{"g_" . $e}) && is_array($this->{"g_" . $e}))) { $objE = $this->GetEshop($e); switch($e) { } } return $this->{"g_" . $e}; } function HandleRequests($e) { $objE = $this->GetEshop($e); if($this->objESSF->RequestExists("sd_esp_" . $e . "_pid") && !$this->objESSF->RequestExists("sd_esc_" . $e . "_cid")) { $objP = $this->GetProduct($e, $this->objESSF->RequestGet("sd_esp_" . $e . "_pid")); if(!is_null($objP) && isset($objP->defaultcategoryid) && $objP->defaultcategoryid > 0) $_GET["sd_esc_" . $e . "_cid"] = $objP->defaultcategoryid; } $argsclear = $this->objESSF->RequestGet("sd_es_" . $e . "_clear"); if($argsclear !== "") { $this->objESSF->SessionRemove("sd_esc_" . $e . "_mid"); $this->objESSF->SessionRemove("sd_esp_" . $e . "_rid"); $this->objESSF->SessionRemove("sd_esc_" . $e . "_text"); $this->objESSF->SessionRemove("sd_esc2_" . $e . "_start"); $this->objESSF->SessionRemove("sd_esc_" . $e . "_rcity"); $this->objESSF->SessionRemove("sd_esc_" . $e . "_rstate"); $this->objESSF->SessionRemove("sd_esc_" . $e . "_rcountryid"); $this->objESSF->SessionRemove("sd_esc_" . $e . "_rtext"); } $this->objESSF->UpdatePersistentVars("sd_esp_" . $e . "_", "sd_esc_" . $e . "_", "sd_esc2_" . $e . "_"); if($e == $this->nEshopIdDefault && $this->objESSF->RequestGet("words") != "" && $this->objESSF->RequestGet("sd_esc_" . $e . "_text") == "") { $this->objESSF->SessionSet("sd_esc_" . $e . "_text", $this->objESSF->RequestGet("words")); $this->objESSF->SessionSet("sd_esc_" . $e . "_rtext", $this->objESSF->RequestGet("words")); } if($e == $this->nEshopIdDefault) $objE->LogAdd("session", "", $php4fixnull); $requestwords = $this->objESSF->RequestGet("words"); if($this->objESSF->RequestGet("sd_esc_" . $e . "_text") != "") { $objE->LogAdd("search", $this->objESSF->RequestGet("sd_esc_" . $e . "_text"), $php4fixnull); } elseif($e == $this->nEshopIdDefault && $requestwords !== "") { $objE->LogAdd("search", $this->objESSF->RequestGet("words"), $php4fixnull); } $requestargsproduct = $this->objESSF->RequestGet("sd_esp_" . $e . "_pid"); $requestargscategory = $this->objESSF->RequestGet("sd_esc_" . $e . "_cid"); if($requestargsproduct !== "") $objE->LogAdd("product", $requestargsproduct, $php4fixnull); if($requestargscategory !== "") $objE->LogAdd("category", $requestargscategory, $php4fixnull); $requestargscartadd = $this->objESSF->RequestGet("sd_es_" . $e . "_cartadd"); if($requestargscartadd !== "" && is_numeric($requestargscartadd)) { $nProductId = intval($requestargscartadd); if($nProductId > 0) { $objP = $this->GetProduct($e, $nProductId); $objCartItem = new switem("cartitem"); $objCartItem->externalinput = $this->objESSF->RequestGet("sd_es_" . $e . "_externalinput"); $objCartItem->quantity = $this->objESSF->RequestGet("sd_es_" . $e . "_quantity"); if(!is_numeric($objCartItem->quantity)) $objCartItem->quantity = 1; $objCartItem->quantity = floatval($objCartItem->quantity); $objCartItem->priceperunit = $objP->finalprice; for($i = 0; $i < count($objP->producttyperefs); ++$i) { $nAttributeId = $this->objESSF->RequestGet("sd_es_" . $e . "_vg_" . $objP->producttyperefs[$i]->attributegroupid); if(!is_numeric($nAttributeId)) $nAttributeId = -1; $nAttributeId = intval($nAttributeId); $bSet = false; // Reverse since we want index 0 if not found... for($j = count($objP->producttyperefs[$i]->attributes) - 1; $j >= 0; --$j) { $objP->producttyperefs[$i]->attributes[$j]->selected = false; if(!$bSet && (($nAttributeId == -1 ? $objP->producttyperefs[$i]->attributes[$j]->isdefault : $objP->producttyperefs[$i]->attributes[$j]->attributeid == $nAttributeId) || $j == 0)) { $objCartItem->priceperunit += $objP->producttyperefs[$i]->attributes[$j]->pricediff; $objP->producttyperefs[$i]->attributes[$j]->selected = true; $bSet = true; } } } $objCartItem->productitem[0] = $objP; $nIndex = $objE->CartGetProductIdIndex($objCartItem); if($nIndex != -1) { $obj = $objE->CartGetIndex($nIndex); if(!is_null($obj)) { $objCartItem->quantity += $obj->quantity; } } $objE->CartItemSet($objCartItem); header("Location: " . $this->objESSF->GetRequestUrl()); exit; } } $cartcoupon = $this->objESSF->RequestGet("sd_es_" . $e . "_cartcoupon"); $cartcouponexists = $this->objESSF->RequestExists("sd_es_" . $e . "_cartcoupon"); if($cartcouponexists) { $this->objESSF->SessionSet("sd_es_" . $e . "_cartcoupon", $cartcoupon); } $cartitemdelete = $this->objESSF->RequestGet("sd_es_" . $e . "_cartitemdelete"); if($cartitemdelete !== "") { $objE->CartItemDelete($this->objESSF->RequestGet("sd_es_" . $e . "_cartitemdelete")); header("Location: " . $this->objESSF->GetRequestUrl()); exit; } $cartsendemail = $this->objESSF->RequestGet("sd_es_" . $e . "_cartsendemail"); if($cartsendemail !== "") { $objE->CartSendEmailConfirmation($cartsendemail, false); } $cartclear = $this->objESSF->RequestGet("sd_es_" . $e . "_cartclear"); if($cartclear !== "") { $objE->CartClear(); $r = $this->objESSF->RequestGet("r"); if($r !== "") { header("Location: " . $r); exit; } header("Location: " . $this->objESSF->GetRequestUrl()); exit; } $cartupdate = $this->objESSF->RequestGet("sd_es_" . $e . "_cartupdate"); if($cartupdate !== "") { $arrItems = array(); $nMaxIndex = $this->objESSF->RequestGet("sd_es_" . $e . "_cartitem_max_index"); if(is_numeric($nMaxIndex)) { $nMaxIndex = intval($nMaxIndex); for($i = 0; $i <= $nMaxIndex; ++$i) { $obj = $objE->CartGetIndex($i); if(is_null($obj)) continue; $obj->quantity = $this->objESSF->RequestGet("sd_es_" . $e . "_cartitem_" . $i . "_quantity"); if(is_numeric($obj->quantity)) { $obj->quantity = floatval($obj->quantity); array_push($arrItems, $obj); } } $objE->CartUpdate($arrItems); } } $cartsave = $this->objESSF->RequestGet("sd_es_" . $e . "_cartsave"); if($cartsave !== "") { $objCart = $objE->GetCart(); $objCart->checkouttypeid = is_numeric($this->objESSF->RequestGet("checkouttypeid")) ? intval($this->objESSF->RequestGet("checkouttypeid")) : -1; $objCart->deliverytypeid = is_numeric($this->objESSF->RequestGet("deliverytypeid")) ? intval($this->objESSF->RequestGet("deliverytypeid")) : -1; $objCart->eshopid = $e; $objCart->email = $this->objESSF->RequestGet("email"); $objCart->namefirst = $this->objESSF->RequestGet("namefirst"); $objCart->namelast = $this->objESSF->RequestGet("namelast"); $objCart->personalid = $this->objESSF->RequestGet("personalid"); $objCart->company = $this->objESSF->RequestGet("company"); $objCart->phone = $this->objESSF->RequestGet("phone"); $objCart->customerref = $this->objESSF->RequestGet("customerref"); $objCart->delivery_address = $this->objESSF->RequestGet("delivery_address"); $objCart->delivery_address2 = $this->objESSF->RequestGet("delivery_address2"); $objCart->delivery_zip = $this->objESSF->RequestGet("delivery_zip"); $objCart->delivery_city = $this->objESSF->RequestGet("delivery_city"); $objCart->delivery_state = $this->objESSF->RequestGet("delivery_state"); $objCart->delivery_countryid = $this->objESSF->RequestGet("delivery_countryid"); $objCart->deliverytootheraddress = $this->objESSF->RequestGet("deliverytootheraddress") != ""; $objCart->invoice_address = $this->objESSF->RequestGet("invoice_address"); $objCart->invoice_address2 = $this->objESSF->RequestGet("invoice_address2"); $objCart->invoice_zip = $this->objESSF->RequestGet("invoice_zip"); $objCart->invoice_city = $this->objESSF->RequestGet("invoice_city"); $objCart->invoice_state = $this->objESSF->RequestGet("invoice_state"); $objCart->invoice_countryid = $this->objESSF->RequestGet("invoice_countryid"); $objCart->comment = $this->objESSF->RequestGet("comment"); $objRet = $objE->CartSave($objCart); if($objRet->status) { $cartsubmit = $this->objESSF->RequestGet("sd_es_" . $e . "_cartsubmit"); $cartsubmitx = $this->objESSF->RequestGet("sd_es_" . $e . "_cartsubmit_x"); if($cartsubmit !== "" || $cartsubmitx !== "") { $strRedirectOk = $this->objESSF->RequestGet("sd_es_" . $e . "_carturl_success") != "" ? $this->objESSF->RequestGet("sd_es_" . $e . "_carturl_success") : "GrundschuleLanegg.php?sd_es_" . $e . "_cartclear=1"; $strRedirectError = $this->objESSF->RequestGet("sd_es_" . $e . "_carturl_error") != "" ? $this->objESSF->RequestGet("sd_es_" . $e . "_carturl_error") : "GrundschuleLanegg.php?sd_es_" . $e . "_carterror=1"; $strRedirectCancel = $this->objESSF->RequestGet("sd_es_" . $e . "_carturl_cancel") != "" ? $this->objESSF->RequestGet("sd_es_" . $e . "_carturl_cancel") : "GrundschuleLanegg.php"; $objCart = $objE->GetCart(); $objE->CartSubmit($objCart, $strRedirectOk, $strRedirectError, $strRedirectCancel); } } } } function SetDefaults($strArg, $strValue) { if(!$this->objESSF->SessionExists($strArg)) $this->objESSF->SessionSet($strArg, $strValue); } } $objEshopWrapper = new sd_eshop_wrapper($objESSF, 0); function sd_eshop_field($s, $f, $t = "", $a = "", $b = "") { global $objEshopWrapper; $e = $objEshopWrapper->nEshopIdDefault; $i = null; switch($s) { case "p": $i = $objEshopWrapper->GetProduct($e); break; case "r": $i = $objEshopWrapper->GetReseller($e); break; case "c": $i = $objEshopWrapper->GetCategory($e); break; } if(is_null($i)) return ""; $v = ($a != "" && is_array($i->{$a}) && count($i->{$a}) > 0) ? $i->{$a}[0]->{$f} : $i->{$f}; if(is_null($v)) return ""; if($t == "html") return $v; $php4fixAutomata = $objEshopWrapper->GetAutomata($e); if($t == "price") { $item = new switem(""); $item->p = $v; $item->i = $i->priceisinclvat; $item->v = $i->vatvalue; $item->s = $objEshopWrapper->objESSF->SessionGet("sd_esp_" . $e . "_vatmode") == "true"; return $php4fixAutomata->Eval2("(format 'price' \$p \$i \$v \$s)", $item); } if($t == "date") { $item = new switem(""); $item->d = $v; return $php4fixAutomata->Eval2("(format 'date' \$d)", $item); } $lb = $b == "" ? "
\r\n" : $b; return str_replace("\r", "", str_replace("\n", $lb, $objEshopWrapper->objESSF->HTMLEncode($v))); } function sd_eshop_getfinallink($s1, $s2, $a = 0, $l = 0) { if(is_array($a) && isset($l) && is_string($a[$l])) return $a[$l]; return strlen($s1) > 0 ? $s1 : $s2; } function sd_eshop_link($e, $s, $a) { global $objEshopWrapper; $i = $objEshopWrapper->GetGlobalsArray($e); if(is_null($i)) return "#"; $strPage = ""; $strQuery = ""; switch($s) { case 1: case 2: $php4fix = $objEshopWrapper->GetProduct($e, ($s == 1 ? null : $a)); $strPage = $i["directcheckout"] ? sd_eshop_getfinallink($i["urlcheckout"], $i["urlthis"]) : $i["urlthis"]; $strQuery = "?sd_es_" . $e . "_cartadd=" . $php4fix->productid; break; case 3: case 4: $strPage = $i["urlthis"]; $strQuery = "?sd_esp_" . $e . "_vatmode=" . ($s == 3 ? "true" : "false"); break; case 5: $php4fix = $objEshopWrapper->GetProduct($e, $a); if(!is_null($php4fix) && $php4fix->productid > 0) { $strPage = sd_eshop_getfinallink($i["urlproduct"], $i["urlthis"], $i["layouts"], $php4fix->layoutid); $strQuery = "?sd_esp_" . $e . "_pid=" . $php4fix->productid; } break; case 6: $php4fix = $objEshopWrapper->GetCategory($e, $a); if(!is_null($php4fix) && $php4fix->categoryid > 0) { $strPage = sd_eshop_getfinallink($i["urlcategory"], $i["urlthis"], $i["layouts"], $php4fix->layoutid); $strQuery = "?sd_esc_" . $e . "_cid=" . $php4fix->categoryid . "&sd_es_" . $e . "_clear=1"; } break; case 7: $php4fix = $objEshopWrapper->GetReseller($e, $a); if(!is_null($php4fix) && $php4fix->externalcompanyid > 0) { $strPage = sd_eshop_getfinallink($i["urlreseller"], $i["urlthis"], $i["layouts"], $php4fix->layoutid); $strQuery = "?sd_esp_" . $e . "_rid=" . $php4fix->externalcompanyid; } break; case 8: $strPage = sd_eshop_getfinallink($i["urlcheckout"], $i["urlthis"]); break; } return $strPage === "" ? "#" : $strPage . $strQuery; } function SWSG($strVar, $strDefault = "") { global $objESSF; $s = $objESSF->SessionGet($strVar); if($s != "") return $s; return $strDefault; } ?> Grundschule Lanegg

6.JPG
 
Schüler und Schülerinnen Lehrpersonen Eltern Verwaltung Downloads
Grundschulsprengel Lana Visionen Dreijahresplan Schulcurriculum Information Einschreibung Bildungstätigkeit Mitbestimmung Wahlfächer/Wahlpflichtfächer Netzwerk f.kulturelle Vielfalt Inklusion Care Team Evaluation Bibliothek Unsere Partner Transparente Verwaltung

 Grundschulsprengel Lana

 39011 Lana, A. Hofer Straße 27

 Tel 0473 56 13 97

 * info@gs-lana.it

            PEC@posta certificata

Letzte Änderung:

 Donnerstag 22 Oktober 2015

Grundschule Lanegg

Grundschule Lanegg