<% 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 %> <% if (!function_exists('buildSearchLink')) { function buildSearchLink($searchKey, $searchValue, $label) { if(!$searchKey || !$searchValue) { return $label; } else { return '' . $label . ''; } } } if($this->error) { $mainBoxHtml = $this->error; /* Recommendations */ if(count($this->friendSuggestions)) { $testBoxTitle = Szene1_Translate::_('didYouMean'); $testBoxHtml .= '
    '; $userStatus = ($friend['online'] ? 'online':'offline'); foreach ($this->friendSuggestions as $friend){ $testBoxHtml .='
  • '.$friend['name'].'
  • '; } } $userSearch = Szene1_Translate::_('userSearch'); $testBoxHtml .= ''.$userSearch.''; $testBoxHtml .= '
'; } else{ /* Buttons */ if ($this->myPage) { $editButton = ''; } else { /* FRIEND */ if(!$this->isFriend) { $friendButton = '  Als Freund'; } /* CHAT */ if($this->loggedIn && !$this->ignored) { $chatButton = ' Chat'; // Flirtbutton $flirtButton = ' Zuzwinkern'; } /* NEW-PN */ $newPn = Szene1_Translate::_('newMessage'); $pnButton = '  '.$newPn.''; /* LIKE-BUTTON */ $likeButton = $reportButton = ''; if($this->loggedIn) { /* REPORT BUTTON */ $reportButton = '  User melden'; } } /* Share / Wall */ //$shareFacebook = Szene1_Translate::_('shareFacebook'); //$shareButton = ' Share'; /*$shareButton = ' '.$shareFacebook.'';*/ /* Main Box Content */ $mainBoxHtml = ''; // Real name $fullname = null; if ($this->myPage) { $fullname = $this->user->getUserData()->getFullName(); } else { $userData = new UserDataPrivacy($this->user->getUserData()); $fullname = $userData->getFullName(); } if ($fullname) { if ($this->myPage) { switch ($this->user->getSetting()->getSetting(UserSetting::DISPLAY_REALNAME)) { case UserSetting::PERMISSION_ALL: $infoText = Szene1_Translate::_("privacyNameInfoPermissionAll"); break; case UserSetting::PERMISSION_REGISTERED: $infoText = Szene1_Translate::_("privacyNameInfoPermissionRegistered"); break; case UserSetting::PERMISSION_FRIENDS: $infoText = Szene1_Translate::_("privacyNameInfoPermissionFriends"); break; case UserSetting::PERMISSION_ONLY_ME: $infoText = Szene1_Translate::_("privacyNameInfoPermissionOnlyMe"); break; default: $infoText = null; } if ($infoText) { $infoText .= "
" . Szene1_Translate::_("changeThisSettingInCockpitPrivacy"); } } $fullname = ' (' . $fullname . ')'; } //title /* Microformat - vCard * fn,n,nickname,category > rel="tag",photo=userpic,role/org=status,locality=city,region=OÖ *
stoyan natchev
szene1
ringstrasse
wels, Oberösterreich, 4600 Österreich
06769615151
*/ /* Userpic */ $myPage = $this->myPage; $user = $this->user; //TODO: get data for $_ without Weblife1... $bla = new Weblife1_User_Page_Addon_Main(0); $_ = $bla->build($this->user, $this->myPage); if( !$myPage && !Weblife1_User_Object::checkShowDetail( Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserphotoPermission() )) { // todo pirvacy > new Translate $image = ''.Szene1_Translate::_('onlyFriendsCanSeeThisUserpage').''; } else { /* $myPicGalleryLink = '' .Szene1_Translate::_('morePhotosOfX',array($this->user->getUserName())) .''; */ if($this->userPageOrigUrl){ $image =''.Szene1_Translate::_('userPhotoOfX', $this->user->getUserName()).''; $image .= $myPicGalleryLink; } else{ //no image $image = ''.Szene1_Translate::_('userPhotoOfX', $this->user->getUserName()).''; } } /* End Userpic */ /* 4 Fotos from first Useralbum */ if($myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { $bla = new Weblife1_User_Page_Addon_PhotoVideo(0); $fotos = $bla->buildOnlyFotos($this->user, $this->myPage); if(is_array($fotos['photos']) && count($fotos['photos']) >= 2 && !empty($fotos['photolink'])) { $html_top_pics = '
    '; $count = 0; foreach($fotos['photos'] as $photo => $url) { if(empty($photo)) { continue; } $count++; if($count>5) break; $html_top_pics .= '
  • ' . '' . '' . ''.$this->user->getUserName().' - '.Szene1_Translate::_('up_album').'' . '' . '' . '
  • '; } $html_top_pics .= '
'; } } /* Profil Details */ $detailBoxTitle = Szene1_Translate::_('profileDetails'); /* Limited Profile Information */ if(!$myPage && !Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { /* ???????????????????????????????? */ if($this->loggedIn) { $notify ='' . Szene1_Translate::_('onlyFriendsCanSeeThisUserpage') . ''; } else { $notify ='' . Szene1_Translate::_('onlyRegisteredUsersCanSeeThisUserpage') . ''; } /* ???????????????????????????????? */ foreach(array( 'age', 'loveState' ) as $key) { if(!isset($_[$key]) || empty($_[$key])) { continue; } $searchKey = 'search' . ucfirst(strtolower($key)); if($key == 'zodiacSign' && Registry::get('state')->getCode() == 'AT') { $txt = ''; } else { if(isset($_[$searchKey])) { $txt = buildSearchLink($searchKey, $_[$searchKey], $_[$key]); } else { $txt = $_[$key]; } } $details .= ' '.$txt . ' / '; } if(isset($_['originLabel']) && isset($_['lastOnline']) && !empty($_['originLabel']) && !empty($_['lastOnline'])) { $flag = ' '
			. Szene1_Translate::_('country') . ':'
			. $_['country']
			. ''; if($_['searchDistrict'] > 0) { $txt = ''.$_['originLabel'].' '.$flag; /*buildSearchLink( 'searchDistrict', $_['searchDistrict'], $_['originLabel'] ).$txt;*/ } elseif($_['searchProvince'] > 0) { $txt = ''.$_['originLabel'].' '.$flag; /*buildSearchLink( 'searchProvince', $_['searchProvince'], $txt );*/ } $details .= ' '.$txt . ' / '; } else { $details .= ' '.Szene1_Translate::_('addressNotFound') . ' / '; } //throw new Weblife1_User_Page_Renderer_Interrupt(); } /* End Limited Detail Information */ /* Full Detail Information */ if( $myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { if(isset($_['state']) && !empty($_['state'])) // wer hat das bitte state genannt? das ist der "user"status z.b. fotograf { switch($_['state']) { case 'Fotograf': $txt = ''.$_['state'].''; break; case 'Forum-Team': $txt = ''.$_['state'].''; break; case 'Szene1-Team': $txt = ''.$_['state'].''; break; default: $txt = $_['state']; } $status_team = ''.$txt . ''; } /* if(isset($_['visits']) && !empty($_['visits'])) { $detailBoxHtml .= doLine(Szene1_Translate::_('Visited'),Szene1_Translate::_('XTimesInY',array($_['visits'], $_['month']))); }*/ if(isset($_['memberSince']) && !empty($_['memberSince'])) { $memberSince = ''.$_['memberSince'] . ''; } if(isset($_['lastOnline']) && !empty($_['lastOnline'])) { $lastOnline = ''.$_['lastOnline'] . ''; } if(isset($_['originLabel']) && !empty($_['originLabel'])) { $flag = ' '
				. Szene1_Translate::_('country') . ':'
				. $_['country']
				. ''; if($_['searchDistrict'] > 0) { $txt = ''.$_['originLabel'].' '.$flag; /*buildSearchLink( 'searchDistrict', $_['searchDistrict'], $_['originLabel'] ).$txt;*/ } elseif($_['searchProvince'] > 0) { $txt = ''.$_['originLabel'].' '.$flag; /*buildSearchLink( 'searchProvince', $_['searchProvince'], $_['originLabel'] ).$txt;*/ } $provenance = ''.$txt . ' '; } else { $details .= ''.Szene1_Translate::_('addressNotFound') . ''; } $cmCounter = 0; foreach(array( 'age', 'type', 'size', 'eyeColor', 'weight', 'loveState', 'hairColor', 'location', 'hairLength', 'zodiacSign', 'occupation', 'orientation' ) as $key) { if(!isset($_[$key]) || empty($_[$key])) { continue; } $searchKey = 'search' . ucfirst(strtolower($key)); if($key == 'zodiacSign' && Registry::get('state')->getCode() == 'AT') { $txt = '' . $_[$key] . ''; } elseif($key == 'occupation') { $txt = '' . $_[$key] . ''; } elseif($key == 'type') { $txt = '' . $_[$key] . ''; } elseif($key == 'loveState') { $txt = '' . $_[$key] . ''; } elseif($key == 'age') { $txt = '' . $_[$key] . ''; } else { if(isset($_[$searchKey])) { $txt = buildSearchLink($searchKey, $_[$searchKey], $_[$key]); } else { $txt = $_[$key]; } } if($key == 'age'){ $age = ''.$txt . ''; } else if($key == 'loveState'){ $loveState = ''.$txt . ''; } else{ $details .= ''.$txt . ''; } } } /* Full Detail Information */ /* End Profil Detail */ /*TODO*/ if($myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { $gender_tip = ($this->user->getGender() == 'm') ? 'männlich' : 'weiblich'; $gender = ' '; $status = 'offline'; if($this->user->isOnline()){ $status = 'online'; } $status = ''; } /* meetmeAT */ if($myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { $scao = new Szene1_Mapper_SimpleContentAddOns('meetpoint'); $result = $scao->getRecentMeetpointEntriesByUserId($this->user->getId(), SimpleContentAddOns_Interface::TYPE_SZENE1_EVENT, 3); if(is_array($result) && count($result) > 0) { foreach($result as $key => $val) { $meetText .= $result[$key]['eventTime'] .' in ' .$result[$key]['eventName'] .'' .' @ ' .'' .$result[$key]['eventLoc'] .'
'; } } else { $meetText = '
Trag dich auf einem Event in den Meetpoint ein um deinen Freunden zu zeigen wo man dich trifft!
'; } $meetText = 'Triff mich demnächst:
'.$meetText; } /* end meetmeAT */ if(time() < mktime(0,0,0,4,30,2013)) { $ad_tag_loreal = ''; } $thumbClassName = $this->userPhotoExists ? 'no-pic' : 'with-pic'; $buttons = ''. $buttonBday . $friendButton . $pnButton . $chatButton . $shareButton . $flirtButton . $likeButton . $reportButton . $ad_tag_loreal; $buttons = trim($buttons) ? '
'.$buttons .'
' : ''; $mainBoxHtml .='
' . $editButton .'
'.$image.'
'.$buttons.'
'; /*todo need funktion of hiding content*/ $showMore = Szene1_Translate::_('showMore'); $showLess = 'weniger anzeigen'; $jsShow = 'if (this.innerHTML==\''.$showMore.'\') { document.getElementById(\'moredetails\').toggle(); this.update(\''.$showLess.'\'); } else { this.update(\''.$showMore.'\'); document.getElementById(\'moredetails\').toggle(); }'; $showMoreLink = ''.$showMore.''; if($notify) { $userInfos = $notify . $details; } else { $userInfos = ''; $userInfos .= $loveState. $provenance . $status_team . $lastOnline .$age .$details. $memberSince; $userInfos .= '
'; } $mainBoxHtml .='

'.$this->user->getUserName().$fullname.'

'; $mainBoxHtml .= $html_top_pics; $mainBoxHtml .= '

'.$userInfos.'

'.$meetText.'

'; /* Profile / About Box */ if($myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { $abouttext = $this->user->getUserCharacter()->getParsedAboutText(); $username = $this->user->getUserName(); if(!empty($abouttext)) { $aboutHtml = nl2br($abouttext); /* $jsAboutToggle = 'Effect.toggle(\'user_about\',\'blind\',{delay:0});Effect.toggle(\'user_about_short\',\'blind\',{delay:0});'; $showMoreLink = ''.$showMore.''; $showLessLink = ''.$showLess.''; $abbouttextShort = Filter::truncate($abouttext, 200, '...', true, true); $aboutHtmlShort .= '
'.$abbouttextShort.' '; if(strlen($abouttext) > strlen($abbouttextShort)) { $aboutHtml = ''; $aboutHtmlShort .= $showMoreLink; } $aboutHtmlShort .= '
'; */ } elseif($myPage) { $aboutHtml = 'Hier kannst du einen persönlichen Text über dich verfassen.'; } if($aboutHtml) { $mainBoxHtml .='

'.'About me'.'

' .$aboutHtml //.$aboutHtmlShort .'
'; } } $mainBoxHtml .='
'; //vcard /* End About */ /* Interests */ if($myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { //tags if(isset($_['tags']) && ($_['tags'] instanceof Weblife1_Tag_Container)) { $txt = '';$icon = ''; if($myPage) { $selId = 'userpage_box_tageditor_selector'; $profileInterestsBoxCorner = array(); $headlink = array( 'kind' => Szene1_Html_BoxLayout::CORNER_ICON, 'onclick' => '$(\'' . $selId . '\').getStyle(\'display\')==\'none\' ' . '? $(\'' . $selId . '\').show() ' . ': $(\'' . $selId . '\').hide(); return false;', 'classes' => 'ICON16_BW_EDIT', 'title' => 'Edit', 'link' => '/cockpit/interests' ); $profileInterestsBoxCorner[] = $headlink; $editAllInterests = Szene1_Translate::_('editAllInterests'); $txt .= '' . ''; } $interestsBoxTitle .= Szene1_Translate::_('interests'); $interestsBoxHtml .= $txt .Generator_Tag::buildUserpageTags($_['tags']); } } /* End Interests */ /* Wall Box */ if($this->wallFilter) { if (Registry::isRegistered('mobile-detection')) { $mobileDetection = Registry::get('mobile-detection'); if($mobileDetection->isMobile() || $mobileDetection->isTablet()){ $underStitial = \Szene1_Ads::getInstance()->getUnderStitial(); $wallBoxHtml .= $underStitial .'
' ; }else{ $wallBoxHtml .= \Szene1_Ads::getInstance()->getOutStreamAd(); } } $wallBoxTitle = "Newsfeed"; $wallBoxHtml .= Generator_Base::createWallTabs($this->wallTabs,'wall-tabs'); $wallBoxHtml .= ''; //if($this->loggedIn) { if($this->meetpoints) { $this->result = $this->meetpoints; $wallBoxHtml .= '
'; /* include Event-Search Template */ ob_start(); include './application/views/szene1/search/events.phtml'; $wallBoxHtml .= ob_get_contents(); ob_end_clean(); /* end include Event-Search Template */ $wallBoxHtml .= '
'; } else { if($this->postOnWall) { $wallBoxHtml .= Generator_Base::createWallInput($this->username, $this->userPic,!$this->myPage); } if($this->displayWall) { $wallBoxHtml .= Generator_Base::createWall($this->wall, $this->wallFilter); } else { $wallBoxHtml = Szene1_Translate::_('nopermissiontoseewall'); } } /*} else { $wallBoxHtml .= ''.Szene1_Translate::_('onlyRegisteredUsers').''; }*/ } else { $wallBoxHtml .= ''.Szene1_Translate::_('onlyFriendsCanSeeMyTimeline').''; } /* End Wall Box */ /* Friends Box */ if($myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { //$bla = new Weblife1_User_Page_Addon_Friends(0); //$_Friends = $bla->build($this->user, $this->myPage); //$isFirstGroup = true; $count = 0; $friends = Base::getListOfFriends($user->getId(), 18); if(!empty($friends) ) { $count = count($friends); $fList = array(); foreach($friends as $friendId => $friend) { $fName = $friend['name']; $htmlFriendsBox .= '
  • '.$fName.'
  • '; } } else { $htmlFriendsBox .= '' . Szene1_Translate::_('XHasNoFriendsOnHisList',$user->getUserName()) . ''; } $htmlMoreButton = '
  • '; $friendscount = $count; $friendsBoxTitle = ''.$this->user->getUserName() . '`s Friends'; $friendsBoxHtml = '
      ' . $htmlFriendsBox . '
    '; } /* End Friends Box */ /* Common Friends Box */ if(Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { $countCommonFriends = 0; if(!empty($this->commonFriends) ) { $commonFriendsBoxHtml = ''; $countCommonFriends = $this->commonFriendsCount; $fList = array(); foreach($this->commonFriends as $friendId => $friend) { $fName = $friend['name']; $commonFriendsBoxHtml .= '
  • '.$fName.'
  • '; } $commonFriendsBoxTitle = 'Gemeinsame Freunde ('.$countCommonFriends.')'; $commonFriendsBoxHtml = '
      ' . $commonFriendsBoxHtml . '
    '; } /* else { $commonFriendsBoxHtml .= '' . Szene1_Translate::_('XHasNoFriendsOnHisList',$user->getUserName()) . ''; } */ } /* End Common Friends Box */ /* Media Box */ /* TODO last Photo / Video Thumb > not Album Thumbs */ if($myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { $bla = new Weblife1_User_Page_Addon_PhotoVideo(0); $_Video = $bla->build($this->user, $this->myPage); $mediaBoxTitle = ''.Szene1_Translate::_('Fotos & Videos').''; $html = '
      '; $count = 0; //$html = var_export($_Video['photolink'], true); if(is_array($_Video['photos']) && count($_Video['photos']) >= 1 && !empty($_Video['photolink'])) { foreach($_Video['photos'] as $photo) { if(empty($photo)) { continue; } $count++; $html .= '
    • ' . '' . ''.$this->user->getUserName().' - '.Szene1_Translate::_('up_album').'' . '' . '
    • '; if($count==2) { if(count($_Video['videos']) >= 1) { break; } } else if($count==3) { break; } } } if(is_array($_Video['videos']) && count($_Video['videos']) >= 1 && !empty($_Video['videolink']) && $count < 3) { foreach($_Video['videos'] as $video) { if(empty($video)) { continue; } $count++; $html .= '
    • ' . '' . ''.$this->user->getUserName().' - '.Szene1_Translate::_('videoAlbum').'' . '' . '
    • '; if($count==3) { break; } } } if($count==0) { /** * Do not show box if it is empty! */ /*TODO Show Upload!!!*/ //return null; $html = '' . Szene1_Translate::_('noMediaFound') . ''; } $html .= '
    '; $mediaBoxHtml = $html; } /* End mediaBox */ /* Stats */ if($myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { $html = ''; $statsBoxTitle = 'Statistik'; $statsBoxHtml = $html.$test; } /* End Stats */ /* Group Box */ if($myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { $myGroups = Szene1_Translate::_('myGroups'); $groupBoxTitle = '' .$myGroups . ''; $html = ''; $isFirstGroup = true; if(!empty($this->groups)) { foreach($this->groups as $group) { if(!($group instanceof Group)) { continue; } if($isFirstGroup == false) { $html .= ' • '; } else { $isFirstGroup = false; } $label = $group->getTitle(true); $html .= '' . '' . ' ' . ((empty($label)) ? $group->getName() : $label) . ' ' . ''; } } else { $html .= '' . Szene1_Translate::_('XIsNotMemberOfAnyGroup', $user->getUserName()) . ''; } $groupBoxHtml = $html; } /* End GroupBox */ /*if header outside*/ /* Games */ if($myPage || Weblife1_User_Object::checkShowDetail(Registry::get('session')->user->getId(), $user->getId(), $user->getSetting()->getUserpagePermission())) { $gamesBoxTitle = Szene1_Translate::_('Szene1 Games'); $gamesBoxHtml .=''; } /* End Games */ /* Dates Box*/ if($this->appointments) { $yourDates = Szene1_Translate::_('yourDates'); $calendarBoxTitle = ''.$yourDates.''; $calendarBoxHtml .= Generator_Calendar::getReminderSmall($this->appointments); } } // else /* contentAd */ $adHtml = Szene1_Ads::getInstance()->getBanner(Szene1_Ads::BANNER_CONTENT_1); $ad2Html = Szene1_Ads::getInstance()->getBanner(Szene1_Ads::BANNER_CONTENT_2); /* adminBox */ if($this->adminAccess) { $adminBoxTitle = 'Backend-Menü für ' . $this->user->getUserName() . ' #'.$this->user->getId(); $adminBoxHtml = Generator_Userpage::buildBackendMenu($this->user, E); } /* Webradio */ $radioBoxTitle = 'Szene1 - Singlesuche'; $radioBoxHtml .= ' Singles auf Szene1 finden'; /* Like Box*/ $likeBoxTitle = 'Facebook'; $likeBoxHtml = ''; /* End Like Box*/ /* Wink At User */ if($this->doWink) { $mainBoxHtml .= ''; } $adsenseBox = ''; $customAdsHtml = ""; %>

    <% 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 %>