<li class="tabs-title"><a href="#panelRegister"><?php echo t('Registrieren'); ?> </a></li> </ul> <?php } else { ?> <h5 style="padding: 10px 0;"><?php echo t('Hallo, <strong>!username</strong>.', array('!username' => $user->name)); ?> </h5> <div class="divider"></div> <?php require_once DRUPAL_ROOT . '/sites/all/modules/aae_data/aae_blocks.php'; $blocks = new Drupal\AaeData\aae_blocks(); $myAkteure = $blocks->print_my_akteure(); if (!empty($myAkteure)) { ?> <p><?php echo t('Meine Akteure'); ?> :</p> <?php foreach ($myAkteure as $myAkteur) { ?> <p><a href="<?php echo base_path(); ?> akteurprofil/<?php echo $myAkteur[0]->AID;
<?php /** * * -- Einstellungen für den Startseite-Slider -- * * Ein $slider-Listenelement = Ein horizontaler Slider * Verwendung von HTML möglich - zur Trennung von Absätzen <br /> verwenden * * Mögliche Parameter (sonst jeweils default = 0): * * 'image' [Pfad.Dateiendung] = Hintergrundbild, welches in themes/aae/img zu liegen hat. * 'headline' [string] = Überschrift (<h1>) * * 'description' [string] = Beschreibungstext (<p>) * * 'whiteText' [boolean] = Soll der Text in weiß dargestellt werden? * * 'blueButton' [array] = Zeige blauen Button an. * @example 'bluebutton' = array('text' => 'lorem ipsum', 'link' => '/events/all'); * * 'whiteButton' [array] = s. bluebutton * */ $blocks = new Drupal\AaeData\aae_blocks(); $counts = $blocks->count_projects_events(); $sliders = array($slider1 = array('image' => 'ostspiele_fussball_ida.jpg'), $slider3 = array('image' => 'slider_2_min.jpg'), $slider4 = array('image' => 'rabet_abends_ida.jpg', 'headline' => '<strong>' . $counts['akteure'] . '</strong> Akteure. <strong>' . $counts['events'] . '</strong> Events.<br /> Eine Plattform.', 'description' => '<p>Jetzt anmelden, Projekt einstellen oder einfach nur mitmischen.</p>', 'whiteText' => true, 'blueButton' => array('text' => '<span>Jetzt registrieren!</span>', 'link' => base_path() . 'user/register')));
<?php $monat_short = array('01' => 'Jan', '02' => 'Feb', '03' => 'Mär', '04' => 'Apr', '05' => 'Mai', '06' => 'Jun', '07' => 'Jul', '08' => 'Aug', '09' => 'Sep', '10' => 'Okt', '11' => 'Nov', '12' => 'Dez'); include_once 'header.tpl.php'; $path = drupal_get_path('module', 'aae_data'); include_once $path . '/aae_blocks.php'; $blocks = new Drupal\AaeData\aae_blocks(); include_once 'slider_settings.php'; $counts = $blocks->count_projects_events(); ?> <div class="section" id="imgSlideSection"> <?php foreach ($sliders as $id => $content) { ?> <div class="slide" id="slide<?php echo $id; ?> " style="background-image:url(<?php echo base_path() . path_to_theme() . '/img/' . $content['image']; ?> )";></div> <?php } ?> </div> <div id="fullpage">