Пример #1
0
if (strlen($country) == 0) {
    $country = "US";
}
// Download the most recent reviews
$_APPSTORE = new APPSTORE($appID, $country);
$arrReviews = $_APPSTORE->reviewsForPage(0);
$appName = $_APPSTORE->appName();
$appIcon = $_APPSTORE->appIcon();
$appDeveloper = $_APPSTORE->appDeveloper();
$appTotalStars = $_APPSTORE->appTotalStars();
$appTotalRatings = $_APPSTORE->appTotalRatings();
$appCurrentStars = $_APPSTORE->appCurrentStars();
$appCurrentRatings = $_APPSTORE->appCurrentRatings();
$appCategoryName = $_APPSTORE->appCategoryName();
$appCategoryID = $_APPSTORE->appCategoryID();
$appRankCategory = $_APPSTORE->appRankCategory();
$appRankCategoryGrossing = $_APPSTORE->appRankCategoryGrossing();
$appName = htmlentities($appName);
$appDeveloper = htmlentities($appDeveloper);
?>
<HTML>
	<HEAD>
		<TITLE><?php 
echo $appName;
?>
</TITLE>
		<meta name="viewport" content="user-scalable=0, initial-scale=1.0" />
		<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
		<meta name="apple-mobile-web-app-capable" content="yes">
		<STYLE media="screen" type="text/css">