session_start();
if($_GET['L']!="") $_SESSION['L'] = $_GET['L'];
else $_SESSION['L'] = "0";
$_SESSION['page_id'] = $GLOBALS["TSFE"]->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 = '
- high efficiency of solar architecture compensates for initial costs. Owning to considerably low running costs as in the case of conventional buildings, you simultaneously raise your financial solvency throughout the overall utilisation period. Low consumption of energy allows implementing totally new concepts of building automation. Apart from the usual uses of radiant heat, new approaches to mechanical services additionally offer a great deal of comfort.