<% 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 %>
<%
$tags = '
';
/* Main */
$mainBoxTitle = Szene1_Translate::_('easySearch');
//$privacyBtn = '
';
$mainBoxHtml .= '
';
/*End Main*/
/* Result Box */
$resultBoxTitle = Szene1_Translate::_('result');
$resultBoxHtml = 'result';
/* Event Results */
$resultBoxTitle = 'Results';
if(time() < mktime(0,0,0,4,15,2012)){
$searchResults .= '
';
}
$searchResults .= '
';
$taguri = implode(",",$this->searchtags); // TODO: give attention that no code can be included here
switch($this->type)
{
case 'event':
$activeTab['event'] = 'active';
/* include Event-Search Template */
ob_start();
include './application/views/szene1/search/events.phtml';
$searchResults .= ob_get_contents();
ob_end_clean();
/* end include Event-Search Template */
$more = '
'.Szene1_Translate::_('showMore').'';
break;
case 'location':
$activeTab['location'] = 'active';
/* include Event-Search Template */
ob_start();
include './application/views/szene1/search/events.phtml';
$searchResults .= ob_get_contents();
ob_end_clean();
/* end include Event-Search Template */
$more = '
'.Szene1_Translate::_('showMore').'';
break;
case 'group':
$activeTab['group'] = 'active';
/* include Event-Search Template */
ob_start();
include './application/views/szene1/search/group.phtml';
$searchResults .= ob_get_contents();
ob_end_clean();
/* end include Event-Search Template */
$more = '
'.Szene1_Translate::_('showMore').'';
break;
/* User */
case 'user':
$activeTab['user'] = 'active';
if($this->cnt > 0)
{
$count = '(
'.$this->cnt.' )';
}
$searchTabs = '
User '.$count.'
Events
Location
Gruppen';
//
Artikel
//
Anzeigen';
/* include User-Search Template */
ob_start();
include './application/views/szene1/search/user.phtml';
$searchResults .= ob_get_contents();
ob_end_clean();
/* end include User-Search Template */
$more = '
'.Szene1_Translate::_('showMore').'';
$buttonBoxHtml = false;//'
Flirtfinder';
$buttonBoxTitle = '';
if(!$this->error)
{
$filterBoxTitle = 'Filter';
if($this->criteria instanceof Szene1_Criteria)
{
$filterBoxHtml .= Generator_Usersearch::mainUserSearch(
$this->criteria,
$this->mode);
/*TODO Html Box*/
$inviteFriends = Szene1_Translate::_(cp_findfriends);
$friendsInviterBoxTitle = $inviteFriends;
//$friendsInviterBoxHtml = 'TODO:Form //
'.$inviteFriends.'';
//$friendsInviterBoxHtml = Generator_Cockpit::getFriendsInviterForm();
}
/*BigThumb View*/
$jsToggle = ' onclick="if($(\'event-search-list\')){$(\'event-search-list\').toggleClassName(\'bigthumb\');}"';
$bigThumb .= '
';
}
else
{
$searchResults .= '
'.Szene1_Translate::_('onlyRegisteredUsers').'
';
}
break;
default:
$activeTab['all'] = 'active';
/* include global-Search Template */
ob_start();
include './application/views/szene1/search/global.phtml';
$searchResults .= ob_get_contents();
ob_end_clean();
/* end include Event-Search Template */
break;
}
$searchResults .= '
'.$more;
$searchTabs = '
Alles
User
Events
Location
Gruppen';
//
Artikel
//
Anzeigen';
/*TAB*/
$searchTab = '
';
$searchTab .= $searchTabs . $bigThumb;
$searchTab .= '
';
$resultBoxHtml = $searchTab
.'
'
. $searchResults;
/* End Result Box */
/* SIDEBAR */
/* GRID */
$gridBoxHtml = $this->grid;
/* 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 %>