2004-12-12 03:51:51 +00:00
|
|
|
<?php
|
2006-07-06 18:37:34 +00:00
|
|
|
/**
|
|
|
|
|
* Application database index page.
|
|
|
|
|
*
|
|
|
|
|
* TODO:
|
|
|
|
|
* - rename outputTopXRowAppsFromRating according to our coding standards
|
|
|
|
|
* - rename variables that don't follow our coding standards
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// application environment
|
2006-07-07 18:14:53 +00:00
|
|
|
require("path.php");
|
2005-01-29 17:10:52 +00:00
|
|
|
require(BASE."include/incl.php");
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2014-09-04 05:25:31 +01:00
|
|
|
apidb_header("QEMU Official OS Support List");
|
2004-03-15 16:22:00 +00:00
|
|
|
?>
|
2014-09-04 05:25:31 +01:00
|
|
|
<!-- <img style="float:right;" src="images/appdb_montage.jpg" width=391 height=266 alt="Wine AppDB"> --!>
|
2007-05-02 01:08:22 +00:00
|
|
|
|
|
|
|
|
<div class='default_container'>
|
2004-12-12 03:51:51 +00:00
|
|
|
<h1>Welcome</h1>
|
|
|
|
|
|
2014-09-04 05:25:31 +01:00
|
|
|
<p>This is the QEMU Official OS Support List. Here you can get information on operating system
|
|
|
|
|
compatibility with QEMU.</p>
|
2014-09-04 05:38:20 +01:00
|
|
|
<p>You can check the version 2.0<a href="http://www.claunia.com/qemu/old/index.php">here</a>.</p>
|
2004-12-25 19:45:14 +00:00
|
|
|
<?php
|
|
|
|
|
$str_benefits="
|
|
|
|
|
<ul>
|
2014-09-04 05:25:31 +01:00
|
|
|
<li>Ability to <a href=\"".BASE."help/?sTopic=voting\" title=\"help on voting\" style=\"cursor: help\">vote</a> on your favorite operating systems</li>
|
|
|
|
|
<li>Ability to customize the layout and behavior of the OS List and comments system</li>
|
2005-02-11 23:42:50 +00:00
|
|
|
<li>Take credit for your witty posts</li>
|
2014-09-04 05:25:31 +01:00
|
|
|
<li>Submit new operating systems and versions</li>
|
2008-06-29 16:44:46 +02:00
|
|
|
<li>Submit new screenshots</li>
|
2004-12-25 19:45:14 +00:00
|
|
|
</ul>
|
|
|
|
|
";
|
2005-01-30 23:12:48 +00:00
|
|
|
if(!$_SESSION['current']->isLoggedIn())
|
2004-12-25 19:45:14 +00:00
|
|
|
{
|
|
|
|
|
echo "
|
2014-09-04 05:25:31 +01:00
|
|
|
<p>Most of the features of the Official OS Support List require that you have a user account and
|
2004-12-25 19:45:14 +00:00
|
|
|
are logged in. Some of the benefits of membership are:<p>
|
|
|
|
|
|
|
|
|
|
$str_benefits
|
2004-12-12 03:51:51 +00:00
|
|
|
|
2008-06-29 16:44:46 +02:00
|
|
|
<p>So, what are you waiting for? [<a href=\"".login_url()."\">Log in</a>]
|
2007-04-17 23:30:51 +00:00
|
|
|
or [<a href=\"account.php?sCmd=new\">register</a>] now! Your help in
|
2014-09-04 05:25:31 +01:00
|
|
|
stomping out QEMU issues will be greatly appreciated.</p>";
|
2004-12-25 19:45:14 +00:00
|
|
|
} else
|
|
|
|
|
{
|
|
|
|
|
echo "
|
2014-09-04 05:25:31 +01:00
|
|
|
<p>As an Official OS Support List member you enjoy some exclusive benefits like:<p>
|
2004-12-12 03:51:51 +00:00
|
|
|
|
2004-12-25 19:45:14 +00:00
|
|
|
$str_benefits
|
2004-12-12 03:51:51 +00:00
|
|
|
|
2006-12-02 05:12:43 +00:00
|
|
|
<p>We’d like to thank you for being a member and being logged in to the system. Your help in
|
2014-09-04 05:25:31 +01:00
|
|
|
stomping out QEMU issues will be greatly appreciated.</p>";
|
2004-12-12 03:51:51 +00:00
|
|
|
|
2004-12-25 19:45:14 +00:00
|
|
|
}
|
2007-08-09 02:12:32 +00:00
|
|
|
|
2004-12-25 19:45:14 +00:00
|
|
|
?>
|
2004-12-12 03:51:51 +00:00
|
|
|
<?php
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2008-01-27 18:01:11 +01:00
|
|
|
$iNumApps = version::objectGetEntriesCount('accepted');
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2007-01-21 18:06:53 +00:00
|
|
|
$voteQuery = "SELECT appVotes.versionId, count(userId) as count ".
|
|
|
|
|
"FROM appVotes ".
|
|
|
|
|
"GROUP BY versionId ORDER BY count DESC LIMIT 1";
|
2006-06-27 19:16:27 +00:00
|
|
|
$hResult = query_parameters($voteQuery);
|
2007-08-03 23:27:25 +00:00
|
|
|
$oRow = query_fetch_object($hResult);
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2014-09-04 05:25:31 +01:00
|
|
|
echo "There are <b>$iNumApps</b> operating systems currently in the database,";
|
2007-04-05 02:27:31 +00:00
|
|
|
|
2006-07-06 18:37:34 +00:00
|
|
|
// don't mention the top application if there are no votes yet
|
2007-07-24 01:45:19 +00:00
|
|
|
if( !empty($oRow) )
|
2005-05-12 23:49:30 +00:00
|
|
|
{
|
2007-07-24 01:45:19 +00:00
|
|
|
if($oRow->versionId)
|
|
|
|
|
{
|
|
|
|
|
$shVoteAppLink = version::fullNameLink($oRow->versionId);
|
|
|
|
|
echo " with $shVoteAppLink being the\n";
|
2014-09-04 05:25:31 +01:00
|
|
|
echo "top <a href='votestats.php'>voted</a> operating system.\n";
|
2007-07-24 01:45:19 +00:00
|
|
|
} else
|
|
|
|
|
{
|
|
|
|
|
echo " please <a href=\"".BASE."help/?sTopic=voting\" title=\"help on voting\"".
|
2014-09-04 05:25:31 +01:00
|
|
|
"style=\"cursor: help\">vote</a> for your favourite operating system.\n";
|
2007-07-24 01:45:19 +00:00
|
|
|
}
|
2005-05-12 23:49:30 +00:00
|
|
|
}
|
2004-12-12 22:36:31 +00:00
|
|
|
?>
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2008-02-23 12:06:24 +11:00
|
|
|
<br><br>
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2007-07-11 04:17:02 +00:00
|
|
|
<div class="topx_style platinum">
|
|
|
|
|
<div class="rating_header">
|
|
|
|
|
<div class="rating_title">
|
2014-09-04 05:36:09 +01:00
|
|
|
Top-10 <a href="objectManager.php?sClass=application&sTitle=Browse+OSes&iappVersion-ratingOp0=5&sappVersion-ratingData0=Platinum&sOrderBy=appName&bAscending=true">Platinum</a> List
|
2007-07-11 04:17:02 +00:00
|
|
|
</div>
|
2014-09-04 05:25:31 +01:00
|
|
|
Operating systems which install and run flawlessly on QEMU with any hardware combination tested.
|
2007-07-11 04:17:02 +00:00
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<table class="platinum">
|
|
|
|
|
<tr class="rowtitle">
|
2014-09-04 05:25:31 +01:00
|
|
|
<th>Operating System</th><th>Description</th><th>Screenshot</th>
|
2007-07-11 04:17:02 +00:00
|
|
|
</tr>
|
|
|
|
|
<?php
|
|
|
|
|
outputTopXRowAppsFromRating('Platinum', 10);
|
|
|
|
|
?>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2008-02-23 12:06:24 +11:00
|
|
|
<br>
|
2006-02-08 03:19:40 +00:00
|
|
|
|
2007-07-11 04:17:02 +00:00
|
|
|
<div class="topx_style gold">
|
|
|
|
|
<div class="rating_header">
|
|
|
|
|
<div class="rating_title">
|
2014-09-04 05:36:09 +01:00
|
|
|
Top-10 <a href="objectManager.php?sClass=application&sTitle=Browse+OSes&iappVersion-ratingOp0=5&sappVersion-ratingData0=Gold&sOrderBy=appName&bAscending=true">Gold</a> List
|
2007-07-11 04:17:02 +00:00
|
|
|
</div>
|
2014-09-04 05:25:31 +01:00
|
|
|
Operating systems that work flawlessly with some special configuration
|
2007-07-11 04:17:02 +00:00
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<table class="gold">
|
|
|
|
|
<tr class="rowtitle">
|
2014-09-04 05:25:31 +01:00
|
|
|
<th>Operating System</th><th>Description</th><th>Screenshot</th>
|
2007-07-11 04:17:02 +00:00
|
|
|
</tr>
|
|
|
|
|
<?php
|
|
|
|
|
outputTopXRowAppsFromRating('Gold', 10);
|
|
|
|
|
?>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2008-02-23 12:06:24 +11:00
|
|
|
<br>
|
2006-02-08 03:19:40 +00:00
|
|
|
|
2007-07-11 04:17:02 +00:00
|
|
|
<div class="topx_style silver">
|
|
|
|
|
<div class="rating_header">
|
|
|
|
|
<div class="rating_title">
|
2014-09-04 05:36:09 +01:00
|
|
|
Top-10 <a href="objectManager.php?sClass=application&sTitle=Browse+OSes&iappVersion-ratingOp0=5&sappVersion-ratingData0=Silver&sOrderBy=appName&bAscending=true">Silver</a> List
|
2007-07-11 04:17:02 +00:00
|
|
|
</div>
|
2014-09-04 05:25:31 +01:00
|
|
|
Operating systems with minor issues that do not affect typical usage
|
2007-07-11 04:17:02 +00:00
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<table class="silver">
|
|
|
|
|
<tr class="rowtitle">
|
2014-09-04 05:25:31 +01:00
|
|
|
<th>Operating System</th><th>Description</th><th>Screenshot</th>
|
2007-07-11 04:17:02 +00:00
|
|
|
</tr>
|
|
|
|
|
<?php
|
|
|
|
|
outputTopXRowAppsFromRating('Silver', 10);
|
|
|
|
|
?>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2004-12-11 03:52:57 +00:00
|
|
|
|
2008-02-23 12:06:24 +11:00
|
|
|
<br><br>
|
2004-10-06 15:09:19 +00:00
|
|
|
|
2004-12-12 03:51:51 +00:00
|
|
|
<?php
|
2004-10-06 15:09:19 +00:00
|
|
|
apidb_footer();
|
2004-03-15 16:22:00 +00:00
|
|
|
?>
|