|
منوی اصلی سایت
ورود و خروجنظرسنجیعکسهای ارسالی کاربران$moduleclass = $params->get( 'moduleclass' ); $border_width = $params->get( 'border_width' ); $border_style = $params->get( 'border_style' ); $border_color = $params->get( 'border_color' ); $bg_color = $params->get( 'bg_color' ); $padding = $params->get( 'padding' ); $count = $params->get( 'count' ); $catid = $params->get( 'catid' ); $showimgtitle = $params->get( 'showimgtitle' ); $opacity = $params->get( 'opacity' ); $query = "select id" ."\n from #__menu" ."\n where link = 'index.php?option=com_datsogallery'"; $database->setQuery($query); $rows = $database->loadObjectList(); if (isset($rows[0]->id)) { $Itemid = $rows[0]->id; } else { $Itemid = ""; } require($mainframe->getCfg( 'absolute_path' )."/administrator/components/com_datsogallery/config.datsogallery.php"); $thumbnailpath = $mosConfig_live_site.$ad_paththumbs."/"; $query = "select *, c.access from #__datsogallery as p" ."\n left join #__datsogallery_catg as c on c.cid=p.catid" . ( $catid ? " and ( catid in ( $catid ) )" : '' ) ."\n where p.published = '1' and p.approved=1 and c.access <= $my->gid" ."\n order by rand() limit $count"; $database->setQuery($query); $rows = $database->loadObjectList(); foreach($rows as $row){ $img = "$thumbnailpath$row->imgthumbname"; if ($opacity == 1) { echo '';
} else {
echo ' ';
}
}
?>
';
}
echo 'id").'">';
echo ' ';
} else {
echo ''.$row->imgtitle.' حاضرین در سایتحاضرين: 6 مهمان حاضرآمار کل سایتاعضاء: 16613
خبر ها: 125 لينک ها: 4 بازديدکنندگان: 8998904
|