IR_MAX_UPLOAD) return null; $tmp = $f['tmp_name'] ?? ''; $mime = mime_content_type($tmp) ?: ''; $allowed = ['image/jpeg' => 'jpg', 'image/png' => 'png', 'image/webp' => 'webp', 'image/gif' => 'gif']; if (!isset($allowed[$mime])) return null; $safe = 'img_' . date('Ymd_His') . '_' . bin2hex(random_bytes(4)) . '.' . $allowed[$mime]; $dest = IR_UPLOAD_DIR . '/' . $safe; if (!move_uploaded_file($tmp, $dest)) return null; return 'uploads/' . $safe; } function ir_default_data(): array { return [ 'company' => [ 'name' => 'Gaylord Sinclair Publishing LLC', 'brand_system' => 'WEB360 Professional + SIMON Intelligence', 'about' => 'Gaylord Sinclair Publishing LLC is building a connected digital ecosystem that combines publishing, websites, creative media, AI-assisted web creation, deployment logic, social automation, and brand intelligence into one operational platform.', 'mission' => 'Create, connect, publish, analyze, and evolve every digital property through SIMON intelligence.', 'website' => 'https://www.gaylordsinclair.com/', 'appstore' => 'https://apps.apple.com/app/web360studio/id6760272181', 'github' => 'https://github.com/', 'sitemap' => 'https://www.gaylordsinclair.com/sitemap.xml', 'deck_date' => date('F j, Y'), 'legal_structure' => 'Texas LLC', 'member_count' => 1, 'employee_count' => 1, 'contractor_count' => 0, ], 'investor' => [ 'overview' => 'The company is assembling a portfolio of software, websites, books, art, comics, arcade experiences, and AI infrastructure into one monetizable, investor-presentable ecosystem.', 'value_case' => 'This is not a single product. It is a software + media + brand operating system with reusable IP and recurring revenue potential.', 'forecast_note' => 'Strongest valuation growth comes from integrating the builder, AI memory/review layer, and automatic publishing loop into one polished demo and commercial path.', 'software_review' => 'Current direction shows strong product vision, significant system thinking, and differentiated UI/brand identity. Main gap is integration maturity and production hardening, not concept quality.', 'ai_analysis' => 'AI can be used to update valuations, summarize progress, flag incomplete modules, generate investor notes, and recommend phase priorities based on completion, cost, and strategic upside.', ], 'websites' => [ ['name' => 'Gaylord Sinclair', 'url' => 'https://www.gaylordsinclair.com/', 'type' => 'Main brand site'], ['name' => 'SIMON Intelligence', 'url' => 'https://www.gaylordsinclair.com/simon/', 'type' => 'AI / command center'], ['name' => 'WEB360', 'url' => 'https://www.gaylordsinclair.com/web360/', 'type' => 'Builder / app marketing'], ['name' => 'Books', 'url' => 'https://www.gaylordsinclair.com/books/', 'type' => 'Publishing / catalog'], ['name' => 'Art', 'url' => 'https://www.gaylordsinclair.com/art/', 'type' => 'Gallery / portfolio'], ['name' => 'Arcade', 'url' => 'https://www.gaylordsinclair.com/arcade/', 'type' => 'Interactive media'], ], 'screenshots' => [ ['title' => 'WEB360 Screenshot', 'image' => '', 'notes' => 'Upload the strongest editor/preview shot.'], ['title' => 'SIMON Orb UI', 'image' => '', 'notes' => 'Upload orb command interface screenshot.'], ['title' => 'Website Showcase', 'image' => '', 'notes' => 'Upload brand site or landing page showcase.'], ], 'projects' => [ [ 'name' => 'WEB360 Professional', 'category' => 'Software', 'percent_done' => 65, 'status' => 'Active', 'current_work' => 'Editor shell, preview logic, UI architecture, branding, file mapping.', 'next_work' => 'Stabilize live preview, project sync, AI command routing, demo polish.', 'skills' => 'SwiftUI, Xcode, API integration, UX/product design.', 'cost_low' => 10000, 'cost_high' => 30000, 'revenue_low' => 0, 'revenue_high' => 25000, 'current_value_low' => 50000, 'current_value_high' => 150000, 'future_value_low' => 300000, 'future_value_high' => 1200000, 'marketing' => 'App Store page, product reels, SaaS-style landing page, founder demos.', ], [ 'name' => 'SIMON Intelligence', 'category' => 'AI / Platform', 'percent_done' => 60, 'status' => 'Active', 'current_work' => 'Core architecture, 5W1H planning, memory concepts, routing structure, orb UI direction.', 'next_work' => 'Complete router, memory read/write, analysis dashboard, approval logic.', 'skills' => 'PHP architecture, AI workflow design, data structures, system security.', 'cost_low' => 15000, 'cost_high' => 40000, 'revenue_low' => 0, 'revenue_high' => 15000, 'current_value_low' => 75000, 'current_value_high' => 250000, 'future_value_low' => 500000, 'future_value_high' => 1800000, 'marketing' => 'Command-center demo, AI ops showcase, intelligent website positioning.', ], [ 'name' => 'SIMON Link', 'category' => 'Integration', 'percent_done' => 30, 'status' => 'Planned', 'current_work' => 'Connector and routing strategy mapped.', 'next_work' => 'Build unified payload layer, auth, logs, connectors, approvals.', 'skills' => 'Backend integration, APIs, OAuth, security, automation.', 'cost_low' => 10000, 'cost_high' => 35000, 'revenue_low' => 0, 'revenue_high' => 5000, 'current_value_low' => 25000, 'current_value_high' => 100000, 'future_value_low' => 250000, 'future_value_high' => 1000000, 'marketing' => 'One-click workflow demo: build, analyze, publish, improve.', ], [ 'name' => 'SIMON Social Auto Publisher', 'category' => 'Marketing / Automation', 'percent_done' => 20, 'status' => 'Planned', 'current_work' => 'Concept, workflow, value model, platform targets defined.', 'next_work' => 'Build content routing, approvals, posting logs, analytics feedback loop.', 'skills' => 'Social APIs, ad ops, prompt design, analytics, campaign review.', 'cost_low' => 10000, 'cost_high' => 30000, 'revenue_low' => 0, 'revenue_high' => 15000, 'current_value_low' => 25000, 'current_value_high' => 100000, 'future_value_low' => 300000, 'future_value_high' => 1500000, 'marketing' => 'TikTok/Meta/X/Threads/Substack demo loop and auto-publisher case studies.', ], [ 'name' => 'Publishing / Books / Comics / Art / Arcade', 'category' => 'Brand Assets', 'percent_done' => 70, 'status' => 'Active', 'current_work' => 'Books, art pages, arcade concepts, comics, product clusters, brand story.', 'next_work' => 'Unify pages, improve funnels, package collections, connect social and email marketing.', 'skills' => 'Publishing, storytelling, product packaging, e-commerce, media presentation.', 'cost_low' => 5000, 'cost_high' => 20000, 'revenue_low' => 1000, 'revenue_high' => 15000, 'current_value_low' => 75000, 'current_value_high' => 300000, 'future_value_low' => 500000, 'future_value_high' => 2500000, 'marketing' => 'Collection pages, reels, bundles, newsletters, creator storytelling, merch or membership paths.', ], ], 'accounting' => [ 'current_monthly_revenue' => 600, 'current_monthly_fixed_cost' => 250, 'annual_misc_cost' => 5000, 'funding_needed_low' => 55000, 'funding_needed_high' => 170000, 'notes' => 'Lean build estimate assumes founder-led progress with AI assistance and selective outsourced development.', ], 'phases' => [ ['phase' => 'Phase 1', 'title' => 'Foundation', 'duration' => '1–2 months', 'status' => 'Active', 'forecast' => 'Builder shell, backend login, dashboards, project structure, baseline data.' ], ['phase' => 'Phase 2', 'title' => 'AI Intelligence', 'duration' => '2–3 months', 'status' => 'Planned', 'forecast' => '5W1H engine, memory, review console, predictive notes, dynamic recommendations.' ], ['phase' => 'Phase 3', 'title' => 'Publishing + Social', 'duration' => '2–4 months', 'status' => 'Planned', 'forecast' => 'Auto publisher, review flow, campaign analytics, platform connectors.' ], ['phase' => 'Phase 4', 'title' => 'Deployment + GitHub', 'duration' => '1–2 months', 'status' => 'Planned', 'forecast' => 'Version control, backup logic, release pipeline, safer updates.' ], ['phase' => 'Phase 5', 'title' => 'Commercialization', 'duration' => '2–3 months', 'status' => 'Future', 'forecast' => 'Subscriptions, investor materials, team expansion, reporting and onboarding.' ], ], 'skills_review' => [ 'Need stronger full-stack PHP execution for backend routing, data handling, and access control.', 'Need Xcode/SwiftUI product polish and stable feature completion in WEB360.', 'Need connector/API engineering for social posting, analytics, and deploy automation.', 'Need DevOps/GitHub discipline for branch management, backups, and release control.', ], 'github_overview' => [ 'Use a private main repository for code and separate storage for large media assets if needed.', 'Branch structure: main, dev, feature/, hotfix/.', 'Store environment config outside repo or through ignored files.', 'Tie commits to project phases and investor milestones.', ], 'todo' => [ 'Upload screenshots and strongest product visuals.', 'Complete login-protected investor console and data persistence.', 'Finish router + memory layer + 5W1H review.', 'Build auto publisher MVP.', 'Unify current sites into clearer product groups and funnels.', ], 'files_map' => [ '/htdocs/simon/investor/tier2_investor_console.php', '/htdocs/simon/investor/data/investor_console.json', '/htdocs/simon/investor/uploads/', '/htdocs/simon/index.php', '/htdocs/simon/console.php', '/htdocs/simon/simon_core.php', '/htdocs/simon/simon_brain.php', '/htdocs/simon/simon_router.php', '/htdocs/simon/simon_memory.php', '/htdocs/simon/simon_security.php', '/htdocs/simon/simon_5w1h.php', '/htdocs/web360/', '/htdocs/books/', '/htdocs/art/', '/htdocs/arcade/', '/htdocs/comics/', ], ]; } function ir_load(): array { ensure_ir_paths(); if (!file_exists(IR_DATA_FILE)) { $seed = ir_default_data(); file_put_contents(IR_DATA_FILE, json_encode($seed, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)); return $seed; } $raw = file_get_contents(IR_DATA_FILE); $data = json_decode($raw ?: '[]', true); if (!is_array($data)) $data = ir_default_data(); return array_replace_recursive(ir_default_data(), $data); } function ir_save(array $data): void { ensure_ir_paths(); file_put_contents(IR_DATA_FILE, json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)); } $data = ir_load(); $message = ''; $error = ''; if (isset($_GET['logout'])) { $_SESSION = []; session_destroy(); header('Location: ' . strtok($_SERVER['REQUEST_URI'], '?')); exit; } if ($_SERVER['REQUEST_METHOD'] === 'POST') { $action = $_POST['action'] ?? ''; if ($action === 'login') { ir_require_csrf(); $u = trim((string)($_POST['username'] ?? '')); $p = (string)($_POST['password'] ?? ''); if ($u === $adminUser && password_verify($p, $adminPassHash)) { $_SESSION['ir_admin'] = true; session_regenerate_id(true); $message = 'Login successful.'; } else { $error = 'Invalid login.'; } } if ($action === 'save' && ir_is_admin()) { ir_require_csrf(); $fields = ['name','brand_system','about','mission','website','appstore','github','sitemap','legal_structure']; foreach ($fields as $f) { $data['company'][$f] = trim((string)($_POST['company_'.$f] ?? $data['company'][$f])); } $data['company']['member_count'] = (int)($_POST['company_member_count'] ?? $data['company']['member_count']); $data['company']['employee_count'] = (int)($_POST['company_employee_count'] ?? $data['company']['employee_count']); $data['company']['contractor_count'] = (int)($_POST['company_contractor_count'] ?? $data['company']['contractor_count']); $data['company']['deck_date'] = date('F j, Y'); foreach (['overview','value_case','forecast_note','software_review','ai_analysis'] as $f) { $data['investor'][$f] = trim((string)($_POST['investor_'.$f] ?? $data['investor'][$f])); } $data['skills_review'] = ir_lines((string)($_POST['skills_review'] ?? '')); $data['github_overview'] = ir_lines((string)($_POST['github_overview'] ?? '')); $data['todo'] = ir_lines((string)($_POST['todo'] ?? '')); $data['files_map'] = ir_lines((string)($_POST['files_map'] ?? '')); foreach (['current_monthly_revenue','current_monthly_fixed_cost','annual_misc_cost','funding_needed_low','funding_needed_high'] as $f) { $data['accounting'][$f] = (float)($_POST['accounting_'.$f] ?? $data['accounting'][$f]); } $data['accounting']['notes'] = trim((string)($_POST['accounting_notes'] ?? $data['accounting']['notes'])); foreach ($data['projects'] as $i => $proj) { $pfx = 'project_'.$i.'_'; foreach (['name','category','status','current_work','next_work','skills','marketing'] as $f) { $data['projects'][$i][$f] = trim((string)($_POST[$pfx.$f] ?? $proj[$f])); } foreach (['percent_done','cost_low','cost_high','revenue_low','revenue_high','current_value_low','current_value_high','future_value_low','future_value_high'] as $f) { $data['projects'][$i][$f] = (float)($_POST[$pfx.$f] ?? $proj[$f]); } } foreach ($data['phases'] as $i => $phase) { $pfx = 'phase_'.$i.'_'; foreach (['phase','title','duration','status','forecast'] as $f) { $data['phases'][$i][$f] = trim((string)($_POST[$pfx.$f] ?? $phase[$f])); } } foreach ($data['screenshots'] as $i => $shot) { $pfx = 'shot_'.$i.'_'; $data['screenshots'][$i]['title'] = trim((string)($_POST[$pfx.'title'] ?? $shot['title'])); $data['screenshots'][$i]['notes'] = trim((string)($_POST[$pfx.'notes'] ?? $shot['notes'])); $up = ir_upload($pfx.'file'); if ($up !== null) $data['screenshots'][$i]['image'] = $up; } ir_save($data); $message = 'Console updated.'; } } $overallDone = ir_pct($data['projects'], 'percent_done'); [$costLow, $costHigh] = ir_sum_range($data['projects'], 'cost_low', 'cost_high'); [$revLow, $revHigh] = ir_sum_range($data['projects'], 'revenue_low', 'revenue_high'); [$curLow, $curHigh] = ir_sum_range($data['projects'], 'current_value_low', 'current_value_high'); [$futLow, $futHigh] = ir_sum_range($data['projects'], 'future_value_low', 'future_value_high'); $improveLow = max(0.0, $futLow - $curLow); $improveHigh = max(0.0, $futHigh - $curHigh); $monthlyProfitLow = (float)$data['accounting']['current_monthly_revenue'] - (float)$data['accounting']['current_monthly_fixed_cost']; ?> <?= e($data['company']['brand_system']) ?> — Investor Console
Investor Relations • Operations •
SIMON Flow Map
Websites + books + art + arcade + software → SIMON review → AI analysis → publishing / deploy / marketing → memory + investor visibility

