From 284b1566275ac1c8bb7f9813888862e42a008ae0 Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Sat, 25 Dec 2004 19:45:14 +0000 Subject: [PATCH] Changes content of index.php when a user is logged in --- index.php | 47 +++++++++++++++++++++++++++++++++++------------ 1 file changed, 35 insertions(+), 12 deletions(-) diff --git a/index.php b/index.php index 17fe7eb..4d92b06 100644 --- a/index.php +++ b/index.php @@ -17,26 +17,49 @@ apidb_header("Wine Application Database");

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.

+ +
  • Ability to Vote on Favorite Applications
  • +
  • Access to the Application Rating System. Rate the apps that \"Don't Suck\"
  • +
  • Ability to customize the View of the Apps DB and Comment System
  • +
  • Take Credit for your witty posts
  • +
  • Ability to sign up to be an application maintainer.
  • +
  • Submit new applications and versions.
  • + +"; +if(!loggedin()) +{ + echo " +

    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:

    -

    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:

    + $str_benefits -

    +

    So what are you waiting for, [login now]. Your help in + stomping out Wine issues will be greatly appreciated.

    "; +} else +{ + echo " +

    As an Application database member you enjoy some exclusive benefits like:

    -

    So what are you waiting for, [login now]. Your help in -stomping out Wine issues will be greatly appreciated.

    + $str_benefits +

    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.

    "; + +} +?>

    If you have screenshots or links to contribute, please browse the database and use the AppDB interface to send us your contributions.

    +

    -If you have anything else to contribute (howtos, etc.), contact us at: +If you have anything else to contribute (howtos, etc.), enroll to be an application maintainer or contact us at: appdb@winehq.org
    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