/**
*======================================*
* Textile Editor mit erweiterten Artikelbild. © sonnix.de *
*======================================*
*/
// Ausgabe in Abhängigkeit des Link-Typs
switch (1):
case 1:
// Ohne Link
$file='
$cat = OOCategory::getCategoryById($this->getValue("category_id")); $article = $cat->getArticles(); print '
';
break;
case 2:
// Lightbox Link
$file='';
break;
case 3:
// Interner Link
$file='';
break;
case 4:
// Externer Link
$file='';
break;
endswitch;
$input =<<< EOT
"Kader":index.php?article_id=85 | "Trainingszeiten":index.php?article_id=86 | "Spiele/Berichte":index.php?article_id=87 | "Tabelle":index.php?article_id=88 | Statistik
EOT;
$textile = new Textile;
$text = "";
if (""Kader":index.php?article_id=85 | "Trainingszeiten":index.php?article_id=86 | "Spiele/Berichte":index.php?article_id=87 | "Tabelle":index.php?article_id=88 | Statistik" != "") $text = $textile->TextileThis($input);
$text = str_replace("###"," ",$text);
if ("" == "") $file = "";
print $file.$text;
echo '';
?>
Statistik Herren
$cat = OOCategory::getCategoryById($this->getValue("category_id")); $article = $cat->getArticles(); print '
- ';
if (is_array($article)) {
foreach ($article as $var) {
$articleId = $var->getId();
$articleName = $var->getName();
$articleDescription = $var->getDescription();
if ($var->getValue(_startpage) != 1) {
echo '
- '.$articleName.' '; } } } print '
$a1 = new article();
$a1->setCLang($REX['CUR_CLANG']);
$a1->setArticleId(46);
echo $a1->getArticle();
?>
$a = new article();
$a->setCLang($REX['CUR_CLANG']);
$a->setArticleId(47);
echo $a->getArticle();
?>
$query = 'SELECT updatedate FROM rex_article_slice WHERE updatedate <> 0 ORDER BY updatedate DESC LIMIT 1';
$sql = new sql();
$result = $sql->get_array($query);
if( is_array ($result) and count($result) > 0 ) {
foreach ( $result as $row ) {
$date= $row['updatedate'];
print 'letzte Aktualisierung: ' . date('d.m.Y',$date);
}
}
?>