%@LANGUAGE="VBSCRIPT"%> <% '===================================================== '| | '| Run Time Dependencies | '| | '===================================================== %> <% Option explicit ' Good idea to set when using redirect Response.Expires = 0 ' always load the page, dont store %> <% '------------ ACCESS CONTROL ------------------ %> <% '------------ Variable Definition ------------- Dim rsTemp Dim rsQry Dim criticalSectionIsEditable Dim canEdit '------------ Constants Declaration ----------- '------------ Variable Init ------------------- criticalSectionIsEditable = Is_Critical_Section_Editable ( pkgInfoHash.Item ("dlocked") ) canEdit = pkgInfoHash.Item("dlocked") = "N" OR (pkgInfoHash.Item("dlocked") = "R") OR criticalSectionIsEditable '---------------------------------------------- Function Get_Runtime_Dependencies ( NNpv_id ) Get_Runtime_Dependencies = _ " SELECT rtd.rtd_id, pkg.pkg_name, pv.pkg_version, rtd.rtd_comments, rtd.rtd_url, "&_ " rtd.mod_date, usr.full_name, usr.user_email"&_ " FROM packages pkg, package_versions pv, runtime_dependencies rtd, users usr"&_ " WHERE pv.pkg_id = pkg.pkg_id"&_ " AND rtd.rtd_id = pv.pv_id"&_ " AND rtd.mod_user = usr.user_id"&_ " AND rtd.pv_id = "& NNpv_id &_ " ORDER BY UPPER(pkg.pkg_name) " End Function %> <% '------------------------- MAIN LINE --------------------------- %>