<?php
if (is_numeric($_GET['id'])) {
$row = dbRow("SELECT * FROM `content` WHERE `record_num` = '" . (int) $_GET['id'] . "'", true);
$ads = getAds($row['paysite']);
if (is_array($row)) {
$_template_header = null;
$_template_content = "embed";
$_template_footer = null;
} else {
exit(_t("Invalid Video ID"));
}
} else {
exit(_t("Invalid Video ID"));
}
?>