id; global $GLOBALS; //weiterleitung wenn unterseite direkt aufgerufen wird if($_GET['url']!=""){ if($_GET['L'] != "") { $L = $_GET['L']; } else{ $L = "0"; } $open = str_replace("http://www.baumeister.at/","",$_GET['url']).""; header("Location: index.php?id=1&L=".$L."&open=".$open.""); } class user_various { var $cObj; // Reference to the calling cObj set from TypoScript function startflash($content,$conf){ global $GLOBALS; global $TSFE; $time = time(); $content = ""; /*$content = ' ';*/ if ($handle = opendir('/var/www/vhosts/baumeister.at/httpdocs/fileadmin/template/images/')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { $content .= ''; } } closedir($handle); } return $content; } function opener($content,$conf){ global $GLOBALS; global $TSFE; $aktpid = $GLOBALS["TSFE"]->id; $lang = $GLOBALS["TSFE"]->sys_language_uid; if($_GET['open']!=""){ $openpageid = str_replace("index.php?id=","",$_GET['open']); if($lang>0){ $query = mysql_query("select * from pages_language_overlay where pid='".$openpageid."' and sys_language_uid='".$lang."'"); } else{ $query = mysql_query("select * from pages where uid='".$openpageid."'"); } $row = mysql_fetch_array($query); $aktpage = $row['title']; $content = '
'.$aktpage.'
X
'; } else{ $content = '
 
X
'; } return $content; } function css_ru($content,$conf){ global $GLOBALS; global $TSFE; $aktpid = $GLOBALS["TSFE"]->id; $lang = $GLOBALS["TSFE"]->sys_language_uid; if($lang==3){ $content = ''; } else{ $content = ' '; } return $content; } } ?> SOLARARCHITEKT BLINEDER: EINFAMILIENHAUS
0){ echo '
'; while($row = mysql_fetch_array($query)){ if($_SESSION['L']=="3"){ $titel = $row['titel_ru']; } else if($_SESSION['L']=="2"){ $titel = $row['titel_es']; } else if($_SESSION['L']=="1"){ $titel = $row['titel_en']; } else{ $titel = $row['titel']; } echo ''.$titel.''.$titel.''; } echo '
'; } $query = mysql_query("select * from tx_projekt_liste where deleted=0 and hidden=0 and pid='".$_SESSION['page_id']."' order by sorting limit 5,5"); if(mysql_num_rows($query)>0){ echo'
'; while($row = mysql_fetch_array($query)){ if($_SESSION['L']=="3"){ $titel = $row['titel_ru']; } else if($_SESSION['L']=="2"){ $titel = $row['titel_es']; } else if($_SESSION['L']=="1"){ $titel = $row['titel_en']; } else{ $titel = $row['titel']; } echo ''.$titel.''.$titel.''; } echo '
'; } $query = mysql_query("select * from tx_projekt_liste where deleted=0 and hidden=0 and pid='".$_SESSION['page_id']."' order by sorting limit 10,5"); if(mysql_num_rows($query)>0){ echo'
'; while($row = mysql_fetch_array($query)){ if($_SESSION['L']=="3"){ $titel = $row['titel_ru']; } else if($_SESSION['L']=="2"){ $titel = $row['titel_es']; } else if($_SESSION['L']=="1"){ $titel = $row['titel_en']; } else{ $titel = $row['titel']; } echo ''.$titel.''.$titel.''; } echo '
'; } $query = mysql_query("select * from tx_projekt_liste where deleted=0 and hidden=0 and pid='".$_SESSION['page_id']."' order by sorting limit 15,5"); if(mysql_num_rows($query)>0){ echo '
'; while($row = mysql_fetch_array($query)){ if($_SESSION['L']=="3"){ $titel = $row['titel_ru']; } else if($_SESSION['L']=="2"){ $titel = $row['titel_es']; } else if($_SESSION['L']=="1"){ $titel = $row['titel_en']; } else{ $titel = $row['titel']; } echo ''.$titel.''.$titel.''; } echo '
'; } $query = mysql_query("select * from tx_projekt_liste where deleted=0 and hidden=0 and pid='".$_SESSION['page_id']."' order by sorting limit 20,5"); if(mysql_num_rows($query)>0){ echo '
'; while($row = mysql_fetch_array($query)){ if($_SESSION['L']=="3"){ $titel = $row['titel_ru']; } else if($_SESSION['L']=="2"){ $titel = $row['titel_es']; } else if($_SESSION['L']=="1"){ $titel = $row['titel_en']; } else{ $titel = $row['titel']; } echo ''.$titel.''.$titel.''; } echo '
'; } ?>