id) { Error::add('general', T_('Invalid Object Selected')); Error::display('general'); break; } $object->format(); if (strtolower(get_class($object)) == 'song') { $data = $_REQUEST['offset']; } // Now go ahead and display the page where we let them add a comment etc require_once AmpConfig::get('prefix') . '/templates/show_add_shout.inc.php'; break; default: header("Location:" . AmpConfig::get('web_path')); break; } // end switch on action UI::show_footer();