- links from the index page to help on voting and maintainers - removed two remaining mentions of the old rating system
164 lines
5.7 KiB
PHP
164 lines
5.7 KiB
PHP
<?php
|
|
/***********************************/
|
|
/* application database index page */
|
|
/***********************************/
|
|
|
|
/*
|
|
* application environment
|
|
*/
|
|
include("path.php");
|
|
require(BASE."include/incl.php");
|
|
require(BASE."include/application.php");
|
|
require(BASE."include/screenshot.php");
|
|
|
|
apidb_header("Wine Application Database");
|
|
|
|
?>
|
|
|
|
<img src="images/appdb_montage.jpg" width=391 height=266 align=right alt="Wine AppDB">
|
|
|
|
<h1>Welcome</h1>
|
|
|
|
<p>This is the Wine Application Database (AppDB). From here you get info on application
|
|
compatibility with Wine. For developers, you can get information on the APIs used in an
|
|
application.</p>
|
|
<?php
|
|
$str_benefits="
|
|
<ul>
|
|
<li>Ability to <a href=\"".BASE."help/?topic=voting\" title=\"help on voting\">Vote</a> on Favorite Applications</li>
|
|
<li>Ability to customize the layout and behaviour of the AppDB and comments system</li>
|
|
<li>Take Credit for your witty posts</li>
|
|
<li>Ability to sign up to be an <a href=\"".BASE."help/?topic=maintainer_guidelines\" title=\"informations about application maintainers\">application maintainer</a>.</li>
|
|
<li>Submit new applications and versions.</li>
|
|
<li>Submit new screenshots.</li>
|
|
</ul>
|
|
";
|
|
if(!$_SESSION['current']->isLoggedIn())
|
|
{
|
|
echo "
|
|
<p>Most of the features of the Application database require that you have a user account and
|
|
are logged in. Some of the benefits of membership are:<p>
|
|
|
|
$str_benefits
|
|
|
|
<p>So what are you waiting for, [<a href=\"account.php?cmd=login\">login now</a>]. Your help in
|
|
stomping out Wine issues will be greatly appreciated.</p>";
|
|
} else
|
|
{
|
|
echo "
|
|
<p>As an Application database member you enjoy some exclusive benefits like:<p>
|
|
|
|
$str_benefits
|
|
|
|
<p>We'd like to thank your for being a member and being logged in the system. Your help in
|
|
stomping out Wine issues will be greatly appreciated.</p>";
|
|
|
|
}
|
|
?>
|
|
<p>
|
|
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 informations you can either enroll to be a maintainer or post this information as a comment for the application of interest).
|
|
</p>
|
|
<?php
|
|
|
|
$numApps = getNumberOfVersions();
|
|
|
|
$voteQuery = "SELECT appVotes.appId, appName, count(userId) as count ".
|
|
"FROM appVotes, appFamily ".
|
|
"WHERE appVotes.appId = appFamily.appId ".
|
|
"GROUP BY appId ORDER BY count DESC LIMIT 1";
|
|
$result = query_appdb($voteQuery);
|
|
$ob = mysql_fetch_object($result);
|
|
|
|
$voteAppId = $ob->appId;
|
|
$voteAppName = $ob->appName;
|
|
|
|
|
|
echo "There are <b>$numApps</b> applications currently in the database with\n";
|
|
echo "<a href='appview.php?appId=$voteAppId'>$voteAppName</a> being the\n";
|
|
echo "top <a href='votestats.php'>voted</a> application.\n";
|
|
?>
|
|
|
|
<br /><br />
|
|
|
|
<h2>Top Voted Applications</h2>
|
|
|
|
<p>This is a list of applications that are known to be working well and for which many AppDB users voted.</p>
|
|
|
|
<h3>The top-10 Gold List</h3>
|
|
<p>Applications which install and run virtually flawless on a out-of-the-box Wine installation make it to the Gold list: </p>
|
|
<table class="gold">
|
|
<tr class="rowtitle">
|
|
<th>Application</th><th>Description</th><th>Screenshot</th>
|
|
</tr>
|
|
<?php
|
|
$sQuery = "SELECT appVotes.appId AS appId, COUNT( appVotes.appId ) AS c
|
|
FROM appVotes, appVersion
|
|
WHERE appVersion.maintainer_rating = 'Gold'
|
|
AND appVersion.appId = appVotes.appId
|
|
GROUP BY appVotes.appId
|
|
ORDER BY c DESC
|
|
LIMIT 10";
|
|
$hResult = query_appdb($sQuery);
|
|
while($oRow = mysql_fetch_object($hResult))
|
|
{
|
|
$oApp = new Application($oRow->appId);
|
|
// image
|
|
$img = get_screenshot_img($oRow->appId);
|
|
echo '
|
|
<tr class="white">
|
|
<td><a href="appview.php?appId='.$oRow->appId.'">'.$oApp->sName.'</a></td>
|
|
<td>'.trim_description($oApp->sDescription).'</td>
|
|
<td>'.$img.'</td>
|
|
</tr>';
|
|
}
|
|
?>
|
|
</table>
|
|
<br />
|
|
<h3>The top-10 Silver List</h3>
|
|
<p>The Silver list contains apps which we hope we can easily fix so they make it to Gold status:</p>
|
|
<table class=silver>
|
|
<tr class=rowtitle>
|
|
<th>Application</th><th>Description</th><th>Screenshot</th>
|
|
</tr>
|
|
<?php
|
|
$sQuery = "SELECT appVotes.appId AS appId, COUNT( appVotes.appId ) AS c
|
|
FROM appVotes, appVersion
|
|
WHERE appVersion.maintainer_rating = 'Silver'
|
|
AND appVersion.appId = appVotes.appId
|
|
GROUP BY appVotes.appId
|
|
ORDER BY c DESC
|
|
LIMIT 10";
|
|
$hResult = query_appdb($sQuery);
|
|
while($oRow = mysql_fetch_object($hResult))
|
|
{
|
|
$oApp = new Application($oRow->appId);
|
|
// image
|
|
$img = get_screenshot_img($oRow->appId);
|
|
echo '
|
|
<tr class="white">
|
|
<td><a href="appview.php?appId='.$oRow->appId.'">'.$oApp->sName.'</a></td>
|
|
<td>'.trim_description($oApp->sDescription).'</td>
|
|
<td>'.$img.'</td>
|
|
</tr>';
|
|
}
|
|
?>
|
|
</table>
|
|
|
|
<br /><br />
|
|
|
|
<h2>Other Wine Application Compatibility Sites</h2>
|
|
<p>
|
|
<a href="http://frankscorner.org"><b>Frank's Corner</b></a>: Frank has a fantastic Wine
|
|
application site. The site contains tips and howtos on getting listed apps to run.
|
|
</p>
|
|
<p>
|
|
<a href="http://sidenet.ddo.jp/winetips/config.html"><b>Sidenet Wine configuration utility</b></a>: Installs Internet Explorer 6 and Windows Media Player 7 automatically (works also with MSN Messenger and RealPlayer).
|
|
</p>
|
|
<a href="http://www.von-thadden.de/Joachim/WineTools/"><b>WineTools</b></a>: WineTools is an menu driven installer for installing Windows programs under Wine (DCOM98, IE6, Windows Core Fonts, Windows System Software, Office & Office Viewer, Adobe Photoshop 7, Illustrator 9, Acrobat Reader 5.1, ...).
|
|
</p>
|
|
<p> </p>
|
|
|
|
<?php
|
|
apidb_footer();
|
|
?>
|