Admin Login

Edit mode

Set SIMON_INVESTOR_USER and SIMON_INVESTOR_PASSHASH on the server and remove the default password.

Overall Completion
%
Blended completion across active products and systems.
Current Value
Current ecosystem and software asset estimate.
Future Value
Projected value after integration, automation, and launch maturity.
Build Cost
Estimated development + polish + deployment cost range.
Revenue Range
Current/near-term estimated revenue opportunity from listed projects.
Improvement Value
Potential value increase from current to future build-out.
Monthly Net
Current monthly revenue minus fixed monthly cost.
Team Snapshot
emp / ctr
LLC members:

Company Overview

Investor snapshot

About
Value Case

AI + Software Review

Strategic notes

Software review:

AI analysis:

Forecast note:

Screenshots + Visual Assets

Upload proof
<?= e($shot['title']) ?>Placeholder

Project Portfolio

Cost • revenue • value • forecast

% done
Current Work
Next Work
Skills
Marketing
Cost
Revenue
Current Value
Future Value

Accounting + Funding

Cost controls
Current Monthly Revenue
Current Monthly Fixed Cost
Annual Misc Cost
Funding Needed

Websites + Sitemap

Current web footprint
NameTypeURL

Project Phases + Forecast

Timeline
PhaseStatusDurationForecast

Developer Skill Set + GitHub

Execution readiness
Skill review
GitHub overview

Files + Placement Map

Upload locations

To Do / What Next

Priority list

Admin Edit Panel

Dynamic fields

Screenshot Uploads

Visual proof
$shot): ?>

Projects

Update costs and value
$project): ?>

Phases

Timeline updates
$phase): ?>
Recommended upload path: /htdocs/simon/investor/tier2_investor_console.php with /data and /uploads beside it.