<?php ################################################################################## ###### Hauptanweisungen ################################################################################## ###### HTML-Tag oeffnen
echo '<html>';
//###### Funktionsaufruf (alle Dateien sammeln) und anschliessend sortieren $blogPageData = recursiveScan($convertedPath, $excludeArray); array_multisort(array_column($blogPageData, 'blogPageCreationTimeStamp'), SORT_DESC, $blogPageData );
echo ' <!– ################################################################################## ###### parentbox umspannender Inhalts-Container (öffnen) ################################################################################## –>
<!– ################################################################################## ###### Voransicht-Box für Blog-Einträge (öffnen) ################################################################################## –>
<div class="contentbox-left">
';
if ($maxDisplayedBlogArticles == -1) {
$maxDisplayedBlogArticles = sizeof( $blogPageData );
}
for ($articleCounter=0; $articleCounter < $maxDisplayedBlogArticles; $articleCounter++) {
if (array_key_exists($articleCounter, $blogPageData)) {
if ($articleCounter == 0) {
echo "
<div class='dateBox'>Aktuelles auf {$_SERVER['SERVER_NAME']}</div>
<br /><br />
";
} elseif ($blogPageData[$articleCounter]['blogPageCreationDate'] != $blogPageData[$articleCounter - 1]['blogPageCreationDate']) {
echo "
<hr /><br />
<div class='dateBox'>Beiträge vom {$blogPageData[$articleCounter]['blogPageCreationDate']}</div>
<br /><br />
";
}
include(phpConvertPageToFilesystemPath($blogPageData[$articleCounter]['includeFileData']));
$includedProductArrayId = key(array_slice($product, -1, 1, true));
$blogPageData[$articleCounter]['includedProductArrayId'] = $includedProductArrayId;
echo '
<div class="sectionbox-column">
<div class="titlebox">
<div class="titlebox-top"></html>' . $product[$includedProductArrayId]['marke']['wert'] . ' \\\\ ' . $product[$includedProductArrayId]['produktlinie']['wert'] . ' \\\\ ' . $product[$includedProductArrayId]['produktname']['wert'] . ' ' . $product[$includedProductArrayId]['produktnamenszusatz']['wert'] . '<html></div>
<div class="titlebox-bottom"></html>' . $blogPageData[$articleCounter]['blogPageCategories'] . '<html></div>
</div>
<div class="contentbox">
<div class="contentbox-information"></html>{{' . $blogPageData[$articleCounter]['blogPageCover'] . '?nolink}}<html><br /><br /></div>
</div>
<div class="eyecatcherbox">
<div class="eyecatcherbox-top"></html>' . $blogPageData[$articleCounter]['blogPageEyeCatcher'] . '[[' . $blogPageData[$articleCounter]['blogPageFull'] . '?currentPageId=ruegenwalder_muehle_vegetarischer_schinken_spicker_-_mortadella|weiterlesen...]]<html></div>
<div class="eyecatcherbox-bottom"></html>' . $blogPageData[$articleCounter]['blogPageCreationDate'] . ', ' .$blogPageData[$articleCounter]['blogPageCreationTime'] . '<html></div>
</div>
</div>
';
}
}
echo '
</div>
<div class="contentbox-right">
Seitenaufrufe:<br />
Heute : </html>{{counter|today|}}<html> Besucher<br />
Gestern : </html>{{counter|yesterday}}<html> Besucher<br />
Insgesamt: </html>{{counter|total}}<html> Besucher<br />
</div>
<!– ################################################################################## ###### Voransicht-Box für Blog-Einträge (schließen) ################################################################################## –> </div> <!– ################################################################################## ###### parentbox umspannender Inhalts-Container (schließen) ################################################################################## –>
</div>
<script> var biggestHeight = 0; Loop through elements children to find & set the biggest height $(".parentbox*").each(function(){ If this elements height is bigger than the biggestHeight if ($(this).height() > biggestHeight ) {
// Set the biggestHeight to this Height biggestHeight = $(this).height();
} });
Set the container height $(".parentbox").height(biggestHeight); </script> '; ###### HTML-Tag schliessen
echo '</html>';
?>