Lead Registry & Qualification Funnel
Track luxury river cruise bookings, itineraries, and agent touchpoints
| Lead ID | Guest & Itinerary | Contact Info | Cadence (FU 1–4) | Rating | Assigned Agent | Value | Status | Actions |
|---|---|---|---|---|---|---|---|---|
| LEAD-1001 |
Sir Arthur Wellesley
Ganges Grand Luxury Voyage (8 Days) (2 Guests)
|
arthur.w@heritage-investments.co.uk
+44 20 7946 0192
|
1
2
3
4
3/4
|
Hot | Sarah Jenkins | $28,500 | Negotiation | |
| LEAD-1002 |
Dr. Catherine Moreau
Brahmaputra Explorer & Kaziranga (10 Days) (4 Guests)
|
c.moreau@geneva-medical.org
+41 22 791 2111
|
1
2
3
4
2/4
|
Hot | Marcus Vance | $36,000 | Proposal Sent | |
| LEAD-1003 |
Hiroshi Tanaka
Sundarbans Wilderness Cruise (5 Days) (2 Guests)
|
tanaka.h@kyoto-arts.jp
+81 3 5555 0143
|
1
2
3
4
4/4
|
Warm | Priya Sharma | $19,800 | Closed Won | |
| LEAD-1004 |
Eleanor Roosevelt-Vance
Kolkata Heritage Royal Suite Charter (4 Days) (12 Guests)
|
evance@manhattan-capital.com
+1 212 555 8392
|
1
2
3
4
1/4
|
Hot | Marcus Vance | $45,000 | Contacted | |
| LEAD-1005 |
Vikram & Ananya Singhania
Ganges Grand Luxury Voyage (8 Days) (2 Guests)
|
singhania.v@mumbai-holdings.in
+91 98200 45123
|
1
2
3
4
0/4
|
Cold | Priya Sharma | $24,000 | New Lead |
No leads match the selected criteria
Antara Luxury Cruises Deal Velocity
Real-time revenue forecast, SLA compliance across Follow-up 1–4, and agent leaderboard.
Stage Value Distribution
4-Step Follow-Up SLA Funnel
Lead Source Attribution
Cruise Sales Specialist Performance
Pipeline allocation, won revenue, and SLA touchpoint execution
| Sales Consultant | Active Leads | Total Pipeline | Closed Won | Cadence SLA Completion |
|---|---|---|---|---|
| Sarah Jenkins | 1 | $28,500 | $0 | 75% |
| Marcus Vance | 2 | $81,000 | $0 | 38% |
| Priya Sharma | 2 | $43,800 | $19,800 | 50% |
Role-Based Access Control (RBAC) & Team Registry
Manage user credentials, grant permissions, and test role impersonation instantly.
Full Control
Can create/edit/delete leads, manage users, modify passwords, and download backend SQL.
Ops & Pipeline
Can create/edit all leads, view analytics, reassign agents, export CSV data.
Lead Execution
Can create and edit assigned leads and complete Follow-up touchpoints 1-4.
Auditor / Read-Only
Can view metrics, search pipelines, and inspect leads without mutation permissions.
Configured Portal Accounts
| User | Email / Login | Role | Department | Status | Quick Impersonate |
|---|---|---|---|---|---|
|
Sarah Jenkins
ID: usr-1
|
sarah.jenkins@antara.io | SUPER_ADMIN | Executive Board | Active | |
|
Marcus Vance
ID: usr-2
|
marcus.vance@antara.io | SALES_MANAGER | Luxury Sales | Active | |
|
Priya Sharma
ID: usr-3
|
priya.sharma@antara.io | SALES_REP | Guest Relations | Active | |
|
Alex Rivera
ID: usr-4
|
alex.rivera@antara.io | VIEWER | Compliance & Audit | Active |
Complete Full-Stack Architecture & Scripts
Ready-to-upload PHP REST API backend, MySQL database schema, and step-by-step GoDaddy hosting manual.
cPanel MySQL Database
Log in to your GoDaddy cPanel, go to MySQL Databases, create a database (e.g. antara_crm) and assign a user with full privileges. Open phpMyAdmin and import the schema.sql file below.
Upload PHP Backend API
In cPanel File Manager, navigate to public_html/api/. Create or upload index.php (or api.php) and update your DB credentials (DB_HOST, DB_USER, DB_PASS, DB_NAME).
Publish HTML Portal Frontend
Upload this portal's HTML file directly to public_html/index.html. Point your domain (or subdomain like crm.yourdomain.com) to this folder. It operates in offline/localStorage mode or connected to live PHP!
-- ============================================================
-- ANTARA CRUISES: ENTERPRISE LEAD MANAGEMENT SCHEMA FOR GODADDY
-- ============================================================
CREATE DATABASE IF NOT EXISTS antara_lead_portal CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
USE antara_lead_portal;
-- 1. Users & RBAC Matrix
CREATE TABLE IF NOT EXISTS users (
id VARCHAR(36) PRIMARY KEY,
name VARCHAR(100) NOT NULL,
email VARCHAR(150) UNIQUE NOT NULL,
password_hash VARCHAR(255) NOT NULL,
role ENUM('SUPER_ADMIN', 'SALES_MANAGER', 'SALES_REP', 'VIEWER') DEFAULT 'SALES_REP',
department VARCHAR(100) DEFAULT 'Sales',
status ENUM('Active', 'Suspended') DEFAULT 'Active',
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- 2. Leads & Itineraries
CREATE TABLE IF NOT EXISTS leads (
id VARCHAR(20) PRIMARY KEY,
name VARCHAR(100) NOT NULL,
email VARCHAR(150) NOT NULL,
phone VARCHAR(50),
organization VARCHAR(120),
job_title VARCHAR(100),
cruise_package VARCHAR(150),
travel_dates VARCHAR(100),
guests_count INT DEFAULT 2,
lead_source VARCHAR(60) DEFAULT 'Website',
temperature ENUM('Hot', 'Warm', 'Cold') DEFAULT 'Warm',
estimated_value DECIMAL(12,2) DEFAULT 0.00,
stage ENUM('New Lead', 'Contacted', 'Proposal Sent', 'Negotiation', 'Closed Won', 'Closed Lost') DEFAULT 'New Lead',
assigned_to VARCHAR(100) DEFAULT 'Sarah Jenkins',
fu1_status ENUM('Pending', 'Completed') DEFAULT 'Pending',
fu1_date VARCHAR(30),
fu2_status ENUM('Pending', 'Completed') DEFAULT 'Pending',
fu2_date VARCHAR(30),
fu3_status ENUM('Pending', 'Completed') DEFAULT 'Pending',
fu3_date VARCHAR(30),
fu4_status ENUM('Pending', 'Completed') DEFAULT 'Pending',
fu4_date VARCHAR(30),
notes TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
-- 3. Audit Activity Trail
CREATE TABLE IF NOT EXISTS audit_logs (
id INT AUTO_INCREMENT PRIMARY KEY,
lead_id VARCHAR(20),
action VARCHAR(100) NOT NULL,
details TEXT,
performed_by VARCHAR(100) NOT NULL,
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- Default Demo Data
INSERT INTO users (id, name, email, password_hash, role, department) VALUES
('usr-1', 'Sarah Jenkins', 'sarah.jenkins@antara.io', '$2y$10$demo_hash_admin', 'SUPER_ADMIN', 'Executive Board'),
('usr-2', 'Marcus Vance', 'marcus.vance@antara.io', '$2y$10$demo_hash_manager', 'SALES_MANAGER', 'Luxury Sales'),
('usr-3', 'Priya Sharma', 'priya.sharma@antara.io', '$2y$10$demo_hash_rep', 'SALES_REP', 'Guest Relations'),
('usr-4', 'Alex Rivera', 'alex.rivera@antara.io', '$2y$10$demo_hash_viewer', 'VIEWER', 'Audit & Compliance');
<?php
/**
* Antara Cruises - GoDaddy cPanel PHP REST API Backend
* Deploy in: public_html/api/index.php
*/
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS");
header("Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With");
header("Content-Type: application/json; charset=UTF-8");
if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') {
http_response_code(200);
exit();
}
// 1. Database Credentials (Replace with your GoDaddy cPanel Database Info)
define('DB_HOST', 'localhost');
define('DB_NAME', 'antara_lead_portal');
define('DB_USER', 'godaddy_db_user');
define('DB_PASS', 'your_strong_password');
try {
$pdo = new PDO("mysql:host=" . DB_HOST . ";dbname=" . DB_NAME . ";charset=utf8mb4", DB_USER, DB_PASS, [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC
]);
} catch (PDOException $e) {
http_response_code(500);
echo json_encode(["status" => "error", "message" => "Database connection failed: " . $e->getMessage()]);
exit();
}
$action = $_GET['action'] ?? '';
$method = $_SERVER['REQUEST_METHOD'];
$body = json_decode(file_get_contents("php://input"), true);
// 2. Routing Engine
switch ($action) {
case 'get_leads':
$stmt = $pdo->query("SELECT * FROM leads ORDER BY created_at DESC");
echo json_encode(["status" => "success", "data" => $stmt->fetchAll()]);
break;
case 'create_lead':
if ($method !== 'POST') { http_response_code(405); exit(); }
$sql = "INSERT INTO leads (id, name, email, phone, organization, job_title, cruise_package, travel_dates, guests_count, lead_source, temperature, estimated_value, stage, assigned_to, fu1_status, fu1_date, notes)
VALUES (:id, :name, :email, :phone, :org, :job, :pkg, :dates, :guests, :source, :temp, :val, :stage, :assigned, :fu1_status, :fu1_date, :notes)";
$stmt = $pdo->prepare($sql);
$stmt->execute([
':id' => $body['id'],
':name' => $body['name'],
':email' => $body['email'],
':phone' => $body['phone'] ?? '',
':org' => $body['company'] ?? '',
':job' => $body['title'] ?? '',
':pkg' => $body['package'] ?? 'Ganges Voyage 7D',
':dates' => $body['travelDates'] ?? '',
':guests' => $body['guests'] ?? 2,
':source' => $body['source'] ?? 'Website',
':temp' => $body['priority'] ?? 'Warm',
':val' => $body['value'] ?? 15000,
':stage' => $body['stage'] ?? 'New Lead',
':assigned' => $body['assigned'] ?? 'Sarah Jenkins',
':fu1_status' => $body['cadence'] ? $body['cadence'][0]['status'] : 'Pending',
':fu1_date' => $body['cadence'] ? $body['cadence'][0]['date'] : '',
':notes' => $body['notes'] ?? ''
]);
echo json_encode(["status" => "success", "message" => "Lead created successfully"]);
break;
case 'update_lead':
if ($method !== 'POST' && $method !== 'PUT') { http_response_code(405); exit(); }
$sql = "UPDATE leads SET stage = :stage, temperature = :temp, estimated_value = :val, notes = :notes WHERE id = :id";
$stmt = $pdo->prepare($sql);
$stmt->execute([
':stage' => $body['stage'],
':temp' => $body['priority'],
':val' => $body['value'],
':notes' => $body['notes'],
':id' => $body['id']
]);
echo json_encode(["status" => "success", "message" => "Lead updated successfully"]);
break;
case 'delete_lead':
$leadId = $_GET['id'] ?? '';
$stmt = $pdo->prepare("DELETE FROM leads WHERE id = :id");
$stmt->execute([':id' => $leadId]);
echo json_encode(["status" => "success", "message" => "Lead deleted"]);
break;
default:
echo json_encode(["status" => "active", "service" => "Antara Cruises GoDaddy API", "version" => "2.4"]);
break;
}
Immutable Security & Audit Log
Real-time ledger recording lead generation, status transitions, follow-up completions, and role switching.
Loaded Antara Cruises CRM state engine