GetRow("SELECT * FROM #__sections WHERE id=$id AND published=1 $access_sql");
if( $conn->RecordCount()>0 )
{
?>
|
';
echo dbdecode($srow['description']);
?>
|
| |
Execute("SELECT id,name,description,published,ordering,count FROM #__categories WHERE section=$id AND published=1 $access_sql ORDER BY ordering");
if( $rs && $rs->RecordCount()>0 && $rsa=$rs->GetArray() )
{
foreach($rsa as $crow)
{
$rsi = $conn->Execute("SELECT id,catid,published FROM #__content WHERE catid=".$crow['id']." AND published=1");
$checked_items=$rsi->RecordCount();
?>
( )
|
GetRow("SELECT * FROM #__categories WHERE id=$id AND published=1 $access_sql");
if( $conn->RecordCount()>0 )
{
?>
|
';
echo $crow['description'];
?>
|
SelectLimit("SELECT * FROM #__content WHERE catid=$id AND published=1 $access_sql ORDER BY created DESC",$show,($page-1)*$show);
if( $rsa )
{
?>
|
|
|
GetRow($sql);
if(!isset($page))$page=1;
$row_total=$crow['count'];
if( $conn->RecordCount()>0 )
{
?>
|
';
echo $crow['description'];
?>
|
| |
SelectLimit("SELECT id,title,catid,created,created_by_alias,published,ordering,hits FROM #__content WHERE catid=$id AND published=1 $access_sql ORDER BY created DESC",$show,($page-1)*$show);
if( count($rsa)>0)
{
?>
|
|
GetRow("SELECT title FROM #__content WHERE id=$id AND published=1 $access_sql");
$content_title=$crow['title'];
?>