• Post to Classifieds
Select a category, then you’ll be routed to the posting form. Your listing will be tagged to: .
Rule: one area + one category. No cross‑posting.
// postnorthbay.html // North Bay posting hub (select category + go to posting form) // Note: This page does NOT write to DB. It routes the user to your posting form endpoint. // --- CONFIG (edit as needed) --- $city_slug = 'sf-downtown'; $city_name = 'San Francisco (Downtown)'; $form_target = '/post.html'; // Change to your real posting form (e.g., /post.php) $terms_url = '/terms.html'; // Change to your real Terms $privacy_url = '/privacy.html'; // Change to your real Privacy $help_url = '/help.html'; // Category groups (add/remove to match your site) $categories = [ 'Community Events' => [ 'Activities' => 'community-activities', 'Artist' => 'community-artist', 'Childcare' => 'community-childcare', 'General' => 'community-general', 'Groups' => 'community-groups', 'Events' => 'community-events', 'Lost + Found' => 'community-lostfound', 'Garage Sales' => 'community-garagesales', 'Local News' => 'community-localnews', 'Politics' => 'community-politics', 'Rideshare' => 'community-rideshare', ], 'Personals – Dating' => [ 'Live Chat' => 'dating-livechat', 'Blind Dating' => 'dating-blind', 'Interracial Dating' => 'dating-interracial', 'Woman seeking Men' => 'dating-wsm', 'Men seeking Woman' => 'dating-msw', 'Men seeking Men' => 'dating-msm', 'Woman seeking Woman' => 'dating-wsw', 'Speed Dating' => 'dating-speed', 'Religious Dating' => 'dating-religious', 'Strictly Platonic' => 'dating-platonic', ], 'Resumes' => [ 'Accounting + Finance' => 'resume-accounting', 'Admin / Office' => 'resume-admin', 'Arch / Engineering' => 'resume-engineering', 'Art / Media / Design' => 'resume-art', 'Biotech / Science' => 'resume-biotech', 'Business / Mgmt' => 'resume-business', 'Customer Service' => 'resume-customer-service', 'Education' => 'resume-education', 'Food / Bev / Hosp' => 'resume-hospitality', 'General Labor' => 'resume-labor', 'Government' => 'resume-government', 'Human Resources' => 'resume-hr', 'Internet Engineers' => 'resume-internet', 'Legal / Paralegal' => 'resume-legal', 'Manufacturing' => 'resume-manufacturing', 'Marketing / PR / Ad' => 'resume-marketing', 'Medical / Health' => 'resume-medical', 'Non-profit Sector' => 'resume-nonprofit', 'Real Estate' => 'resume-realestate', 'Retail / Wholesale' => 'resume-retail', 'Sales' => 'resume-sales', 'Salon / Spa / Fitness' => 'resume-fitness', 'Security' => 'resume-security', 'Skill Trade / Labor' => 'resume-skilled-trades', ], ]; // Basic escape helper function e($v){ return htmlspecialchars((string)$v, ENT_QUOTES, 'UTF-8'); } // Defaults $selected = isset($_GET['cat']) ? (string)$_GET['cat'] : ''; // Create flat list for the select dropdown $flat = []; foreach($categories as $group => $items){ foreach($items as $label => $slug){ $flat[] = [ 'group' => $group, 'label' => $label, 'slug' => $slug, ]; } } ?>
Select a category, then you’ll be routed to the posting form. Your listing will be tagged to: .
Rule: one area + one category. No cross‑posting.