<?php
if ( defined( 'JPATH_SITE' ) ) {
if ( ! file_exists( JPATH_SITE . '/templates/'.$this->template.'/images/prefix1_'.$articleID.'.jpg' ) ) {
} else {
echo 'Beitrags ID (wenn Bild existiert)'.$articleID.'<br />';
}
if ( ! file_exists( JPATH_SITE . '/templates/'.$this->template.'/images/prefix2_'.$Itemid.'.jpg' ) ) {
} else {
echo 'Item ID (wenn Bild existiert)'.$ItemID.'<br />';
}
if ( ! file_exists( JPATH_SITE . '/templates/'.$this->template.'/images/prefix3_'.$categoryID.'.jpg' ) ) {
} else {
echo 'Kategorie ID (wenn Bild existiert)'.$categoryID.'<br />';
}
}
if ( JRequest::getVar('layout') == 'blog')
echo 'Kategorie ID (layout blog):'.$categoryID.'<br />';
if ( JRequest::getVar('view') == 'article')
echo 'Kategorie ID (view article):'.$ID->catid.'<br />';
if ( JRequest::getVar('view') == 'category')
echo 'Kategorie ID (view category):'.$categoryID.'<br />';
if ( JRequest::getVar('view') == 'section')
echo 'Bereich ID (view section):'.$sectionID.'<br />';
else
echo "Alternative ID:";
echo "0";
?>
Lesezeichen