0){ //---->>> DATENBANK IST EINGESPIELT!!!!!!!!!! include ("../system/bin/$cccp0101"); //--configeinstellungen 2 aus db } include ("../system/bin/includes/p0140.php"); include ("../system/bin/includes/p0102.php"); include ("../system/bin/includes/p0132.php"); if (!AW_checkipranges()){ AW_accesrestrictedalert(); die; } $cccstandardlang_id[1]="af";$cccstandardlang_show[1]="Afrikaans";$cccstandardlang_aktiv[1]="0";$cccstandardlang_charset1[1]="ISO-8859-1"; $cccstandardlang_id[2]="sq";$cccstandardlang_show[2]="Albanian";$cccstandardlang_aktiv[2]="0";$cccstandardlang_charset1[2]="ISO-8859-1"; $cccstandardlang_id[3]="ar";$cccstandardlang_show[3]="Arabic";$cccstandardlang_aktiv[3]="0";$cccstandardlang_charset1[3]="windows-1256"; $cccstandardlang_id[4]="eu";$cccstandardlang_show[4]="Basque";$cccstandardlang_aktiv[4]="0";$cccstandardlang_charset1[4]="ISO-8859-1"; $cccstandardlang_id[5]="be";$cccstandardlang_show[5]="Belarusian";$cccstandardlang_aktiv[5]="0";$cccstandardlang_charset1[5]="ISO-8859-1"; $cccstandardlang_id[6]="bg";$cccstandardlang_show[6]="Bulgarian";$cccstandardlang_aktiv[6]="0";$cccstandardlang_charset1[6]="windows-1251"; $cccstandardlang_id[7]="ca";$cccstandardlang_show[7]="Catalan";$cccstandardlang_aktiv[7]="0";$cccstandardlang_charset1[7]="iso-8859-1"; $cccstandardlang_id[8]="zh";$cccstandardlang_show[8]="Chinese";$cccstandardlang_aktiv[8]="0";$cccstandardlang_charset1[8]="big5"; $cccstandardlang_id[9]="zh-sg";$cccstandardlang_show[9]="Chinese (PRC/Singapore)";$cccstandardlang_aktiv[9]="0";$cccstandardlang_charset1[9]="gb2312"; $cccstandardlang_id[10]="hr";$cccstandardlang_show[10]="Croatian";$cccstandardlang_aktiv[10]="0";$cccstandardlang_charset1[10]="ISO-8859-1"; $cccstandardlang_id[11]="cs";$cccstandardlang_show[11]="Czech";$cccstandardlang_aktiv[11]="0";$cccstandardlang_charset1[11]="windows-1250"; $cccstandardlang_id[12]="da";$cccstandardlang_show[12]="Danish";$cccstandardlang_aktiv[12]="0";$cccstandardlang_charset1[12]="iso-8859-1"; $cccstandardlang_id[13]="nl";$cccstandardlang_show[13]="Dutch";$cccstandardlang_aktiv[13]="0";$cccstandardlang_charset1[13]="iso-8859-1"; $cccstandardlang_id[14]="en";$cccstandardlang_show[14]="English";$cccstandardlang_aktiv[14]="1";$cccstandardlang_charset1[14]="iso-8859-1"; $cccstandardlang_id[15]="et";$cccstandardlang_show[15]="Estonian";$cccstandardlang_aktiv[15]="0";$cccstandardlang_charset1[15]="ISO-8859-1"; $cccstandardlang_id[16]="fo";$cccstandardlang_show[16]="Faeroese";$cccstandardlang_aktiv[16]="0";$cccstandardlang_charset1[16]="ISO-8859-1"; $cccstandardlang_id[17]="fa";$cccstandardlang_show[17]="Farsi";$cccstandardlang_aktiv[17]="0";$cccstandardlang_charset1[17]="ISO-8859-1"; $cccstandardlang_id[18]="fi";$cccstandardlang_show[18]="Finnish";$cccstandardlang_aktiv[18]="0";$cccstandardlang_charset1[18]="ISO-8859-1"; $cccstandardlang_id[19]="fr";$cccstandardlang_show[19]="French";$cccstandardlang_aktiv[19]="0";$cccstandardlang_charset1[19]="iso-8859-1"; $cccstandardlang_id[20]="mk";$cccstandardlang_show[20]="FYRO Macedonian";$cccstandardlang_aktiv[20]="0";$cccstandardlang_charset1[20]="ISO-8859-1"; $cccstandardlang_id[21]="gd";$cccstandardlang_show[21]="Gaelic";$cccstandardlang_aktiv[21]="0";$cccstandardlang_charset1[21]="ISO-8859-1"; $cccstandardlang_id[22]="de";$cccstandardlang_show[22]="German";$cccstandardlang_aktiv[22]="1";$cccstandardlang_charset1[22]="ISO-8859-1"; $cccstandardlang_id[23]="el";$cccstandardlang_show[23]="Greek";$cccstandardlang_aktiv[23]="0";$cccstandardlang_charset1[23]="windows-1253"; $cccstandardlang_id[24]="he";$cccstandardlang_show[24]="Hebrew";$cccstandardlang_aktiv[24]="0";$cccstandardlang_charset1[24]="ISO-8859-1"; $cccstandardlang_id[25]="hi";$cccstandardlang_show[25]="Hindi";$cccstandardlang_aktiv[25]="0";$cccstandardlang_charset1[25]="ISO-8859-1"; $cccstandardlang_id[26]="hu";$cccstandardlang_show[26]="Hungarian";$cccstandardlang_aktiv[26]="0";$cccstandardlang_charset1[26]="ISO-8859-1"; $cccstandardlang_id[27]="is";$cccstandardlang_show[27]="Icelandic";$cccstandardlang_aktiv[27]="0";$cccstandardlang_charset1[27]="x-mac-icelandic"; $cccstandardlang_id[28]="in";$cccstandardlang_show[28]="Indonesian";$cccstandardlang_aktiv[28]="0";$cccstandardlang_charset1[28]="ISO-8859-1"; $cccstandardlang_id[29]="it";$cccstandardlang_show[29]="Italian";$cccstandardlang_aktiv[29]="0";$cccstandardlang_charset1[29]="ISO-8859-1"; $cccstandardlang_id[30]="ja";$cccstandardlang_show[30]="Japanese";$cccstandardlang_aktiv[30]="0";$cccstandardlang_charset1[30]="euc-jp"; $cccstandardlang_id[31]="ko";$cccstandardlang_show[31]="Korean";$cccstandardlang_aktiv[31]="0";$cccstandardlang_charset1[31]="ks_c_5601-1987"; $cccstandardlang_id[32]="lv";$cccstandardlang_show[32]="Latvian";$cccstandardlang_aktiv[32]="0";$cccstandardlang_charset1[32]="ISO-8859-1"; $cccstandardlang_id[33]="lt";$cccstandardlang_show[33]="Lithuanian";$cccstandardlang_aktiv[33]="0";$cccstandardlang_charset1[33]="ISO-8859-1"; $cccstandardlang_id[34]="ms";$cccstandardlang_show[34]="Malaysian";$cccstandardlang_aktiv[34]="0";$cccstandardlang_charset1[34]="ISO-8859-1"; $cccstandardlang_id[35]="mt";$cccstandardlang_show[35]="Maltese";$cccstandardlang_aktiv[35]="0";$cccstandardlang_charset1[35]="iso-8859-3"; $cccstandardlang_id[36]="no";$cccstandardlang_show[36]="Norwegian";$cccstandardlang_aktiv[36]="0";$cccstandardlang_charset1[36]="ISO-8859-1"; $cccstandardlang_id[37]="pl";$cccstandardlang_show[37]="Polish";$cccstandardlang_aktiv[37]="0";$cccstandardlang_charset1[37]="iso-8859-2"; $cccstandardlang_id[38]="pt";$cccstandardlang_show[38]="Portuguese";$cccstandardlang_aktiv[38]="0";$cccstandardlang_charset1[38]="iso-8859-1"; $cccstandardlang_id[39]="rm";$cccstandardlang_show[39]="Rhaeto-Romanic";$cccstandardlang_aktiv[39]="0";$cccstandardlang_charset1[39]="ISO-8859-1"; $cccstandardlang_id[40]="ro";$cccstandardlang_show[40]="Romanian";$cccstandardlang_aktiv[40]="0";$cccstandardlang_charset1[40]="ISO-8859-1"; $cccstandardlang_id[41]="ru";$cccstandardlang_show[41]="Russian";$cccstandardlang_aktiv[41]="0";$cccstandardlang_charset1[41]="windows-1251"; $cccstandardlang_id[42]="sz";$cccstandardlang_show[42]="Sami (Lappish)";$cccstandardlang_aktiv[42]="0";$cccstandardlang_charset1[42]="ISO-8859-1"; $cccstandardlang_id[43]="sr";$cccstandardlang_show[43]="Serbian (Cyrillic)";$cccstandardlang_aktiv[43]="0";$cccstandardlang_charset1[43]="ISO-8859-1"; $cccstandardlang_id[44]="sk";$cccstandardlang_show[44]="Slovak";$cccstandardlang_aktiv[44]="0";$cccstandardlang_charset1[44]="ISO-8859-1"; $cccstandardlang_id[45]="sl";$cccstandardlang_show[45]="Slovenian";$cccstandardlang_aktiv[45]="0";$cccstandardlang_charset1[45]="ISO-8859-1"; $cccstandardlang_id[46]="sb";$cccstandardlang_show[46]="Sorbian";$cccstandardlang_aktiv[46]="0";$cccstandardlang_charset1[46]="ISO-8859-1"; $cccstandardlang_id[47]="es";$cccstandardlang_show[47]="Spanish";$cccstandardlang_aktiv[47]="0";$cccstandardlang_charset1[47]="ISO-8859-1"; $cccstandardlang_id[48]="sx";$cccstandardlang_show[48]="Sutu";$cccstandardlang_aktiv[48]="0";$cccstandardlang_charset1[48]="ISO-8859-1"; $cccstandardlang_id[49]="sv";$cccstandardlang_show[49]="Swedish";$cccstandardlang_aktiv[49]="0";$cccstandardlang_charset1[49]="ISO-8859-1"; $cccstandardlang_id[50]="th";$cccstandardlang_show[50]="Thai";$cccstandardlang_aktiv[50]="0";$cccstandardlang_charset1[50]="tis-620"; $cccstandardlang_id[51]="ts";$cccstandardlang_show[51]="Tsonga";$cccstandardlang_aktiv[51]="0";$cccstandardlang_charset1[51]="ISO-8859-1"; $cccstandardlang_id[52]="tn";$cccstandardlang_show[52]="Tswana";$cccstandardlang_aktiv[52]="0";$cccstandardlang_charset1[52]="ISO-8859-1"; $cccstandardlang_id[53]="tr";$cccstandardlang_show[53]="Turkish";$cccstandardlang_aktiv[53]="0";$cccstandardlang_charset1[53]="iso-8859-9"; $cccstandardlang_id[54]="uk";$cccstandardlang_show[54]="Ukrainian";$cccstandardlang_aktiv[54]="0";$cccstandardlang_charset1[54]="ISO-8859-1"; $cccstandardlang_id[55]="ur";$cccstandardlang_show[55]="Urdu";$cccstandardlang_aktiv[55]="0";$cccstandardlang_charset1[55]="ISO-8859-1"; $cccstandardlang_id[56]="ve";$cccstandardlang_show[56]="Venda";$cccstandardlang_aktiv[56]="0";$cccstandardlang_charset1[56]="ISO-8859-1"; $cccstandardlang_id[57]="vi";$cccstandardlang_show[57]="Vietnamese";$cccstandardlang_aktiv[57]="0";$cccstandardlang_charset1[57]="windows-1258"; $cccstandardlang_id[58]="xh";$cccstandardlang_show[58]="Xhosa";$cccstandardlang_aktiv[58]="0";$cccstandardlang_charset1[58]="ISO-8859-1"; $cccstandardlang_id[59]="ji";$cccstandardlang_show[59]="Yiddish";$cccstandardlang_aktiv[59]="0";$cccstandardlang_charset1[59]="windows-1255"; $cccstandardlang_id[60]="zu";$cccstandardlang_show[60]="Zulu";$cccstandardlang_aktiv[60]="0";$cccstandardlang_charset1[60]="ISO-8859-1"; if (!isset($cccmainlanguage)){ $cccmainlanguage="en"; } if (strlen($cccmainlanguage)==0){ $cccmainlanguage="en"; } if (!isset($language)){ setsessionwert("language", "$cccmainlanguage"); } if (strlen($language)==0){ setsessionwert("language", "$cccmainlanguage"); } //--------------------------------------------------------------------------------- //----------------language für programmfiles--------------------------------------- include ("../system/languages/en/tf_includes.php"); $ccclgfile="../system/languages/$cccbolanguage/tf_includes.php"; if (file_exists($ccclgfile)){ include ("$ccclgfile"); } $ccclgfilename="tf_backoffice"; include ("../system/languages/en/$ccclgfilename.php"); $ccclgfile="../system/languages/$cccbolanguage/$ccclgfilename.php"; if (file_exists($ccclgfile)){ include ("$ccclgfile"); } //--------------------------------------------------------------------------------- //--------------------------------------------------------------------------------- include ("../system/bin/$cccp0102"); //session_db $cccc_version=""; $cccnochnichtupgedated=0; //echo "++$cccc_version++"; $cccsql = "select c_version from psystem"; //echo $cccsql; $cccresult = mysql_query($cccsql, $cccconn); if (@$cccrow=mysql_fetch_row($cccresult)) { $cccc_version = $cccrow[0]; } //echo "VERSION: $cccc_version"; //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //---UPDATES: //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ if (strlen($cccc_version)>0){ //---->>> DATENBANK IST EINGESPIELT!!!!!!!!!! //echo "HIER"; //include ("../config.inc.php"); //--configeinstellungen 1 include ("../system/bin/includes/p0218.php"); //DB-Update //---feldlänge berechnen und speichern------------------------------------- $cccsql ="select felder, felder_id from pfelder"; $cccresult =mysql_query($cccsql, $cccconn); if($cccresult){ while($cccrow=mysql_fetch_row($cccresult)){ $cccmfelder=$cccrow[0]; $cccmfelder_id=$cccrow[1]; $cccstrlenfelder=strlen($cccmfelder); $cccsql2 = "update pfelder set feldcharlength='$cccstrlenfelder' where felder_id='$cccmfelder_id'"; sqltodatabase($cccsql2); } } } //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // FORMULAR ZUM AUSFÜLLEN DES USERS, PASS UND SPRACHE: //---Zeile 1218 setzt : $inituser //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ if (isset($cccinituser)){ $cccstandardspreche_option=""; for($ccczlang=1;$ccczlang<=intval(count($cccstandardlang_id));$ccczlang++){ if ($cccstandardlang_id[$ccczlang]=="en"){ $cccstandardspreche_option.=""; } else { $cccstandardspreche_option.=""; } } echo " Constructioner® WebTechnology - $ccclogin_3
Constructioner® WebTechnology - $ccclogin_4

 
$ccclogin_5
 
$ccclogin_6
$ccclogin_7
$ccclogin_8
$ccclogin_9
 
 
*\"$ccclogin_10
 

 

"; die; } //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // DATENBANK WIRD EINGESPIELT: //---Zeile 191 setzt : $cccinitdb //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ if (isset($cccinitdb)){ if (strlen($cccinitdb)>0){ $ccctest=""; //----------RESTORE------------------------------------------------------ANFANG $cccfile="../system/constructioner.sql"; $cccsql_query=AW_getfilecontent($cccfile); //$ccchandle=fopen($cccfile, "r"); //$cccsql_query=fread($ccchandle,filesize ($cccfile)); //fclose($ccchandle); $cccconn = mysql_connect($cccserver, $cccdbuser,$cccpass); $cccdbuse = mysql_select_db($cccdatabase); $ccclist=mysql_list_tables($cccdatabase); $ccci=0; while($ccci"; //echo "ANFANG: ".htmlspecialchars($cccsql)." ENDE!!!!!!!
";flush(); if (substr($cccsql,0,22)!="INSERT INTO planguages"){ //$cccsql=substr($cccsql,0,strlen($cccsql)-1); //echo htmlspecialchars($cccsql)."
";flush(); //sqltodatabase($cccsql); if(!empty($cccsql) and $cccsql[0] != "#"){ $cccresult = mysql_query($cccsql, $cccconn) or mysql_die2($cccsql); } } } } } //sprachen einspielen: for($ccczlang=1;$ccczlang<=intval(count($cccstandardlang_id));$ccczlang++){ $cccsql="INSERT INTO planguages VALUES (\"$cccstandardlang_id[$ccczlang]\",\"$cccstandardlang_show[$ccczlang]\",\"$cccstandardlang_aktiv[$ccczlang]\",\"$cccstandardlang_charset1[$ccczlang]\");"; sqltodatabase($cccsql); } //-----login-daten eintragen---- if ($ccckmainlanguage=="de"){ $ccckbackofficelang="de"; } elseif ($ccckmainlanguage=="en"){ $ccckbackofficelang="en"; } else { $ccckbackofficelang="en"; } $cccaltespw=""; for ($ccczaehler=1;$ccczaehler<=8;$ccczaehler++){ $cccaltespw.=chr(mt_rand(97,109)); } $cccspasswort=calcSHA1($cccfirstloginpass); $cccsql= "INSERT INTO puser (user, password, startseite, profile, language, mode, helpflag, bolanguage, info) VALUES (\"$cccfirstloginname\",\"$cccaltespw\", \"system_usersettings\", \"development\", \"$ccckmainlanguage\", \"backoffice\", \"1\", \"$ccckbackofficelang\", \"$cccspasswort\")"; //echo $cccsql; $cccresult = mysql_query($cccsql, $cccconn); if ($cccresult) { $cccc_version=""; $cccsql7 = "select c_version from psystem"; //echo $cccsql; @$cccresult7 = mysql_query($cccsql7, $cccconn); if (@$cccrow7=mysql_fetch_row($cccresult7)) { $cccc_version = $cccrow7[0]; } if (strlen($cccc_version)==0){ $cccsql2= "INSERT INTO psystem (c_version) VALUES (\"2502\")"; //echo $cccsql; $cccresult2 = mysql_query($cccsql2, $cccconn); if ($cccresult2) { } else { $cccmeldung="ERROR:".mysql_error($cccconn); c_alert($cccmeldung); } } } else { $cccmeldung="ERROR:".mysql_error($cccconn); c_alert($cccmeldung); } //---gewählte sprache aktivieren--------------- $cccsql2= "UPDATE planguages SET aktiv='1' where language='$ccckmainlanguage'"; //echo $cccsql; $cccresult2 = mysql_query($cccsql2, $cccconn); if ($cccresult2) { } else { $cccmeldung="ERROR:".mysql_error($cccconn); c_alert($cccmeldung); } if (strlen($cccc_version)>0){ //---->>> DATENBANK IST EINGESPIELT!!!!!!!!!! $cccsql2= "UPDATE pconfig SET wert='$ccckmainlanguage' where bedeutung='cccmainlanguage'"; sqltodatabase($cccsql2); } } } //----------RESTORE------------------------------------------------------ENDE //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // BACKOFFICE LOGIN PANEL: // DATENBANK IST EINGESPIELT -> BACKOFFICE LOGIN //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //session_name($cccsessionprefix); //session_start(); include ("../system/bin/$cccp0101"); //--configeinstellungen 2 aus db $cccergebnis=""; setsessionwert("webpagelogin", "FALSE"); setsessionwert("cccnewmessage", 0); setsessionwert("level1", ""); setsessionwert("level2", ""); setsessionwert("level3", ""); setsessionwert("level4", ""); setsessionwert("level5", ""); setsessionwert("current_page", ""); setsessionwert("constructioner_charset", "iso-8859-1"); setsessionwert("cccistsystemseite", ""); setsessionwert("cccstandardusergeloescht", "nein"); $cccc_version=""; $cccsql = "select c_version from psystem"; $cccresult = mysql_query($cccsql, $cccconn); if ($cccresult){ if ($cccrow=mysql_fetch_row($cccresult)) { $cccc_version = $cccrow[0]; //echo $cccc_version; } } //echo "---".$cccconn; if ( $cccurl=="http://www.constructioner.com/demo/demo01/" or $cccurl=="http://www.constructioner.com/demo/demo02/" or $cccurl=="http://www.constructioner.com/demo/demo03/" or $cccurl=="http://www.constructioner.com/demo/demo04/" or $cccurl=="http://www.constructioner.com/demo/demo05/" or $cccurl=="http://www.constructioner.com/demo/demo06/" or $cccurl=="http://www.constructioner.com/demo/demo07/" or $cccurl=="http://www.constructioner.com/demo/demo08/" or $cccurl=="http://www.constructioner.com/demo/demo09/" or $cccurl=="http://www.constructioner.com/demo/demo10/" or $cccurl=="http://www.constructioner.com/demo/demo11/" or $cccurl=="http://www.constructioner.com/demo/demo12/" or $cccurl=="http://www.constructioner.com/demo/demo13/" or $cccurl=="http://www.constructioner.com/demo/demo14/" or $cccurl=="http://www.constructioner.com/demo/demo15/" or $cccurl=="http://www.constructioner.com/demo/demo16/" or $cccurl=="http://www.constructioner.com/demo/demo17/" or $cccurl=="http://www.constructioner.com/demo/demo18/" or $cccurl=="http://www.constructioner.com/demo/demo19/" or $cccurl=="http://www.constructioner.com/demo/demo20/" ){ $cccc_version="2.6"; } if (strlen($cccc_version)>0){ if (isset($ccclogin)) { //falls Backoffice eingeloggt wurde $ccclogin=str_replace("'","",$ccclogin); $ccclogin=str_replace("\"","",$ccclogin); $ccclogin=str_replace("\"","",$ccclogin); $ccclogin=str_replace(" ","",$ccclogin); $cccspasswort=calcSHA1($cccspasswort); $cccsql = "select profile, startseite, mode, language, helpflag, bolanguage, user, info from puser"; $ccczzzaehler=0; $cccresult = mysql_query($cccsql, $cccconn); if ($cccresult) { while ($cccrow = mysql_fetch_row($cccresult)) { $ccczzzaehler++; $cccpppprofile[$ccczzzaehler]=$cccrow[0]; $cccpppstartseite[$ccczzzaehler]=$cccrow[1]; $cccpppmode[$ccczzzaehler]=$cccrow[2]; $cccppplanguage[$ccczzzaehler]=$cccrow[3]; $cccppphelpflag[$ccczzzaehler]=$cccrow[4]; $cccpppbolanguage[$ccczzzaehler]=$cccrow[5]; $cccpppuser[$ccczzzaehler]=$cccrow[6]; $cccpppinfo[$ccczzzaehler]=$cccrow[7]; } } $cccthisisagoodtry=0; $cccrememberthisz=0; for ($cccttt=1;$cccttt<=$ccczzzaehler;$cccttt++){ //echo "$cccttt PW: $cccspasswort, $cccpppinfo[$cccttt]
"; if ($ccclogin==$cccpppuser[$cccttt] and $cccspasswort==$cccpppinfo[$cccttt]){ $cccthisisagoodtry=1; $cccrememberthisz=$cccttt; //echo $cccpppuser[$cccttt]; } } if (!AW_checkipranges()){ $cccthisisagoodtry=0; //echo "IP"; } if ($cccthisisagoodtry==1){ setsessionwert("profile", $cccpppprofile[$cccrememberthisz]); $cccpstartseite = $cccpppstartseite[$cccrememberthisz]; if (strlen($cccpstartseite)==0){ $cccpstartseite="system_layouts"; } setsessionwert("cccloginbackofficetimelag", "VIABACKOFFICE"); setsessionwert("user", $ccclogin); setsessionwert("mode", $cccpppmode[$cccrememberthisz]); //setsessionwert("language", $cccrow[3]); setsessionwert("language", $cccmainlanguage); setsessionwert("cccconstructioner_helpflag", $cccppphelpflag[$cccrememberthisz]); setsessionwert("cccaktbackofficeseite",""); $cccbackofficelanguage=$cccpppbolanguage[$cccrememberthisz]; if (strlen($cccbackofficelanguage)==0){ $cccbackofficelanguage="en"; } if (strlen($mode)==0){ setsessionwert("mode","backoffice"); } if ($mode=="backoffice"){ setsessionwert("current_page",$cccstartseite); } if (strlen($language)==0){ setsessionwert("language","en"); } //echo $cccbackofficelanguage; setsessionwert("cccbolanguage", $cccbackofficelanguage); //----------hole charset------------- $cccsqlcs = "select charset1 from planguages where language='$language'"; //echo $cccsqlcs; $cccresultcs = mysql_query($cccsqlcs, $cccconn); if ($cccrowcs=mysql_fetch_row($cccresultcs)) { setsessionwert("constructioner_charset", $cccrowcs[0]); } setsessionwert("ccckvb12999", 5); //----------hole systemseiten------------- include ("../system/bin/$cccp0214"); for ($cccc1=1;$cccc1<=intval(count($cccsystempage_id));$cccc1++){ if ("system_".$cccsystempage_id[$cccc1]==$cccpstartseite){ $cccfenster_rechts=$cccsystempage_program[$cccc1]; setsessionwert("cccaktbackofficemenuelinks", $cccsystempage_id[$cccc1]); //echo $$cccfenster_rechts; setsessionwert("cccaktbackofficeseite", "system/bin/".$$cccfenster_rechts); $cccistsystemseite="ja"; setsessionwert("mode","backoffice"); setsessionwert("current_page",$cccstartseite); } } $cccgoto=$cccurl ."system/bin/$cccp0104"; if ($cccistsystemseite<>"ja"){ if (strlen($cccpstartseite)>0){ setsessionwert("current_page",$cccpstartseite); $cccgoto=$cccurl ."system/bin/$cccp0104"; } } echo "$ccclogin_12 "; //die; } else { $cccergebnis= "$ccclogin_13"; //die; $cccmicrotime1=mktime(); while (mktime()<$cccmicrotime1+3){ //echo mktime()."
"; } setsessionwert("cccloginbackofficetimelag","T3"); } } $cccmainversionnumber=299; $cccsubversionnumber=1; $cccversfile_inhalt=""; $cccmainversionsnummertoshow=substr($cccmainversionnumber,0,1).".".substr($cccmainversionnumber,1,1).".".substr($cccmainversionnumber,2,1); if (strlen($cccBOloginversioninfo)>0){ $cccBOloginversioninfo=$cccBOloginversioninfo; $cccversionsinfodarunter=""; } else { $cccBOloginversioninfo=""; $cccversionsinfodarunter="Professional Version"; } if (strlen($cccBOloginfooter)>0){ $cccBOloginfooter=$cccBOloginfooter; } else { $cccBOloginfooter="Constructioner® WebTechnology: © Copyright 2000-2009 by Artware Multimedia GmbH, Vienna - Austria - Europe. All rights reserved. Constructioner® is a registered Trademark. The use of this software is subject to our Licence Agreement & Copyrights"; } echo " Constructioner® $ccclogin_16

 

 

 

\"$cccBOcompanyname\"
$cccergebnis!

Constructioner® $cccmainversionsnummertoshow  (#$cccsubversionnumber) 
$cccversionsinfodarunter

Attention: Further development of this release
is discontinued, support and security fixing will end
in Dec 2010. See also IMPORTANT.html

$cccBOloginfooter

 

 

 

"; @ob_flush(); @flush(); //} } else { //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //++++++++++++++++++ DATENBANK NICHT EINGESPIELT -> SETUP ++++++++++++++++++++++++++++++ //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //----------------Disclaimer------------------------------------------------------------------- if (!isset($cccnotagreed)){ if (!isset($cccagreed)){ if (file_exists("../system/license.html")){ $cccfile="../system/license.html"; } $ccchandle=fopen($cccfile, "r"); $ccc_license_txt=fread($ccchandle,filesize ($cccfile)); fclose($ccchandle); $ccc_license_txt=str_replace("../../../","../",$ccc_license_txt); $ccccontent= " Constructioner® SETUP
CONSTRUCTIONER®$ccclogin_19 asdfasdf
$ccc_license_txt
    
"; echo $ccccontent; die; } else { //-----------------------------Permissions---------------------------------------------- $cccconn = @mysql_connect($cccserver, $cccdbuser,$cccpass); $cccdbuse = mysql_select_db($cccdatabase); if (strlen($cccconn)>0){ $cccsql_anbindung="O.K."; } else { $cccsql_anbindung="$ccclogin_25"; } if (strlen($cccdbuse)>0){ $cccdb_anbindung="O.K."; } else { $cccdb_anbindung="$ccclogin_25"; } $ccccontent=""; $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload="$ccclogin_29"; } else { $ccc_upload="$ccclogin_28"; } //------------------------------------------------------------------------ $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/images/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_images="$ccclogin_29"; } else { $ccc_upload_images="$ccclogin_28"; } //######################################################################### //------------------------------------------------------------------------ $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/images/CMSEditor/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_images_cmseditor="$ccclogin_29"; } else { $ccc_upload_images_cmseditor="$ccclogin_28"; } //######################################################################### //------------------------------------------------------------------------ $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/images/Development/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_images_Development="$ccclogin_29"; } else { $ccc_upload_images_Development="$ccclogin_28"; } //######################################################################### //------------------------------------------------------------------------ //######################################################################### //------------------------------------------------------------------------ $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/images/ImageGallery/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_images_ImageGallery="$ccclogin_29"; } else { $ccc_upload_images_ImageGallery="$ccclogin_28"; } //######################################################################### //------------------------------------------------------------------------ $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/images/Layout/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_images_Layout="$ccclogin_29"; } else { $ccc_upload_images_Layout="$ccclogin_28"; } //######################################################################### //------------------------------------------------------------------------ $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/files/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_files="$ccclogin_29"; } else { $ccc_upload_files="$ccclogin_28"; } //######################################################################### //------------------------------------------------------------------------ $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/files/CMSEditor/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_files_CMSEditor="$ccclogin_29"; } else { $ccc_upload_files_CMSEditor="$ccclogin_28"; } //######################################################################### //------------------------------------------------------------------------ $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/phplibrary/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_phplibrary="$ccclogin_29"; } else { $ccc_upload_phplibrary="$ccclogin_28"; } //######################################################################### $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/database/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_database="$ccclogin_29"; } else { $ccc_upload_database="$ccclogin_28"; } //######################################################################### $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/javascript/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_javascript="$ccclogin_29"; } else { $ccc_upload_javascript="$ccclogin_28"; } //######################################################################### //######################################################################### $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/javascript/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_javascript="$ccclogin_29"; } else { $ccc_upload_javascript="$ccclogin_28"; } //######################################################################### //######################################################################### $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/statistic/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_statistic="$ccclogin_29"; } else { $ccc_upload_statistic="$ccclogin_28"; } //######################################################################### //------------------------------------------------------------------------ $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/styles/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_styles="$ccclogin_29"; } else { $ccc_upload_styles="$ccclogin_28"; } //######################################################################### //------------------------------------------------------------------------ //------------------------------------------------------------------------ $ccctest1=0; $cccfileinhalt=""; $cccfile="../upload/debugging/test.php"; $ccchandle=fopen($cccfile, "w+"); @fputs($ccchandle, $cccfileinhalt); @fclose($ccchandle); @include ("$cccfile"); @unlink("$cccfile"); if ($ccctest1==2){ $ccc_upload_debugging="$ccclogin_29"; } else { $ccc_upload_debugging="$ccclogin_28"; } //######################################################################### //------------------------------------------------------------------------ $ccccontent= " Constructioner® WebTechnology - $ccclogin_3
Constructioner® WebTechnology - $ccclogin_30

$ccclogin_31 $ccclogin_32 ./upload/ $ccc_upload $ccclogin_33
$ccclogin_32 ./upload/database/ $ccc_upload_database
$ccclogin_32 ./upload/debugging/ $ccc_upload_debugging
$ccclogin_32 ./upload/files/ $ccc_upload_files
$ccclogin_32 ./upload/files/CMSEditor/ $ccc_upload_files_CMSEditor
$ccclogin_32 ./upload/images/ $ccc_upload_images
$ccclogin_32 ./upload/images/CMSEditor/ $ccc_upload_images_cmseditor
$ccclogin_32 ./upload/images/Development/ $ccc_upload_images_Development
$ccclogin_32 ./upload/images/ImageGallery/ $ccc_upload_images_ImageGallery
$ccclogin_32 ./upload/images/Layout/ $ccc_upload_images_Layout
$ccclogin_32 ./upload/javascript/ $ccc_upload_javascript
$ccclogin_32 ./upload/phplibrary/ $ccc_upload_phplibrary
$ccclogin_32 ./upload/statistic/ $ccc_upload_statistic
$ccclogin_32 ./upload/styles/ $ccc_upload_styles
MySQL™/$ccclogin_48 $ccclogin_36 $cccsql_anbindung $ccclogin_33
$ccclogin_35 [$cccdatabase] $cccdb_anbindung
$ccclogin_37 $ccclogin_38 $ccclogin_46 - $ccclogin_39 $ccclogin_33
$ccclogin_40 $ccclogin_46 - $ccclogin_41 $ccclogin_33

$ccclogin_47 $ccclogin_42 3456

"; if ($cccsql_anbindung=="$ccclogin_29" AND $cccdb_anbindung=="$ccclogin_29"){ $ccccontent= $ccccontent.""; } $ccccontent= $ccccontent."

 

 
"; $ccccontent= $ccccontent."    "; echo $ccccontent; } } } mysql_close($cccconn); ?>