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
|
|
|
|
|
|
|
|
apidb_header("Wine Application Database");
|
|
|
|
|
?>
|
2004-12-15 00:14:04 +00:00
|
|
|
<img src="images/appdb_montage.jpg" width=391 height=266 align=right 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>
|
|
|
|
|
|
2005-02-11 01:35:39 +00:00
|
|
|
<p>This is the Wine Application Database (AppDB). From here you get info on application
|
2005-05-14 14:47:13 +00:00
|
|
|
compatibility with Wine.</p>
|
2004-12-25 19:45:14 +00:00
|
|
|
<?php
|
|
|
|
|
$str_benefits="
|
|
|
|
|
<ul>
|
2006-12-02 05:12:43 +00:00
|
|
|
<li>Ability to <a href=\"".BASE."help/?sTopic=voting\" title=\"help on voting\" style=\"cursor: help\">vote</a> on your favourite applications</li>
|
2005-02-11 01:35:39 +00:00
|
|
|
<li>Ability to customize the layout and behaviour of the AppDB and comments system</li>
|
2005-02-11 23:42:50 +00:00
|
|
|
<li>Take credit for your witty posts</li>
|
2006-07-06 17:27:54 +00:00
|
|
|
<li>Ability to sign up to be an <a href=\"".BASE."help/?sTopic=maintainer_guidelines\" title=\"informations about application maintainers\" style=\"cursor: help\">application maintainer</a>.</li>
|
2004-12-25 19:45:14 +00:00
|
|
|
<li>Submit new applications and versions.</li>
|
2005-02-11 01:35:39 +00: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 "
|
2006-12-02 05:12:43 +00:00
|
|
|
<p>Most of the features of the Application Database 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
|
|
|
|
2007-04-17 23:30:51 +00:00
|
|
|
<p>So what are you waiting for, [<a href=\"account.php?sCmd=login\">log in</a>]
|
|
|
|
|
or [<a href=\"account.php?sCmd=new\">register</a>] now! Your help in
|
2004-12-25 19:45:14 +00:00
|
|
|
stomping out Wine issues will be greatly appreciated.</p>";
|
|
|
|
|
} else
|
|
|
|
|
{
|
|
|
|
|
echo "
|
2006-12-02 05:12:43 +00:00
|
|
|
<p>As an Application Database 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
|
2004-12-25 19:45:14 +00:00
|
|
|
stomping out Wine issues will be greatly appreciated.</p>";
|
2004-12-12 03:51:51 +00:00
|
|
|
|
2004-12-25 19:45:14 +00:00
|
|
|
}
|
|
|
|
|
?>
|
2004-12-12 03:51:51 +00:00
|
|
|
<p>
|
2006-12-02 05:12:43 +00:00
|
|
|
If you have screenshots or links to contribute, please browse the database and use the AppDB interface to send us your contributions (any member can send screenshots; if you want to send how-to's or other information, you can either enroll to be a maintainer or post this information as a comment for the application of interest).
|
2004-12-12 03:51:51 +00:00
|
|
|
</p>
|
|
|
|
|
<?php
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2007-04-05 02:27:31 +00:00
|
|
|
$iNumApps = version::objectGetEntriesCount(false, false);
|
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);
|
2006-06-21 01:04:12 +00:00
|
|
|
$oRow = mysql_fetch_object($hResult);
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2007-04-05 02:27:31 +00:00
|
|
|
echo "There are <b>$iNumApps</b> applications currently in the database";
|
|
|
|
|
|
2006-07-06 18:37:34 +00:00
|
|
|
// don't mention the top application if there are no votes yet
|
2007-04-03 02:08:44 +00:00
|
|
|
if($oRow->versionId)
|
2005-05-12 23:49:30 +00:00
|
|
|
{
|
2007-04-04 00:31:57 +00:00
|
|
|
$shVoteAppLink = version::fullNameLink($oRow->versionId);
|
2007-04-05 02:27:31 +00:00
|
|
|
echo " with $shVoteAppLink being the\n";
|
2005-05-12 23:49:30 +00:00
|
|
|
echo "top <a href='votestats.php'>voted</a> application.\n";
|
|
|
|
|
} else
|
|
|
|
|
{
|
2007-04-05 02:27:31 +00:00
|
|
|
echo " please <a href=\"".BASE."help/?sTopic=voting\" title=\"help on voting\"".
|
|
|
|
|
"style=\"cursor: help\">vote</a> for your favourite application.\n";
|
2005-05-12 23:49:30 +00:00
|
|
|
}
|
2004-12-12 22:36:31 +00:00
|
|
|
?>
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2004-12-12 22:36:31 +00:00
|
|
|
<br /><br />
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2005-01-29 17:10:52 +00:00
|
|
|
<h2>Top Voted Applications</h2>
|
2004-10-06 15:09:19 +00:00
|
|
|
|
2006-12-02 05:12:43 +00:00
|
|
|
<p>This is a list of applications that are known to be working well and for which many users have voted.</p>
|
2004-10-06 15:09:19 +00:00
|
|
|
|
2006-12-02 05:12:43 +00:00
|
|
|
<h3>The Top-10 <a href="browse_by_rating.php?sRating=Platinum">Platinum</a> List</h3>
|
|
|
|
|
<p>Only applications which install and run flawlessly on an out-of-the-box Wine installation make it to the Platinum list.</p>
|
2006-02-08 03:19:40 +00:00
|
|
|
<table class="platinum">
|
|
|
|
|
<tr class="rowtitle">
|
|
|
|
|
<th>Application</th><th>Description</th><th>Screenshot</th>
|
|
|
|
|
</tr>
|
|
|
|
|
<?php
|
|
|
|
|
outputTopXRowAppsFromRating('Platinum', 10);
|
|
|
|
|
?>
|
|
|
|
|
</table>
|
|
|
|
|
<br />
|
|
|
|
|
|
2006-12-02 05:12:43 +00:00
|
|
|
<h3>The Top-10 <a href="browse_by_rating.php?sRating=Gold">Gold</a> List</h3>
|
|
|
|
|
<p>Applications that work flawlessly with some DLL overrides or other settings, crack etc. make it to the Gold list.</p>
|
2005-01-29 17:10:52 +00:00
|
|
|
<table class="gold">
|
|
|
|
|
<tr class="rowtitle">
|
2005-01-29 22:54:02 +00:00
|
|
|
<th>Application</th><th>Description</th><th>Screenshot</th>
|
2004-10-06 15:09:19 +00:00
|
|
|
</tr>
|
2004-12-12 03:51:51 +00:00
|
|
|
<?php
|
2005-05-12 23:49:30 +00:00
|
|
|
outputTopXRowAppsFromRating('Gold', 10);
|
2004-11-09 22:33:11 +00:00
|
|
|
?>
|
2004-10-06 15:09:19 +00:00
|
|
|
</table>
|
2004-12-12 22:36:31 +00:00
|
|
|
<br />
|
2006-02-08 03:19:40 +00:00
|
|
|
|
2006-12-02 05:12:43 +00:00
|
|
|
<h3>The Top-10 <a href="browse_by_rating.php?sRating=Silver">Silver List</a></h3>
|
|
|
|
|
<p>The Silver list contains apps which we hope we can easily fix so they make it to Gold status.</p>
|
2004-12-11 03:52:57 +00:00
|
|
|
<table class=silver>
|
|
|
|
|
<tr class=rowtitle>
|
2005-01-29 22:54:02 +00:00
|
|
|
<th>Application</th><th>Description</th><th>Screenshot</th>
|
2004-12-11 03:52:57 +00:00
|
|
|
</tr>
|
2004-12-12 03:51:51 +00:00
|
|
|
<?php
|
2005-05-12 23:49:30 +00:00
|
|
|
outputTopXRowAppsFromRating('Silver', 10);
|
2004-11-09 22:33:11 +00:00
|
|
|
?>
|
2004-12-11 03:52:57 +00:00
|
|
|
</table>
|
|
|
|
|
|
2004-12-12 22:36:31 +00:00
|
|
|
<br /><br />
|
2004-10-06 15:09:19 +00:00
|
|
|
|
2004-12-11 03:52:57 +00:00
|
|
|
<h2>Other Wine Application Compatibility Sites</h2>
|
2004-10-06 15:09:19 +00:00
|
|
|
<p>
|
|
|
|
|
<a href="http://frankscorner.org"><b>Frank's Corner</b></a>: Frank has a fantastic Wine
|
2006-12-02 05:12:43 +00:00
|
|
|
application site, with tips and how-to's on getting listed apps to run.
|
2004-10-06 15:09:19 +00:00
|
|
|
</p>
|
2007-05-02 01:08:22 +00:00
|
|
|
</div>
|
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
|
|
|
?>
|