Example #1
0
    $id = $_GET['id'];
} else {
    $id = 'com.Slack';
}
function display($id, $type)
{
    $db = new Database();
    $res = $db->query($id, $type);
    foreach ($res as $r) {
        echo "<ul>";
        echo "<li> {$r['comment']} </li>";
        echo "</ul>";
    }
}
$senti = $db->senti($id);
$profile = $db->profile($id);
$profile = $profile[0];
$main_app_name = $id;
$main_app_build = "";
$main_app_avg_rating = $profile['average_rating'];
$main_app_last_update_at = $profile['last_update'];
?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">

 <!-- Material Design fonts -->
  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">