<% if (Environment::doDebugOutput(true)) { %> <% } %> <% echo $this->headTitle(); %> <% echo $this->openGraph; %> <% echo $this->headMeta(); %> <% echo $this->headLink(); %> <% echo $this->buildStyleSheets(); %> <% echo $this->headScript(); %> <% echo $this->buildJavaScripts(); %> <% echo $this->inlineScript() %> <% echo $this->additionalHeaders; %> <% switch (Registry::get('state')->getCode()) { case 'SK': $account = 'UA-200716-3'; break; case 'AT': default: $account = 'UA-200716-1'; break; } %> <% if (!isset($_COOKIE['disableResponsive']) || !$_COOKIE['disableResponsive']): %> <% if ($this->detection->is('android') && floatval($this->detection->version('Android')) < 3): %> ' /> ' /> ' /> ' /> ' /> ' /> ' /> ' /> ' /> <% else: %> ' /> <% endif; %> <% endif; %> <% if (time() >= mktime(0,0,0, 4, 1, 2016) && time() < mktime(0,0,0, 4, 25, 2016)) { %> <% } %> <% $user = Registry::get('session')->user; %> getBodyTagAttributes() as $name => $value) { echo $name . '="' . $value . '" '; } %> > <% $zip = ''; $province = ''; $location = ''; $age = ''; $gender = ''; if (!function_exists('lowerNoUmlauts')) { function lowerNoUmlauts($str) { $str = strtolower($str); $replacePairs = array( ' ' => '_', 'ä' => 'ae', 'ö' => 'oe', 'ü' => 'ue', 'ß' => 'ss' ); $str = strtr($str, $replacePairs); return $str; } } if ($user) { $userData = $user->getUserData(); $userCharacter = $user->getUserCharacter(); $userPageAddOn = new \Weblife1_User_Page_Addon_Main(0); $userInfos = $userPageAddOn->build($user ); $zip = urlencode($userData->getZipCode()); $province = urlencode(lowerNoUmlauts($userData->getProvinceName())); $location = urlencode(lowerNoUmlauts($userData->getCity())); $age = urlencode($userCharacter->getAge()); $gender = $userData->getGender() == 'm' ? 'male' : 'female'; } %> <% if ($user && Registry::get('session')->isFreshRegistration) : %> <% Registry::get('session')->isFreshRegistration = FALSE; %> <% endif %>
. . . <% if (!$this->detection->isMobile() && !$this->detection->isTablet()): %> <% echo Szene1_Ads::getInstance()->getBanner(Szene1_Ads::BANNER_SITEBAR_LEFT) %> <% endif %>
<% echo $this->placeholder('notifications'); %> <% if(Registry::isRegistered('fallbackactive')) { %>
Fallback-Hack aktiv! Diese Seite wurde noch nicht überarbeitet und funktioniert womöglich nicht richtig!
<% } %> <% if(Registry::isRegistered('session') && (Registry::get('session')->obSeen < 1)) { %> <% } %>
<% if ($this->detection->isMobile() || $this->detection->isTablet()): %>
<% endif %> <% $mainBoxHtml = '
'; $showDetails = true; if($this->groupXTemporarilyClosed || $this->noAccess || $this->partialAccess) { $showDetails = false; $mainBoxTitle = ''; if($this->noAccess) { $mainBoxHtml .= ''.Szene1_Translate::_('note').'
' . Szene1_Translate::_('thisGroupIsOnlyForMembers').'
'; } elseif($this->partialAccess) { $mainBoxHtml .= ''.Szene1_Translate::_('note').'
' . Szene1_Translate::_('thisIsOnlyPartOfThePageInfo').'
'; } else { $mainBoxHtml .= ''.Szene1_Translate::_('groupXTemporarilyClosed',$this->groupName) . '
' . Szene1_Translate::_('ifYouHaveAnyQuestionsMailSupport').'
'; } } if($this->groupObj) { /* Buttons */ if($this->editMode){ $editButton = ''; } if(!$this->isMember) { $friendButton = '  '.Szene1_Translate::_('joinGroup').''; } $shareFacebook = Szene1_Translate::_('shareFacebook'); $shareButton = ' '.$shareFacebook.''; /* Main Box Content */ if($this->feedback) { $mainBoxHtml .= ''.$this->feedback.''; } //title /* Avatar */ if(is_array($this->avatarUrls)) { $grouptitle = Szene1_Translate::_('groupAvatarOfX',$this->groupObj->getTitle(true)); // $image = ' '; $image .= ' '.$grouptitle.''; // $image .= ' '; } /* End Avatar */ /* Group Details */ $mainBoxHtml .='
' . $editButton .'
'.$image.'
' .$friendButton .$shareButton .'
'; $viewed = ' '.Szene1_Translate::_('viewedXTimesThisMonth',(int)$this->up_visitors).''; $mainBoxHtml .='

'.$this->groupObj->getTitle(true).'

'.$provenance.'

'.$state.$memberSince.$lastOnline.'

'.$details.'

'.$viewed.'

