diff --git a/include/application.php b/include/application.php index 53a6423..61ad687 100644 --- a/include/application.php +++ b/include/application.php @@ -631,22 +631,13 @@ class Application { echo " URL".$appLinkURL."\n"; // optional links - $result = query_parameters("SELECT * FROM appData WHERE appId = '?' AND versionID = 0 AND type = 'url'", - $this->iAppId); - if($result && mysql_num_rows($result) > 0) - { - echo " Links\n"; - while($oRow = mysql_fetch_object($result)) - { - echo " ".substr(stripslashes($oRow->description),0,30)."
\n"; - } - echo " \n"; - } + if($sUrls = url::display(NULL, $this->iAppId)) + echo $sUrls; // image $img = Screenshot::get_random_screenshot_img($this->iAppId, null, false); echo "$img\n"; - + echo " \n"; /* close of name/vendor/bugs/url table */ echo " \n";