<% 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($this->groupXTemporarilyClosed || $this->noAccess)
{
$mainBoxTitle = '';
if($this->noAccess)
{
$mainBoxHtml = Generator_Generator::createNotifyBox(Szene1_Translate::_('note'),
Szene1_Translate::_('thisGroupIsOnlyForMembers'));
}
else
{
$mainBoxHtml = Generator_Generator::createNotifyBox(Szene1_Translate::_('note'),
Szene1_Translate::_('groupXTemporarilyClosed',$this->groupName) . '
' .
Szene1_Translate::_('ifYouHaveAnyQuestionsMailSupport'));
}
}
else
{
try
{
/* Main Box Content */
$mainBoxHtml = Generator_Base::buildGroupSubPageHeader(
$this->groupObj,$this->avatarUrls['url'], $this->editMode);
/* Members Box */
if($this->memberBox)
{
$membersBoxTitle = Szene1_Translate::_('members') . ' ('.$this->membersCount.')';
$membersBoxHtml = '
';
$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 = 'Statisik';
$statsBoxHtml = $html;
/* End Stats */
} catch(Exception $e) // should catch the interrupt exceptions //TODO: change it!
//TODO: display limitedInfo-Info
{
echo "Problem beim Abrufen von Daten!";
}
} //else
/* 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 %>