<?php
include 'rb-include.php';

rb_header(true);

$r = pg_exec($db, "select id from available where owner='$uid'");
if (pg_numrows($r) == 0) {
	header('Location: http://gnomoradio.org/artists/rb/rb-enter-locations.php');
} else {
	header('Location: http://gnomoradio.org/artists/rb/rb-main.php');
}
pg_freeresult($r);

?>
