This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/commentview.php
2005-01-29 00:47:36 +00:00

27 lines
780 B
PHP

<?php
/************************************************************/
/* view comments */
/* */
/* script expects appId, versionId and threadId as argument */
/************************************************************/
/*
* application environment
*/
include("path.php");
include(BASE."include/"."incl.php");
require(BASE."include/"."comments.php");
apidb_header("Comments");
if(!is_numeric($_REQUEST['appId']) OR !is_numeric($_REQUEST['versionId']) OR (isset($_REQUEST['threadId']) AND !is_numeric($_REQUEST['threadId'])))
{
errorpage("Wrong IDs");
exit;
}
view_app_comments($_REQUEST['appId'], $_REQUEST['versionId'], $_REQUEST['threadId']);
apidb_footer();
?>