# FILE PLACEMENT GUIDE

Copy files from the rebuild package to your XAMPP installation:

```
C:\xampp\htdocs\HSLG\
│
├── includes/                          ← Copy these 7 files here
│   ├── Campaigns.php                  ← NEW
│   ├── functions.php                  ← NEW
│   ├── google_places_api.php          ← NEW (ADD API KEY!)
│   ├── anthropic_api.php              ← NEW (ADD API KEY!)
│   ├── styleone.css                   ← NEW
│   ├── styletwo.css                   ← NEW
│   ├── stylethree.css                 ← NEW
│   └── email_functions.php            ← Already exists, keep it
│
├── config/                            ← Already exists, keep all
│   ├── config.php
│   ├── database.php
│   └── warmup_accounts_config.php
│
├── admin/                             ← Already exists, keep all
│   └── ...
│
├── Root Directory Files:              ← Copy these 13 files to root
│   │
│   ├── capture.php                    ← NEW - Universal capture form
│   ├── process_capture.php            ← NEW - Form processor
│   │
│   ├── hvac.php                       ← NEW - Direct HVAC link
│   ├── plumbing.php                   ← NEW - Direct Plumbing link
│   ├── electrical.php                 ← NEW - Direct Electrical link
│   ├── roofing.php                    ← NEW - Direct Roofing link
│   ├── landscaping.php                ← NEW - Direct Landscaping link
│   ├── cleaning.php                   ← NEW - Direct Cleaning link
│   │
│   ├── seed_email_sequences.php       ← NEW - Run once to setup emails
│   ├── verify_setup.php               ← NEW - Run to verify installation
│   │
│   ├── preview.php                    ← Already exists, keep it
│   ├── email_sender_cron.php          ← Already exists, keep it
│   └── ... (all your other existing files)
│
└── Documentation Files:               ← Reference only, optional to copy
    ├── SYSTEM_SUMMARY.md              ← Read this first!
    ├── REBUILD_GUIDE.md               ← Installation instructions
    └── CAMPAIGN_URLS.md               ← URL reference guide
```

## Quick Copy Commands

### For Windows Explorer:
1. Open rebuild package folder
2. Select all files from `includes/` subfolder
3. Copy to `C:\xampp\htdocs\HSLG\includes\`
4. Select all PHP files from root
5. Copy to `C:\xampp\htdocs\HSLG\`

### Or via Command Line:
```cmd
cd C:\path\to\rebuild\package

REM Copy includes files
copy includes\*.php C:\xampp\htdocs\HSLG\includes\
copy includes\*.css C:\xampp\htdocs\HSLG\includes\

REM Copy root files
copy *.php C:\xampp\htdocs\HSLG\
```

## After Copying:

1. ✅ Add Google API key to `includes/google_places_api.php`
2. ✅ Add Anthropic API key to `includes/anthropic_api.php`
3. ✅ Run `php seed_email_sequences.php`
4. ✅ Run `php verify_setup.php`
5. ✅ Test at `http://localhost/hslg/hvac.php`

## Files You DON'T Need to Copy:
- SYSTEM_SUMMARY.md (documentation)
- REBUILD_GUIDE.md (documentation)
- CAMPAIGN_URLS.md (documentation)

These are reference guides, not system files.

---

**Total Files to Copy: 20**
- 7 to includes/
- 13 to root HSLG/

**Time Required: 5 minutes**
**Difficulty: Easy - just copy/paste**
