0 Members and 1 Guest are viewing this topic.
/index.php?action=classifieds/index.php?action=classifieds;sa=category;id=XXX/index.php?action=classifieds;sa=section;id=XXX/index.php?action=classifieds;sa=item;id=XXX/index.php?action=classifieds;sa=add/index.php?action=classifieds;sa=edit/index.php?action=classifieds;sa=moderate/index.php?action=classifieds;sa=moderate;deals/index.php?action=classifieds;sa=moderate;reports/index.php?action=classifieds;sa=user
/classifieds//classifieds/sa/category/id/XXX//classifieds/sa/section/id/XXX//classifieds/sa/item/id/XXX//classifieds/sa/add//classifieds/sa/edit//classifieds/sa/moderate//classifieds/sa/moderate/deals///classifieds/sa/moderate/reports///classifieds/sa/user/
function classifieds_main(){ global $context, $txt, $scripturl; isAllowedTo('view_classifieds'); $subActions = array( 'moderate' => 'classifieds_moderate', 'user' => 'classifieds_own', 'category' => 'classifieds_category', 'section' => 'classifieds_section', 'item' => 'classifieds_item', 'add' => 'classifieds_add', 'edit' => 'classifieds_edit', 'search' => 'classifieds_search' ); if (isset($_GET['sa']) && isset($subActions[$_GET['sa']]) && !WIRELESS) return $subActions[$_GET['sa']](); loadTemplate('Classifieds'); $context['page_title'] = $txt['classifieds']; $context['canonical_url'] = $scripturl . '?action=classifieds'; $context['linktree'][] = array( 'name' => $context['page_title'] );}