require_once('site_core.php');
require_once('site_forms.php');
require_once('site_db.php');
// Set the title of the page
$title = "Show Aside";
echo_head($title);
echo '
'.$title.'
';
$aid = $_POST['aid'];
if ($aid == '') {
echo '
';
}
else {
$sql = "SELECT title, content, color FROM asides WHERE asideid='$aid'";
$result = run_query($sql);
$aside = $result->fetch_assoc();
echo '
';
}
echo '