Ad Manager
= htmlspecialchars(ADS_SITE_NAME) ?> — = htmlspecialchars(ADS_MANAGER_TITLE) ?>
authenticated
Admin Key
Unlock
New Ad
Ad Title / Label
*
Placement
*
$label): ?>
= htmlspecialchars($label) ?>
Click-through URL
Where clicking the ad takes the visitor. Leave blank for no link.
Internal note
Size variants
Add one entry per screen size. The live page shows the best-fitting variant.
Creative sizes
Add size variant
Save ad
Clear
All Ads
= count($all_ads) ?> ad= count($all_ads) !== 1 ? 's' : '' ?>
No ads yet — create one above.
= htmlspecialchars($ad['title'] ?? 'Untitled') ?>
= htmlspecialchars($ad['note']) ?>
Edit
Delete
= htmlspecialchars($pl_label) ?>
= $is_active ? 'Active' : 'Paused' ?>
0): ?>
= $size_count ?> size= $size_count !== 1 ? 's' : '' ?>
onchange="toggleActive('= htmlspecialchars($ad['id']) ?>', this.checked)">
Active
= htmlspecialchars($sz_label) ?>
Title
Placement
$label): ?>
> = htmlspecialchars($label) ?>
Click-through URL
Internal note
Size variants
Creative sizes
$s): ?>
Variant = $si + 1 ?>
✕ Remove
Size preset
> = htmlspecialchars($sz['label']) ?>
Media type
>Image
>Video
Media URL (image or video)
Paste a full URL. For local files: /media/filename.jpg
Custom width (px)
Custom height (px)
Add size variant
Save changes
Cancel