{{vtScript}} {{vtLoad: templates/pixtacy/resources/functions.php}} {{vtSet: CurrentVersionNumber="41"}} {{vtSet: ID_Current="{vtID}"}} {{vtSet: thumbnailURL="data/pixtacy_thumbnails"}} {{vtUse:/}} {{vtSet: ID_Home="{vtID}"}} {{vtIf: userhasadminprivileges .or. {vtGlobal:pxtc_version_number} .neq. {vtGet:CurrentVersionNumber} }} {{vtAsAdmin}} {{vtSet: ID_Seiten="0"}} {{vtLoop:-show="all"}} {{vtIf: {vtPageType}{vtGet:ID_Bilder} .in. imagelist|gallery}} {{vtSet: ID_Bilder="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Lightbox} .eq. lightbox}} {{vtSet: ID_Lightbox="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Kontakt} .eq. contact}} {{vtSet: ID_Kontakt="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Kategorien} .eq. topiclist}} {{vtSet: ID_Kategorien="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Warenkorb} .eq. cart}} {{vtSet: ID_Warenkorb="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Kasse} .eq. checkout}} {{vtSet: ID_Kasse="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Download} .eq. download}} {{vtSet: ID_Download="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Registrierung} .eq. register}} {{vtSet: ID_Registrierung="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Produkte} .eq. productlist}} {{vtSet: ID_Produkte="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Bestellungen} .eq. orderlist}} {{vtSet: ID_Bestellungen="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Anfragen} .eq. requestlist}} {{vtSet: ID_Anfragen="{vtID}"}} {{vtElseIf: {vtPageType}{vtGet:ID_Seiten} .eq. vtfolder0}} {{vtSet: ID_Seiten="{vtID}"}} {{vtEndIf}} {{vtEndLoop}} {{vtUse: //Verwaltung }} {{vtIf: {vtPageType} .eq. vtfolder }} {{vtSet: ID_Verwaltung="{vtID}"}} {{vtLoop:-show="all"}} {{vtIf: {vtPageType} .eq. productlist .and. {vtGet:ID_Produkte} .eq. }} {{vtSet: ID_Produkte="{vtID}"}} {{vtElseIf: {vtPageType} .eq. orderlist .and. {vtGet:ID_Bestellungen} .eq. }} {{vtSet: ID_Bestellungen="{vtID}"}} {{vtElseIf: {vtPageType} .eq. requestlist .and. {vtGet:ID_Anfragen} .eq. }} {{vtSet: ID_Anfragen="{vtID}"}} {{vtElseIf: {vtPageType} .eq. couponlist .and. {vtGet:ID_Gutscheine} .eq. }} {{vtSet: ID_Gutscheine="{vtID}"}} {{vtElseIf: {vtPageType} .eq. downloadlog .and. {vtGet:ID_Downloadlog} .eq. }} {{vtSet: ID_Downloadlog="{vtID}"}} {{vtElseIf: {vtPageType} .eq. assortmentlist .and. {vtGet:ID_Sortimente} .eq. }} {{vtSet: ID_Sortimente="{vtID}"}} {{vtEndIf}} {{vtEndLoop}} {{vtEndIf}} {{vtEndUse}} {{vtIf: x{pictacyIDBilder}{pictacyIDLightbox}{pictacyIDKontakt}{pictacyIDKategorien}{pixtacyIDProdukte}{pixtacyIDWarenkorb}{pixtacyIDKasse}{pixtacyIDDownload}{pixtacyIDRegistrierung}{pixtacyIDVerwaltung}{pixtacyIDBestellungen}{pixtacyIDAnfragen}{pixtacyIDSeiten}{pixtacyIDGutscheine}{pixtacyIDDownloadlog}{pixtacyIDSortimente} .neq. x{vtGet:ID_Bilder}{vtGet:ID_Lightbox}{vtGet:ID_Kontakt}{vtGet:ID_Kategorien}{vtGet:ID_Produkte}{vtGet:ID_Warenkorb}{vtGet:ID_Kasse}{vtGet:ID_Download}{vtGet:ID_Registrierung}{vtGet:ID_Verwaltung}{vtGet:ID_Bestellungen}{vtGet:ID_Anfragen}{vtGet:ID_Seiten}{vtGet:ID_Gutscheine}{vtGet:ID_Downloadlog}{vtGet:ID_Sortimente} }} {{vtDo:-act="update", -obj="{vtID}", pictacyIDBilder="{vtGet:ID_Bilder}", pictacyIDLightbox="{vtGet:ID_Lightbox}", pictacyIDKontakt="{vtGet:ID_Kontakt}", pictacyIDKategorien="{vtGet:ID_Kategorien}", pixtacyIDProdukte="{vtGet:ID_Produkte}", pixtacyIDWarenkorb="{vtGet:ID_Warenkorb}", pixtacyIDKasse="{vtGet:ID_Kasse}", pixtacyIDDownload="{vtGet:ID_Download}", pixtacyIDRegistrierung="{vtGet:ID_Registrierung}", pixtacyIDVerwaltung="{vtGet:ID_Verwaltung}", pixtacyIDBestellungen="{vtGet:ID_Bestellungen}", pixtacyIDAnfragen="{vtGet:ID_Anfragen}", pixtacyIDSeiten="{vtGet:ID_Seiten}", pixtacyIDGutscheine="{vtGet:ID_Gutscheine}", pixtacyIDDownloadlog="{vtGet:ID_Downloadlog}", pixtacyIDSortimente="{vtGet:ID_Sortimente}" }} {{vtEndIf}} {{vtEndAsAdmin}} {{vtElse}} {{vtSet: ID_Bilder="{pictacyIDBilder}"}} {{vtSet: ID_Lightbox="{pictacyIDLightbox}"}} {{vtSet: ID_Kontakt="{pictacyIDKontakt}"}} {{vtSet: ID_Kategorien="{pictacyIDKategorien}"}} {{vtSet: ID_Produkte="{pixtacyIDProdukte}"}} {{vtSet: ID_Warenkorb="{pixtacyIDWarenkorb}"}} {{vtSet: ID_Kasse="{pixtacyIDKasse}"}} {{vtSet: ID_Download="{pixtacyIDDownload}"}} {{vtSet: ID_Registrierung="{pixtacyIDRegistrierung}"}} {{vtSet: ID_Bestellungen="{pixtacyIDBestellungen}"}} {{vtSet: ID_Anfragen="{pixtacyIDAnfragen}"}} {{vtSet: ID_Gutscheine="{pixtacyIDGutscheine}"}} {{vtSet: ID_Downloadlog="{pixtacyIDDownloadlog}"}} {{vtSet: ID_Sortimente="{pixtacyIDSortimente}"}} {{vtSet: ID_Seiten="{pixtacyIDSeiten}"}} {{vtEndIf}} {{vtEndUse}} {{vtIf: {vtGlobal:pxtcAllowLanguageSwitch} .neq. 1}} {{vtDo: -act="setCookie", pxtcLanguage="", -expires="-1 year"}} {{vtSet: Language="{vtGlobal:pxtcLanguage}"}} {{vtElseIf: {vtGetValue:lg} .neq.}} {{vtDo: -act="setCookie", pxtcLanguage="{vtGetValue:lg}", -expires="1 year"}} {{vtSet: Language="{vtGetValue:lg}"}} {{vtElseIf: {vtCookie:pxtcLanguage} .neq. }} {{vtSet: Language="{vtCookie:pxtcLanguage}"}} {{vtElse}} {{vtSet: Language="{vtGlobal:pxtcLanguage}"}} {{vtEndIf}} {{vtInclude: languages/{vtGet:Language}.txt }} {{vtInclude: /config/languages/{vtGet:Language}.txt }} {{vtIf: {vtGlobal:pxtc_version_number} .neq. {vtGet:CurrentVersionNumber} }} {{vtInclude: actions/update.html}} {{vtDo:-act="update", -obj="70", pxtc_version_number="{vtGet:CurrentVersionNumber}"}} {{vtEndIf}} {{vtIf: {vtLicenseType} .in. s,d .or. localAccess}} {{vtSet: Unlimited="1"}} {{vtElse}} {{vtIf: {vtLicenseType} .eq. a }} {{vtIf: {pxtcDownloadLogLores} .eq. 1 .or. {pxtcDownloadLogHires} .eq. 1 }} {{vtDo: -act="update", -obj="70", pxtcDownloadLogLores="", pxtcDownloadLogHires="" }} {{vtEndIf}} {{vtSet: LinkUpgrade="http://www.pixtacy.de/de/pricing/upgrade.html"}} {{vtCalc: 8*125}} {{vtElse}} {{vtSet: LinkUpgrade="http://www.pixtacy.de/de/pricing.html"}} {{vtCalc: 2*125}} {{vtEndIf}} {{vtSet: GlobalLimit}} {{vtDbQuery: SELECT count(`id`) as 'count' FROM {vtDbTable:content} WHERE `type` = 'image' }} {{vtDbLoop}} {{vtSet: GlobalCount="{vtDbField:count}"}} {{vtExit}} {{vtEndDbLoop}} {{vtEndDbQuery}} {{vtCalc: {vtGet:GlobalLimit} - {vtGet:GlobalCount} }} {{vtSet: GlobalRemaining}} {{vtEndIf}} {{vtSet: Currencies="CHF,GBP,EUR,USD"}} {{vtSet: EU_Countries="|AT|BE|BG|CY|CZ|DE|DK|EE|GR|ES|FI|FR|GB|HU|IE|IT|LT|LU|LV|MT|NL|PL|PT|RO|SE|SI|SK|"}} {{vtSet: Salutation[value]="Herr", Salutation[text]="{vtGet:s_txt_0052}"}} {{vtSet: Salutations[] = "{vtGet:Salutation}" }} {{vtSet: Salutation[value]="Frau", Salutation[text]="{vtGet:s_txt_0053}"}} {{vtSet: Salutations[] = "{vtGet:Salutation}" }} {{vtIf: {vtConfig:ftpPathToWebRoot} .ew. /}} {{vtElseIf: {vtConfig:ftpPathToWebRoot} .neq.}} {{vtDo: -act="update", -obj="70", ftpPathToWebRoot="{vtConfig:ftpPathToWebRoot}/"}} {{vtEndIf}} {{vtSet: ftpBasePath="{vtFtpBasePath}"}} {{vtIf: {vtGlobal:locked} .eq. 1 .and. {vtUser:name} .eq.}} {{vtSet: HideNavi="1"}} {{vtEndIf}} ## Lightbox initialisieren {{vtIf: {vtGlobal:pxtcLightboxLifetime} .neq. }} {{vtSet: LightboxLifetime="{vtGlobal:pxtcLightboxLifetime}"}} {{vtElseIf: {vtConfig:pxtcLightboxLifetime} .neq. }} {{vtSet: LightboxLifetime="{vtConfig:pxtcLightboxLifetime}"}} {{vtElse}} {{vtSet: LightboxLifetime="2 days"}} {{vtEndIf}} {{vtSet: Lightbox = "{vtCookie:pxtc_lb1}" }} {{vtIf: {vtUser:id} .gte. 100 .and. {vtUser:accountType} .neq. 2 }} {{vtIf: {vtCookie:pxtc_lb1} .eq. }} {{vtSet: Lightbox = "{vtUser:Lightbox}" }} {{vtElseIf: {vtUser:Lightbox} .neq. }} {{vtSet: Lightbox = "{vtUser:Lightbox}{vtCookie:pxtc_lb1}," }} {{vtDo: -act="update", -obj="{vtUser:id}", Lightbox="{vtGet:Lightbox}"}} {{vtDo: -act="setCookie", -expires="-1", pxtc_lb1=""}} {{vtEndIf}} {{vtEndIf}} ## Warenkorb initialisieren {{vtSet: Cart = "{vtSession:Cart}" }} {{vtIf: {vtUser:id} .gte. 100 .and. {vtUser:accountType} .neq. 2 .and. {vtUser:Cart} .neq.}} {{vtIf: {vtSession:Cart} .eq. }} {{vtSet: Cart = "{vtUser:Cart}" }} {{vtElse}} {{vtInclude: includes/func_add_to_cart.html}} {{vtSet: Cart="" }} {{vtRepeat: {vtUser:Cart} }} {{vtCall: -name="add_to_cart", Image="{vtItem:image}", Product="{vtItem:product}", Amount="{vtItem:quantity}" }} {{vtEndRepeat}} {{vtRepeat: {vtSession:Cart} }} {{vtCall: -name="add_to_cart", Image="{vtItem:image}", Product="{vtItem:product}", Amount="{vtItem:quantity}", Mode="replace" }} {{vtEndRepeat}} {{vtDo: -act="updateSession", Cart=""}} {{vtEndIf}} {{vtEndIf}} {{vtEndScript}}