<% 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 %>
<%
/* Social Links , Twitt This & Co */
if($this->bookmarks) {
$mainBoxFooter = Generator_Generator::getBookmarks($this->event);
}
/*
if ($this->user->hasAccess('backendEvent','edit')) {
$editIcon ='
E';
}
*/
/*HasVideo*/
if($this->event && $this->event->getVideoId() && $this->video){
$videoBoxTitle = '
Szene1.TV';
$videoBoxHtml = '
';
}
/* Photo Upload */
if($this->event->getStarttime('timestamp') < time() && Registry::get('session')->loggedIn)
{
/* TODO Generate New Input*/
$photoUpload = 'DEINE EVENTFOTOS HOCHLADEN';
$headlink = array( 'kind' => Szene1_Html_BoxLayout::CORNER_LINK,
'classes' => 'green',
'title' => $photoUpload,
'link' => '/event/'.$this->event->getId().'/upload/',
'text' => $photoUpload
);
$mainBoxCorner[] = $headlink;
}
/* mainBoxHtml */
/* Fyler */
if ($images = $this->images && $images[1] != null) {
$flyer .= '
';
$flyer .= '
';
$flyer .= '';
}
else{
$flyer = '
';
}
if ($this->event->getPhotoCounter()) {
$js = '';
$mainBoxHtml = $js;
}
/* Microformat - vevent - subpage
* summary, dtstart, location, url, category */
$mainBoxHtml ='
'
. $editIcon
.'
'.$flyer.'
'
. $js_showFlyer
. $html_image_navigation
.'
';
$mainBoxHtml .='
' . $this->event->getStarttime('short+time') . '
@ '.$this->location->getName().'
, '.$this->location->getCity().'
';
$mainBoxHtml .='
';
/* Meetpoint Box */
$meetpointBoxTitle = 'Meetpoint' . ' ('
. $this->meetpointCounter
. ')';
$meetpointBoxTitle = '
' . $meetpointBoxTitle . '';
$meetpointBoxHtml = $this->meetpointUnits;
/* Stats Box */
$htmlRight .= '
';
$statsBoxTitle = 'Statistik';
$statsBoxHtml = $htmlRight;
/* BestPic & Voting Box*/
if($this->event->getStarttime('timestamp') < time() && $this->bestPhotos) {
/* BestPic Box */
$photosBoxTitle ='Fotos'.' (' . $this->event->getPhotoCounter().')';
if ($this->bestPhotos || $this->event->getPhotoCounter()) {
$photoTranslate = 'Fotos';
$photographer = 'Fotograf';
$commentsTranslate = 'Postings';
$link = '/event/'.$this->event->getId().'/photo/';
$link_fotos = '/event/'.$this->event->getId().'/photos';
$link_filter = '/event/'.$this->event->getId().'/photos#1&-1';
// $html .='
';
}
else{
// $html = '
'.'Keine Fotos für dieses Event gefunden!'.'';
// no box !
}
$photosBoxHtml = $html;
}
if($this->dFotos)
{
$dFotos = '
';
}
/* test photosbox */
$photosBoxTitle = '
'
.'Fotos'.' (' . $this->photoCounter.')' .$dFotos;
/* Drive Box */
$driveBoxTitle = 'Routenplaner';
$driveBoxHtml = $this->drive;
if(isset(Registry::get("session")->requestFlashMessage)) {
print '
' . Registry::get("session")->requestFlashMessage . '
';
unset(Registry::get("session")->requestFlashMessage);
}
/* 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 %>