Advertisement

User Login

Display Classifieds:

- - - - - - -
Show All Ads
- - - - - - -
Show All Categories
New Items
Used Items
Wanted
- - - - - - -
New Ad
My Profile
My Ads
Rules
- - - - - - -

Classifieds Search

Advertisement
Home arrow Sitemap
Sitemap

Main Menu
I do not seem to be getting emails from buyers
There are many reasons that emails to you are not...
About image sizes
When working with images in any website, there a ...
My item has sold. How do I remove my ad?
Once you have logged in to your account, you will...
How do I update my ad?
Once you have logged in to your account, you will...
How do I place an ad?
The first thing you have to do is to register and...
How much does it cost?
Ads in the "Used & Wanted" categories are FREE fo...
How many ads can I place?
You can place as many advertisements as you like ...
What image types can I upload?
You can upload the following image types: JPEG (...
How long does it take for my ad to become live?
All ads must be screened before being approved an...
get( 'show_mode', '1' )) ; $ads_limit=intval($params->get( 'ads_limit', '-1' )) ; $show_cat_icons=intval($params->get( 'show_cat_icons', '1' )) ; $show_cat_desc=intval($params->get( 'show_cat_desc', '1' )) ; $show_ad_icons=intval($params->get( 'show_ad_icons', '1' )) ; $show_ad_desc=intval($params->get( 'show_ad_desc', '1' )) ; $lev=$level; $lev++; $database->setQuery( "SELECT c.id, c.name,c.parent,c.description ". " FROM #__adsmanager_categories as c ". "WHERE c.published = 1 ORDER BY c.parent,c.ordering"); $listcats = $database->loadObjectList(); $cats = array(); $ordercats = array(); // first pass - collect children if(isset($listcats)) { foreach ($listcats as $c ) { $pt = $c->parent; $list_temp = @$cats [$pt] ? $cats [$pt] : array(); array_push( $list_temp, $c ); $cats [$pt] = $list_temp; $ordercats[$c->id] = $c; } } if ($show_mode == 1) { $database->setQuery( "SELECT a.id, a.ad_headline,a.ad_text,a.category ". " FROM #__adsmanager_ads as a ". " LEFT JOIN #__adsmanager_categories as c ON a.category = c.id ". " WHERE a.published = 1 AND c.published = 1". " ORDER BY a.date_created DESC ,a.id DESC"); $listads = $database->loadObjectList(); $ads = array(); // first pass - collect children if(isset($listads)) { foreach ($listads as $a ) { $pt = $a->category; $list_temp = @$ads [$pt] ? $ads [$pt] : array(); array_push( $list_temp, $a ); $ads [$pt] = $list_temp; } } } if (isset($ordercats[$catid])) { $row = $ordercats[$catid]; adsmanager_recursecategories($row->id, $lev,$cats,$ads,$Itemid,$show_cat_icons,$show_cat_desc,$show_ad_icons,$show_ad_desc,$ads_limit); if (isset($ads[$row->id])) { $i = 0; foreach($ads[$row->id] as $ad) { $i++; if ($i > $ads_limit) break; $element->name = $ad->ad_headline; $link = "index.php?option=com_adsmanager&page=show_ad&adid=".$ad->id."&Itemid=".$Itemid; $element->link = $link; $element->level = $level + 1 ; if ($show_ad_icons == 2) { if (($ad->id == 0)||(!file_exists($mosConfig_absolute_path."/images/com_adsmanager/ads/".$ad->id."a_t.jpg"))) { $element->image = 'nopic.gif'; $element->icon_path='/components/com_adsmanager/images/'; } else { $element->image = $ad->id.'a_t.jpg'; $element->icon_path='/images/com_adsmanager/ads/'; } } else if ($show_ad_icons == 1) { $element->image = 'adsmanager_ad.gif'; $element->icon_path='/mambots/com_sefservicemap/'; } else { $element->image = 'none'; } if ($show_ad_desc) $element->description=$ad->ad_text; if (function_exists ('AddExtMenuItem')) AddExtMenuItem ($element); else AddMenuItem($ad->ad_headline,$link, $level+1); } } } } function adsmanager_recursecategories($id, $level, $cats,$ads,$Itemid,$show_cat_icons,$show_cat_desc,$show_ad_icons,$show_ad_desc,$ads_limit) { global $mosConfig_absolute_path; if (@$cats[$id]) { foreach ($cats[$id] as $row) { $element->name = $row->name; $link = "index.php?option=com_adsmanager&page=show_category&catid=".$row->id."&Itemid=".$Itemid; $element->link = $link; $element->level = $level; if ($show_cat_icons == 2) { if (($row->id == 0)||(!file_exists($mosConfig_absolute_path.'/images/com_adsmanager/categories/'.$row->id.'cat_t.jpg'))) { $element->image = 'default.gif'; $element->icon_path='/components/com_adsmanager/images/'; } else { $element->image = $row->id.'cat_t.jpg'; $element->icon_path='/images/com_adsmanager/categories/'; } } else if ($show_cat_icons == 1) { $element->image = 'adsmanager_cat.gif'; $element->icon_path='/mambots/com_sefservicemap/'; } else { $element->image = 'none'; } if ($show_cat_desc) $element->description=$row->description; if (function_exists ('AddExtMenuItem')) AddExtMenuItem ($element); else AddMenuItem($row->title,$link, $level); adsmanager_recursecategories($row->id, $level + 1, $cats,$ads,$Itemid,$show_cat_icons,$show_cat_desc,$show_ad_icons,$show_ad_desc,$ads_limit); if (isset($ads[$row->id])) { $i = 0; foreach($ads[$row->id] as $ad) { $i++; if ($i > $ads_limit) break; $element->name = $ad->ad_headline; $link = "index.php?option=com_adsmanager&page=show_ad&adid=".$ad->id."&Itemid=".$Itemid; $element->link = $link; $element->level = $level + 1 ; if ($show_ad_icons == 2) { if (($ad->id == 0)||(!file_exists($mosConfig_absolute_path."/images/com_adsmanager/ads/".$ad->id."a_t.jpg"))) { $element->image = 'nopic.gif'; $element->icon_path='/components/com_adsmanager/images/'; } else { $element->image = $ad->id.'a_t.jpg'; $element->icon_path='/images/com_adsmanager/ads/'; } } else if ($show_ad_icons == 1) { $element->image = 'adsmanager_ad.gif'; $element->icon_path='/mambots/com_sefservicemap/'; } else { $element->image = 'none'; } if ($show_ad_desc) $element->description=$ad->ad_text; if (function_exists ('AddExtMenuItem')) AddExtMenuItem ($element); else AddMenuItem($ad->ad_headline,$link, $level+1); } } } } } function adsmanager_show_all($level,$Itemid,$params) { global $database,$my; $show_mode=intval($params->get( 'show_mode', '1' )) ; $ads_limit=intval($params->get( 'ads_limit', '-1' )) ; $show_cat_icons=intval($params->get( 'show_cat_icons', '1' )) ; $show_cat_desc=intval($params->get( 'show_cat_desc', '1' )) ; $show_ad_icons=intval($params->get( 'show_ad_icons', '1' )) ; $show_ad_desc=intval($params->get( 'show_ad_desc', '1' )) ; $lev=$level; $lev++; $database->setQuery( "SELECT c.id, c.name,c.parent,c.description ". " FROM #__adsmanager_categories as c ". "WHERE c.published = 1 ORDER BY c.parent,c.ordering"); $listcats = $database->loadObjectList(); $cats = array(); // first pass - collect children if(isset($listcats)) { foreach ($listcats as $c ) { $pt = $c->parent; $list_temp = @$cats [$pt] ? $cats [$pt] : array(); array_push( $list_temp, $c ); $cats [$pt] = $list_temp; } } if ($show_mode == 1) { $database->setQuery( "SELECT a.id, a.ad_headline,a.ad_text,a.category ". " FROM #__adsmanager_ads as a ". " LEFT JOIN #__adsmanager_categories as c ON a.category = c.id ". " WHERE a.published = 1 AND c.published = 1". " ORDER BY a.date_created DESC ,a.id DESC"); $listads = $database->loadObjectList(); $ads = array(); // first pass - collect children if(isset($listads)) { foreach ($listads as $a ) { $pt = $a->category; $list_temp = @$ads [$pt] ? $ads [$pt] : array(); array_push( $list_temp, $a ); $ads [$pt] = $list_temp; } } } adsmanager_recursecategories(0, $lev,$cats,$ads,$Itemid,$show_cat_icons,$show_cat_desc,$show_ad_icons,$show_ad_desc,$ads_limit); } function com_adsmanager_bot ($level,$link,$Itemid,$params) { $task = smGetParam($link,'page','show_all'); $sectionid = smGetParam($link,'sectionid',''); $catid = smGetParam($link,'catid',''); $adid = smGetParam($link,'adid',''); switch ($task) { case 'show_category': adsmanager_show_category($catid,$level,$Itemid,$params); break; case 'show_all': adsmanager_show_all($level,$Itemid,$params); break; default: break; } } ?>
EmailAlerts - stay in touch
As part of our ongoing development, we are please...
Website Updates
Server Upgrades Saturday 1st & Sunday 2nd August ...
 
footer menu
 
Top Menu
Latest
The latest news from the Joomla! Team
EmailAlerts - stay in touch
As part of our ongoing development, we are please...
 
XML Map XML Map TXT Map TXT Map
We have 9 guests and 7 members online
Advertisement
Latest News
How do I update my ad?

Once you have logged in to your account, you will need to click on the "My ads" link located in the left...
more...

I do not seem to be getting emails from buyers

There are many reasons that emails to you are not getting through.The RC trader system has been tested over a long period...
more...

My item has sold. How do I remove my ad?

Once you have logged in to your account, you will need to click on the "My ads" link located in the left...
more...

EmailAlerts - stay in touch

As part of our ongoing development, we are pleased to announce "EmailAlert" - a subscriber based email that is...
more...

How do I place an ad?

The first thing you have to do is to register and create an account.     To register, simply...
more...

Advertisement