2004-12-12 03:51:51 +00:00
< ? php
/***********************************/
2004-12-25 20:08:00 +00:00
/* application database index page */
2004-12-12 03:51:51 +00:00
/***********************************/
2004-12-12 22:36:31 +00:00
2004-12-25 20:08:00 +00:00
/*
2004-12-27 23:54:55 +00:00
* application environment
2004-12-25 20:08:00 +00:00
*/
2004-03-15 16:22:00 +00:00
include ( " path.php " );
2005-01-29 17:10:52 +00:00
require ( BASE . " include/incl.php " );
require ( BASE . " include/application.php " );
require ( BASE . " include/screenshot.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 " >
2004-03-15 16:22:00 +00:00
2004-12-12 03:51:51 +00:00
< h1 > Welcome </ h1 >
< p > This is the Wine Application Database . From here you get info on application
compatibility with Wine . For developers , you can get information on the APIs used in an
application .</ p >
2004-12-25 19:45:14 +00:00
< ? php
$str_benefits = "
< ul >
< li > Ability to Vote on Favorite Applications </ li >
< li > Access to the Application Rating System . Rate the apps that \ " Don't Suck \" </li>
< li > Ability to customize the View of the Apps DB and Comment System </ li >
< li > Take Credit for your witty posts </ li >
< li > Ability to sign up to be an application maintainer .</ li >
< li > Submit new applications and versions .</ li >
</ ul >
" ;
if ( ! loggedin ())
{
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
2004-12-12 03:51:51 +00:00
2004-12-25 19:45:14 +00:00
< 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 >
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
2004-12-25 19:45:14 +00:00
< 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 > " ;
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 >
2004-12-18 06:06:46 +00:00
If you have screenshots or links to contribute , please browse the database and use the AppDB interface to send us your contributions .
</ p >
2004-12-25 19:45:14 +00:00
< ? php
# FIXME: This is too "wine-specific" and must be replaced.
# (for example user could submit how-to's, etc using a form and an admin or app maintainer
# could accept or reject the how-to in the same way we are now handling screenshots.)
?>
2004-12-18 06:06:46 +00:00
< p >
2004-12-25 19:45:14 +00:00
If you have anything else to contribute ( howtos , etc . ), enroll to be an application maintainer or contact us at :
2004-12-12 22:36:31 +00:00
< a href = " mailto:appdb@winehq.org " > appdb @ winehq . org </ a >< br />
2004-12-12 03:51:51 +00:00
Note that this address is not for end - user support , for end user support please contact the
wine - users mailing list or the wine newsgroup , for more information visit
< a href = " http://www.winehq.com/site/forums " > this page </ a >
</ p >
< ? php
2004-03-15 16:22:00 +00:00
2004-12-01 22:26:50 +00:00
$numApps = getNumberOfVersions ();
2004-03-15 16:22:00 +00:00
$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 " ;
2004-12-29 03:37:58 +00:00
$result = query_appdb ( $voteQuery );
2004-03-15 16:22:00 +00:00
$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 " ;
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
2005-01-29 17:10:52 +00:00
< p > This is a list of applications that are known to be working well and for which many AppDB users voted .</ p >
2004-10-06 15:09:19 +00:00
2005-01-29 17:10:52 +00:00
< 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 > Version </ 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-01-29 17:16:15 +00:00
$sQuery = " SELECT appVotes.appId AS appId, COUNT(appVotes.appId) AS c, appVersion.versionId AS versionId FROM appVotes, appVersion WHERE appVotes.appId = appVersion.appId AND appVersion.maintainer_rating = 'Gold' GROUP BY appVotes.appId ORDER BY c DESC, versionId DESC LIMIT 10 " ;
2005-01-29 17:10:52 +00:00
$hResult = query_appdb ( $sQuery );
while ( $oRow = mysql_fetch_object ( $hResult ))
{
$oApp = new Application ( $oRow -> appId );
$oVersion = $oApp -> getAppVersion ( $oRow -> versionId );
// image
$img = get_screenshot_img ( $oRow -> appId , $oRow -> versionId );
echo '
< tr class = " white " >
< td >< a href = " appview.php?appId='. $oRow->appId .'&versionId='. $oRow->versionId .' " > '.$oApp->data->appName.' </ a ></ td >
< td > '.$oVersion->versionName.' </ td >
< td > '.trim(substr($oApp->data->description,0,88)).' ...</ td >
< td > '.$img.' </ td >
</ tr > ' ;
}
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 />
2005-01-29 17:10:52 +00:00
< 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 >
2004-12-11 03:52:57 +00:00
< table class = silver >
< tr class = rowtitle >
2005-01-29 17:10:52 +00:00
< th > Application </ th >< th > Version </ 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-01-29 17:16:15 +00:00
$sQuery = " SELECT appVotes.appId AS appId, COUNT(appVotes.appId) AS c, appVersion.versionId AS versionId FROM appVotes, appVersion WHERE appVotes.appId = appVersion.appId AND appVersion.maintainer_rating = 'Silver' GROUP BY appVotes.appId ORDER BY c DESC, versionId DESC LIMIT 10 " ;
2005-01-29 17:10:52 +00:00
$hResult = query_appdb ( $sQuery );
while ( $oRow = mysql_fetch_object ( $hResult ))
{
$oApp = new Application ( $oRow -> appId );
$oVersion = $oApp -> getAppVersion ( $oRow -> versionId );
// image
$img = get_screenshot_img ( $oRow -> appId , $oRow -> versionId );
echo '
< tr class = " white " >
< td >< a href = " appview.php?appId='. $oRow->appId .'&versionId='. $oRow->versionId .' " > '.$oApp->data->appName.' </ a ></ td >
< td > '.$oVersion->versionName.' </ td >
< td > '.trim(substr($oApp->data->description,0,88)).' ...</ td >
< td > '.$img.' </ td >
</ tr > ' ;
}
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
application site . The site contains tips and howtos on getting listed apps to run .
</ p >
2004-12-11 03:52:57 +00:00
< p >
2005-01-10 22:15:44 +00:00
< 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 ) .
2004-12-11 03:52:57 +00:00
</ p >
2005-01-10 22:15:44 +00:00
< 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 , ... ) .
2004-12-25 19:55:07 +00:00
</ p >
2004-12-11 03:52:57 +00:00
< p >& nbsp ; </ p >
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
?>