PhoenixPHP TopUser Page

Results 1 to 8 of 8
  1. #1
    Apprentice Rhinodanny is offline
    MemberRank
    Aug 2010 Join Date
    GermanyLocation
    16Posts

    PhoenixPHP TopUser Page

    Hi, im sorry for my bad englisch i'm from Germany.

    I've coded for you a top user page, the datats are pixels and credits. The desc limit is 5 and staffs will not show.


    screen:



    code:
    PHP Code:
    <?php
    define
    ('USERNAME_REQUIRED'TRUE);
    define('ACCOUNT_REQUIRED'TRUE);
    include(
    'global.php');
    define("THIS_SCRIPT"'topuser');
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><?php echo $sitename." - ".$lang['topuser']; ?></title>
        <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
        <script type="text/javascript" src="Public/JS/jquery.history.js"></script>
        <link type="text/css" rel="stylesheet" href="Public/Styles/<?php echo $currentstyle ?>/CSS/main.css" />
    </head> 

    <body id="mainbox"> 
     
    <div class="mainBox"> 
        <?php
        
    include("header.php");
        include(
    "system/communitynav.php");
        
    ?>

        <div class="mid" id="midcontent"> 

    <div class="column" id="column3">
    <div class="contentBox">
    <div class="boxHeader">Most credits</div>
            <div class="boxContent">
    <table>
    <?php 
    $datosTop 
    mysql_query("SELECT * FROM users WHERE rank <3 AND 1 ORDER BY credits DESC LIMIT 5");

    while(
    $datosTop10 mysql_fetch_array($datosTop)){
    echo 
    '
    <tr><td width="5px"></td>
    <td width="20px">'
    ;

    echo 
    '<img src="http://www.habbo.com.es/habbo-imaging/avatarimage?figure=' $datosTop10['look'] . '&direction=2&head_direction=2&gesture=sml&action=&size=m" align="left"></td> <td width="195px"><b><a href="home.php?u='.$datosTop10['username'].'">'.$datosTop10['username'].'</a><br /><br />'.$datosTop10['credits'].' Taler</b>';

    echo 
    '</td>'; } ?>
    </table>

            </div>
        </div>
    </div>


    <div class="column" id="column1">
    <div class="contentBox">
    <div class="boxHeader">TopUser of the hotel</div>
            <div class="boxContent">
    <b>To publish special achievements, efforts and successes, the user 5 best user of her category will be honored on the left and right side the<br /><br /><br />
    Awarded to the user in the categories<br />
    &bull; Most credits in the Hotel. <br />
    &bull; Most pixel in the hotel. <br />
    <br /><br />
    Congratulations to all listed users!</b>


            </div>
        </div>
    </div>


    <div class="column" id="column3">
    <div class="contentBox">
    <div class="boxHeader">Most pixel</div>
            <div class="boxContent">
    <table>
    <?php
    $datosTop 
    mysql_query("SELECT * FROM users WHERE rank <3 AND 1 ORDER BY activity_points DESC LIMIT 5");

    while(
    $datosTop10 mysql_fetch_array($datosTop)){
    echo 
    '
    <tr><td width="5px"></td>
    <td width="20px">'
    ;

    echo 
    '<img src="http://www.habbo.com.es/habbo-imaging/avatarimage?figure=' $datosTop10['look'] . '&direction=4&head_direction=4&gesture=sml&action=&size=m" align="left"></td> <td width="195px"><b><a href="home.php?u='.$datosTop10['username'].'">'.$datosTop10['username'].'</a><br /><br />'.$datosTop10['activity_points'].' Pixel</b>';

    echo 
    '</td>'; } ?>
    </table>


            </div>
        </div>
    </div></div>
        
        <?php include("system/footer.php"); ?>
    </div> 

    </body> 
    </html>
    Please thanks if you like it


  2. #2
    Thanks for the memories! Mithex is offline
    MemberRank
    May 2010 Join Date
    HeavenLocation
    2,014Posts

    Re: PhoenixPHP TopUser Page

    I like the design element that you attempted. Maybe add 2 other things write below.

  3. #3
    Account Upgraded | Title Enabled! simoneihg is offline
    MemberRank
    Dec 2010 Join Date
    PalermoLocation
    243Posts

    Re: PhoenixPHP TopUser Page

    Good work, but it's a simple addon and many addons are released ( like this) for Uber, but good work mate ^^

  4. #4
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

    Re: PhoenixPHP TopUser Page

    If you have sideads on your site, where will it fit?

  5. #5
    [̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅] leenster is offline
    MemberRank
    May 2008 Join Date
    KanaadaLocation
    992Posts

    Re: PhoenixPHP TopUser Page

    i like the idea but why would you use a table.... easy enough todo using simple divs

  6. #6
    Thanks for the memories! Mithex is offline
    MemberRank
    May 2010 Join Date
    HeavenLocation
    2,014Posts

    Re: PhoenixPHP TopUser Page

    Quote Originally Posted by Subway View Post
    If you have sideads on your site, where will it fit?
    Under the page, by the footer.

  7. #7
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

    Re: PhoenixPHP TopUser Page

    ^Fail bro.

  8. #8
    Legend donszeh is offline
    MemberRank
    Jul 2008 Join Date
    DutchLocation
    422Posts

    Re: PhoenixPHP TopUser Page

    Indeed. It's a hard fail, Maybe you can make in the center a second box for the ads.



Advertisement