'; /* Full Detail Information */ $details = Generator_Group::getMainBox( $this->groupObj, $this->up_visits, $this->founder, $this->httpPath, $this->avatarUrls, $this->host, $this->province, $this->district ); $mainBoxHtml .= $details; /* End Profil Detail */ /* Profile / About Box */ if($showDetails) { if($this->descriptionBox) { $descriptionHtml = Generator_Group::getDescriptionBox($this->groupObj); } $mainBoxHtml .='

'.'Beschreibung'.'

'.$descriptionHtml.'

'; } $mainBoxHtml .='
'; $mainBoxHtml .='
'; /* End About */ if($showDetails) { /* Wall Box */ if(is_array($this->wall)) { $wallBoxTitle = "Newsfeed"; $wallBoxHtml .= Generator_Base::createWallTabs($this->wallTabs); if($this->loggedIn) { $wallBoxHtml .= Generator_Base::createWallInput($this->username, $this->userPic); } $wallBoxHtml .= Generator_Base::createWall($this->wall, $this->wallFilter); } /* End Wall Box */ /* Members Box */ if($this->memberBox) { $membersBoxTitle = ''.Szene1_Translate::_('members') . ' ('.$this->membersCount.')'; $membersBoxHtml = Generator_Group::getMemberBox($this->groupObj, $this->members, $this->membersCount); } /* End Members Box */ /* Calendar Box */ // if($this->calendarBox) // { // $dates = Szene1_Translate::_('dates'); // $calendarBoxTitle= ''.$dates.''; // $calendarBoxHtml = Generator_Group::getCalendarBox($this->groupObj); // } /* End Calendar Box */ /* Media Box */ if($this->photoBox || $this->videoBox){ $mediaBoxTitle = ''.Szene1_Translate::_('Fotos & Videos').''; if($this->errorReadingGroupFolder) { $mediaBoxHtml = ''.$this->errorReadingGroupFolder.''; } else { $media = array_merge((array)$this->fotos, (array)$this->vids); $mediaBoxHtml = Generator_Group::getMediaBox($media, $this->fotoLink); } } /* End mediaBox */ /* Stats */ $html = ''; $statsBoxTitle = 'Statistik'; $statsBoxHtml = $html; /* End Stats */ } //showDetails }// has group obj /* contentAd */ $adHtml = Szene1_Ads::getInstance()->getBanner(Szene1_Ads::BANNER_CONTENT_1); $ad2Html = Szene1_Ads::getInstance()->getBanner(Szene1_Ads::BANNER_CONTENT_2); %>

<% if ($this->detection->isMobile() || $this->detection->isTablet()): %> <% endif %>
<% if (!$this->detection->isMobile() && !$this->detection->isTablet()): %> <% echo Szene1_Ads::getInstance()->getBanner(Szene1_Ads::BANNER_SITEBAR) %> <% endif %>
<% if (Environment::doDebugOutput(true)): %>
<% // echo $this->debugInfo; echo "

BASE-TIME total secs " . BaseConnect::$totalMs; echo "

SHAREDANCE(SESSION)-TIME total secs " . Szene1_Session_SaveHandler_ShareDance::$totalMs; echo "

TIMELINER-TIME total secs " . Notification::$totalMs; echo "

MEMORYCACHE-TIME total secs " . Szene1_MemoryCache::$totalMs; echo "

davon MEMCACHE(zentral)-TIME total secs " . Szene1_Cache_Memcache::$totalMs; echo "
BASE-CALLS total " . BaseConnect::$totalCalls . "

"; echo 'BaseConnect cache-access : ' . BaseConnect::$cacheAccess . ' - times
'; foreach (BaseConnect::$cache as $id => $uid) { echo "$id ==> $uid
"; } echo '

 

'; %> <% echo '

 

'; echo "
TIMELINER-CALLS total " . Notification::$totalCalls . "

"; echo "
MEMORYCACHE-CALLS total " . Szene1_MemoryCache::$totalCalls . "

"; echo "
MEMCACHE(zentral)-CALLS total " . Szene1_Cache_Memcache::$totalCalls . "

"; echo '

 

'; %> <% echo "Mem Usage: " . round(memory_get_usage() / 1024 / 1024, 2) . "mb (" . round(memory_get_usage(true) / 1024 / 1024, 2) . "mb); Max: " . round(memory_get_peak_usage() / 1024 / 1024, 2) . "mb
\n"; // echo Thrift_UserCache::getDebugInfo(); $sqlHigh = new Weblife1_Debug_SQLHighlight(); echo "
SQL - SUM UP:"; $totaltime = 0; foreach (Szene1_DB_MysqliConn::$debugQuerieTime as $host => $time) { $totaltime += $time; echo "

[" . $host . "] " . round($time, 5) . " seconds needed (" . Szene1_DB_MysqliConn::$debugQuerieCounter[$host] . " Queries)

"; } echo "

Total Time needed for DB: " . $totaltime . "

"; echo $sqlHigh->highlight(Szene1_Db_MySQLiConn::$debugQueries); %>
<% endif; %>
<% if (!$this->detection->isMobile() && !$this->detection->isTablet()): %> <% endif; %>
<% if ($this->detection->isMobile() || $this->detection->isTablet()): %>
<% endif %> <% if (!$this->detection->isMobile() && !$this->detection->isTablet()): %> <% endif %> <% if (!$this->detection->isMobile() && !$this->detection->isTablet()): %> <% endif %>