<% 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') < $this->timeStamp) && $this->loggedIn)
{
$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) {
$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 .')';
$meetpointBoxHtml = '
';
$meetpointBoxHtml .= '
'.$this->meetpointUnits.'
';
$meetpointBoxHtml .= '
'.$this->meetpointSingleUnits.'
';
$mpScript = '';
$meetpointBoxHtml .= $mpScript;
/* Stats Box */
$htmlRight .= '
';
$statsBoxTitle = 'Statistik';
$statsBoxHtml = $htmlRight;
/* BestPic & Voting Box*/
if($this->event->getStarttime('timestamp') < time()) {
/* 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 */
if($this->location->getLongitude() && $this->location->getLatitude())
{
$long = (float)$this->location->getLongitude();
$lat = (float)$this->location->getLatitude();
$statMap = new Szene1_Geo_Map_Static(300, 200, 15,
$long,
$lat
);
$statMap->addMarker( $long,
$lat,
null,
null
);
$statMap = $statMap->render();
// $old = 'https://maps.google.com/maps/api/staticmap?center='.$this->location->getName().'&zoom=10&size=300x200&maptype=roadmap
// &markers=color:red|label:S|'.$this->location->getLatitude().','.$this->location->getLongitude().'&sensor=false';
$driveBoxHtml = '
';
$driveBoxTitle = '
'.'Routenplaner'.'';
}
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 %>