<% 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 %>
<%
/* Main Box Content */
$mainBoxHtml = Generator_Base::buildUserSubPageHeader(
$this->ownerName, $this->ownerFullName,
$this->fullNameInfoText, $this->ownerPic,
$this->ownerGender, $this->ownerIsOnline,
$this->meetMeText, $this->editMode);
/* Header TAB - System */
/*dropdown
$jsDropDown = 'onclick="javascript:if($(\'myPics\').style.display == \'none\') {
$(\'myPics\').style.display = \'block\';
} else {
$(\'myPics\').style.display = \'none\';
} "';
$all = Szene1_Translate::_('all');
$photoActivity = Szene1_Translate::_('photoActivity');
$dropdown .= '
';
end dropdown*/
/* END Header TAB - System */
if($this->notFound) {
$mediaBoxHtml .=
Generator_UserMedia::createNotFoundView(
'errorReadingPhoto',
$this->overViewLink
);
}
else
{
/* Media Box*/
/* Breadcrumbs */
$userMode = (!$this->photo instanceof Szene1Photo);
if ($userMode || $this->folder->getId() < 0) {
$goToAlbumsOverview = Szene1_Translate::_('goToAlbumsOverview');
$photoAlbums = Szene1_Translate::_('photoAlbums');
$breadcrumb .= ' » ';
$breadcrumb .= '
'.$photoAlbums.' » ';
$breadcrumb .= '
'.$this->folder->getName() .'';
}
$mediaBoxTitle = 'Medien' .$breadcrumb;
$mediaBoxHtml = '';
if (Registry::isRegistered('mobile-detection')) {
$mobileDetection = Registry::get('mobile-detection');
if($mobileDetection->isMobile() || $mobileDetection->isTablet()){
$underStitial = \Szene1_Ads::getInstance()->getUnderStitial();
$mediaBoxHtml .= "$underStitial
";
}
}
$mediaBoxHtml .= '
';
if($this->password)
{
$mediaBoxHtml = Generator_UserMedia::createPasswordInputView($this->overViewLink,
'Foto',
$this->uriPath,
$this->inValidPass);
}
else
{
if($this->hasAccess) {
ob_start();
include './application/views/szene1/photo/detail_new.phtml';
$mediaBoxHtml .= ob_get_contents();
ob_end_clean();
}
else {
$mediaBoxHtml .= Generator_UserMedia::createNoAccessView($this->overViewLink);
}
}
}
if (!function_exists('doLine')) {
function doLine($label, $text, $width = null, $bottomPad = null)
{
if(is_numeric($width))
{
$style .= 'width:' . $width . 'px;';
}
if(is_numeric($bottomPad))
{
$style .= 'padding-bottom:' . $bottomPad . 'px;';
}
if(!empty($style))
{
$style = 'style="' . $style . '" ';
}
$dt = '
'. $label . '';
$dd = '
' . $text . '';
return $dt.$dd;
}
}
/* Friends Box */
if($this->ownerFriends)
{
$fBox = Generator_Base::buildFriendsBox( $this->ownerFriends,
$this->ownerName,
$this->ownerFriendsCount);
$friendsBoxTitle = $fBox['boxTitle'];
$friendsBoxHtml = $fBox['boxHtml'];
}// if ownerFriends
/* End Friends Box */
/* contentAd */
$adHtml = Szene1_Ads::getInstance()->getBanner(Szene1_Ads::BANNER_CONTENT_1);
$ad2Html = Szene1_Ads::getInstance()->getBanner(Szene1_Ads::BANNER_CONTENT_2);
/* Webradio */
$radioBoxTitle = '
NEU: SZENE1 Musik';
$radioBoxHtml .= '

';
/*
$radioBoxHtml .= '

';
*/
%>
<% 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 %>