2009/10/09 02:40:40 +0100 claunia: Changed index.php.

This commit is contained in:
2014-09-04 05:25:31 +01:00
parent bbd9bcfdca
commit c8ddd21c62

View File

@@ -11,47 +11,45 @@
require("path.php"); require("path.php");
require(BASE."include/incl.php"); require(BASE."include/incl.php");
apidb_header("Wine Application Database"); apidb_header("QEMU Official OS Support List");
?> ?>
<img style="float:right;" src="images/appdb_montage.jpg" width=391 height=266 alt="Wine AppDB"> <!-- <img style="float:right;" src="images/appdb_montage.jpg" width=391 height=266 alt="Wine AppDB"> --!>
<div class='default_container'> <div class='default_container'>
<h1>Welcome</h1> <h1>Welcome</h1>
<p>This is the Wine Application Database (AppDB). Here you can get information on application <p>This is the QEMU Official OS Support List. Here you can get information on operating system
compatibility with Wine.</p> compatibility with QEMU.</p>
<?php <?php
$str_benefits=" $str_benefits="
<ul> <ul>
<li>Ability to <a href=\"".BASE."help/?sTopic=voting\" title=\"help on voting\" style=\"cursor: help\">vote</a> on your favorite applications</li> <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 AppDB and comments system</li> <li>Ability to customize the layout and behavior of the OS List and comments system</li>
<li>Take credit for your witty posts</li> <li>Take credit for your witty posts</li>
<li>Ability to sign up to be an <a href=\"".BASE."help/?sTopic=maintainer_guidelines\" <li>Submit new operating systems and versions</li>
title=\"information about application maintainers\" style=\"cursor: help\">application maintainer</a></li>
<li>Submit new applications and versions</li>
<li>Submit new screenshots</li> <li>Submit new screenshots</li>
</ul> </ul>
"; ";
if(!$_SESSION['current']->isLoggedIn()) if(!$_SESSION['current']->isLoggedIn())
{ {
echo " echo "
<p>Most of the features of the Application Database require that you have a user account and <p>Most of the features of the Official OS Support List require that you have a user account and
are logged in. Some of the benefits of membership are:<p> are logged in. Some of the benefits of membership are:<p>
$str_benefits $str_benefits
<p>So, what are you waiting for? [<a href=\"".login_url()."\">Log in</a>] <p>So, what are you waiting for? [<a href=\"".login_url()."\">Log in</a>]
or [<a href=\"account.php?sCmd=new\">register</a>] now! Your help in or [<a href=\"account.php?sCmd=new\">register</a>] now! Your help in
stomping out Wine issues will be greatly appreciated.</p>"; stomping out QEMU issues will be greatly appreciated.</p>";
} else } else
{ {
echo " echo "
<p>As an Application Database member you enjoy some exclusive benefits like:<p> <p>As an Official OS Support List member you enjoy some exclusive benefits like:<p>
$str_benefits $str_benefits
<p>We&#8217;d like to thank you for being a member and being logged in to the system. Your help in <p>We&#8217;d like to thank you for being a member and being logged in to the system. Your help in
stomping out Wine issues will be greatly appreciated.</p>"; stomping out QEMU issues will be greatly appreciated.</p>";
} }
@@ -66,7 +64,7 @@ if(!$_SESSION['current']->isLoggedIn())
$hResult = query_parameters($voteQuery); $hResult = query_parameters($voteQuery);
$oRow = query_fetch_object($hResult); $oRow = query_fetch_object($hResult);
echo "There are <b>$iNumApps</b> applications currently in the database,"; echo "There are <b>$iNumApps</b> operating systems currently in the database,";
// don't mention the top application if there are no votes yet // don't mention the top application if there are no votes yet
if( !empty($oRow) ) if( !empty($oRow) )
@@ -75,11 +73,11 @@ if(!$_SESSION['current']->isLoggedIn())
{ {
$shVoteAppLink = version::fullNameLink($oRow->versionId); $shVoteAppLink = version::fullNameLink($oRow->versionId);
echo " with $shVoteAppLink being the\n"; echo " with $shVoteAppLink being the\n";
echo "top <a href='votestats.php'>voted</a> application.\n"; echo "top <a href='votestats.php'>voted</a> operating system.\n";
} else } else
{ {
echo " please <a href=\"".BASE."help/?sTopic=voting\" title=\"help on voting\"". echo " please <a href=\"".BASE."help/?sTopic=voting\" title=\"help on voting\"".
"style=\"cursor: help\">vote</a> for your favourite application.\n"; "style=\"cursor: help\">vote</a> for your favourite operating system.\n";
} }
} }
?> ?>
@@ -91,12 +89,12 @@ if(!$_SESSION['current']->isLoggedIn())
<div class="rating_title"> <div class="rating_title">
Top-10 <a href="objectManager.php?sClass=application&sTitle=Browse+Applications&iappVersion-ratingOp0=5&sappVersion-ratingData0=Platinum&sOrderBy=appName&bAscending=true">Platinum</a> List Top-10 <a href="objectManager.php?sClass=application&sTitle=Browse+Applications&iappVersion-ratingOp0=5&sappVersion-ratingData0=Platinum&sOrderBy=appName&bAscending=true">Platinum</a> List
</div> </div>
Applications which install and run flawlessly on an out-of-the-box Wine installation Operating systems which install and run flawlessly on QEMU with any hardware combination tested.
</div> </div>
<div> <div>
<table class="platinum"> <table class="platinum">
<tr class="rowtitle"> <tr class="rowtitle">
<th>Application</th><th>Description</th><th>Screenshot</th> <th>Operating System</th><th>Description</th><th>Screenshot</th>
</tr> </tr>
<?php <?php
outputTopXRowAppsFromRating('Platinum', 10); outputTopXRowAppsFromRating('Platinum', 10);
@@ -111,12 +109,12 @@ if(!$_SESSION['current']->isLoggedIn())
<div class="rating_title"> <div class="rating_title">
Top-10 <a href="objectManager.php?sClass=application&sTitle=Browse+Applications&iappVersion-ratingOp0=5&sappVersion-ratingData0=Gold&sOrderBy=appName&bAscending=true">Gold</a> List Top-10 <a href="objectManager.php?sClass=application&sTitle=Browse+Applications&iappVersion-ratingOp0=5&sappVersion-ratingData0=Gold&sOrderBy=appName&bAscending=true">Gold</a> List
</div> </div>
Applications that work flawlessly with some special configuration Operating systems that work flawlessly with some special configuration
</div> </div>
<div> <div>
<table class="gold"> <table class="gold">
<tr class="rowtitle"> <tr class="rowtitle">
<th>Application</th><th>Description</th><th>Screenshot</th> <th>Operating System</th><th>Description</th><th>Screenshot</th>
</tr> </tr>
<?php <?php
outputTopXRowAppsFromRating('Gold', 10); outputTopXRowAppsFromRating('Gold', 10);
@@ -131,12 +129,12 @@ if(!$_SESSION['current']->isLoggedIn())
<div class="rating_title"> <div class="rating_title">
Top-10 <a href="objectManager.php?sClass=application&sTitle=Browse+Applications&iappVersion-ratingOp0=5&sappVersion-ratingData0=Silver&sOrderBy=appName&bAscending=true">Silver</a> List Top-10 <a href="objectManager.php?sClass=application&sTitle=Browse+Applications&iappVersion-ratingOp0=5&sappVersion-ratingData0=Silver&sOrderBy=appName&bAscending=true">Silver</a> List
</div> </div>
Applications with minor issues that do not affect typical usage Operating systems with minor issues that do not affect typical usage
</div> </div>
<div> <div>
<table class="silver"> <table class="silver">
<tr class="rowtitle"> <tr class="rowtitle">
<th>Application</th><th>Description</th><th>Screenshot</th> <th>Operating System</th><th>Description</th><th>Screenshot</th>
</tr> </tr>
<?php <?php
outputTopXRowAppsFromRating('Silver', 10); outputTopXRowAppsFromRating('Silver', 10);
@@ -147,32 +145,6 @@ if(!$_SESSION['current']->isLoggedIn())
<br><br> <br><br>
<h2>Other Wine Application Compatibility Sites</h2>
<p>
<a href="http://www.wine-reviews.net/"><b>Wine-Reviews</b></a>: Is a Wine application and game
Blog, with tips and how-to's on getting listed applications and games to run.
</p>
</div>
<?php <?php
// promotional buttons
echo "<center>\n";
echo "<table>\n";
echo "<tr>\n";
echo "<td style='padding:10px;'>\n";
echo '<a href="http://getfirefox.com/"
title="Get Firefox - Web browsing redefined."><img
src="http://www.mozilla.org/products/firefox/buttons/getfirefox_large2.png"
width="178" height="60" border="0" alt="Get Firefox"></a>'."\n";
echo "</td>\n";
echo "<td style='padding:10px;'>\n";
echo '<a href="http://xinha.python-hosting.com/" title="Xinha textarea replacement">
<img src="images/xinha-red-95.png" width="95" height="100" alt="Xinha"></a>'."\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</center>\n";
apidb_footer(); apidb_footer();
?> ?>