コード例 #1
0
 if (!isset($REX['d2u_stellenmarkt_stelle_ausgegeben'])) {
     $stellen = Stelle::getAll($REX['CUR_CLANG'], $REX['TABLE_PREFIX'], $kategorie_id, $online_only = TRUE);
     if (count($stellen) > 0) {
         if ($ausgabe == "alles") {
             print '<div class="large-9 small-9 columns">';
             print '<h1>###stellenangebote### ';
             if ($stellenkategorie !== FALSE) {
                 print $stellenkategorie->name;
             }
             print '</h1>';
             print '</div>';
             foreach ($stellen as $stelle) {
                 print '<div class="medium-6 large-4 columns end">';
                 print '<article class="box-grey with-text stimmen" data-height-watch>';
                 if ($stelle->bild != "") {
                     print '<a href="' . $stelle->getUrl($REX['CUR_CLANG']) . '">';
                     print '<img src="' . seo42::getImageManagerFile($stelle->bild, '340x132') . '" alt="' . $stelle->bezeichnung . '">';
                     print '</a>';
                 }
                 print '<h1>';
                 print '<a href="' . $stelle->getUrl($REX['CUR_CLANG']) . '">' . strtoupper($stelle->bezeichnung) . '</a>';
                 print '</h1>';
                 print '<h2>';
                 if ($stelle->ort != "") {
                     print '###raum### ' . $stelle->ort . ' / ';
                 }
                 print '###referenznummer### ' . $stelle->interne_nummer . '</h2>';
                 if ($mit_details) {
                     $text = $stelle->aufgaben_text;
                     if (strlen($text) > 200) {
                         $text = substr($stelle->aufgaben_text, 0, stripos($stelle->aufgaben_text, " ", 200));