[RP] Stock Exchange Page!

Page 1 of 2 12 LastLast
Results 1 to 25 of 26
  1. #1
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    [RP] Stock Exchange Page!

    Hey guys,

    Well if you remember I released the Gang Page ages ago, which is located below:

    http://forum.ragezone.com/f353/rp-ga...e-page-666465/

    And now I am going to release my Stock Exchange page that i made for Obbo hotel, I have lost interest to pixel games now tbh, i enjoy coding though lol...

    Anyways Screenshot see at the attachment.

    ALSO, MAKE A FOLDER CALLED IMAGES INSIDE THAT PUT A FOLDER CALLED BADGES, OR JUST DOWNLOAD MY ZIP WITH SOME BADGES IN BELOW!!

    SQL:

    (You're thinking SQL WDF? Well, i added badges to this ;') )

    Code:
    CREATE TABLE IF NOT EXISTS `jobs_corps` (
      `id` int(11) NOT NULL AUTO_INCREMENT,
      `corp_name` varchar(100) NOT NULL,
      `corp_balance` int(7) NOT NULL DEFAULT '0',
      `owner` int(11) NOT NULL,
      `badge` varchar(100) NOT NULL DEFAULT 'nobadge',
      `description` varchar(100) NOT NULL,
      PRIMARY KEY (`id`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=564 ;
    Right now the PHP file...

    PHP:

    PHP Code:
    <?php
    /*================================================================+\
    || # PHPRetro - An extendable virtual hotel site and management
    |+==================================================================
    || # Copyright (C) 2009 Yifan Lu. All rights reserved.
    || # http://www.yifanlu.com
    || # Parts Copyright (C) 2009 Meth0d. All rights reserved.
    || # http://www.meth0d.org
    || # All images, scripts, and layouts
    || # Copyright (C) 2009 Sulake Ltd. All rights reserved.
    |+==================================================================
    || # PHPRetro is provided "as is" and comes without
    || # warrenty of any kind. PHPRetro is free software!
    || # License: GNU Public License 3.0
    || # http://opensource.org/licenses/gpl-license.php
    \+================================================================*/

    $page['allow_guests'] = true;
    require_once(
    './includes/core.php');
    require_once(
    './includes/session.php');
    $data = new community_sql;
    $lang->addLocale("community.news");

    $page['id'] = "stockexchange";
    $page['name'] = "Stock Exchange";
    $page['bodyid'] = "news";
    $page['cat'] = "bussiness";

    require_once(
    './templates/community_header.php');

    ?>
    <div id="container">
        <div id="content" style="position: relative" class="clearfix">
        <div id="column1" class="column">

                    <div class="habblet-container ">
                            <div class="cbb clearfix green ">


                                <h2 class="title">Corporations Listings
                                </h2>
                            <div id="article-archive">
                            <table cellspacing="1" align="left" width="50%">
    <?php
    $myinfo_query 
    mysql_query("SELECT * FROM users WHERE name = '".$_SESSION['username']."'");
    $myinfo mysql_fetch_array($myinfo_query);
    $getinfo mysql_query("SELECT * FROM jobs_corps WHERE owner = owner + 'user'");
    while(
    $r mysql_fetch_array($getinfo)) {
    ?>
    <tr>
    <td align="left"><a href="jobs_info?id=<?php echo $r['id']; ?>"><?php echo $r['corp_name']; ?></a></td>
    <?php
    }
    ?>
    </table>
    </div></div></div></div>

    <div id="column2" class="column">
                            <div class="cbb clearfix green ">

                                <h2 class="title">Top 30 Corporations
                                </h2>
                                <table cellspacing="3" align="center" width="75%">

    <?php

    $myinfo_query 
    mysql_query("SELECT * FROM users WHERE name = '".$_SESSION['username']."'");
    $myinfo mysql_fetch_array($myinfo_query);
    $getinfo mysql_query("SELECT * FROM jobs_corps WHERE owner = owner + 'user'");
    $myinfo_query mysql_query("SELECT * FROM users WHERE name = '".$_SESSION['username']."'");
    $myinfo mysql_fetch_array($myinfo_query);
    $corp_balance mysql_query("SELECT * FROM jobs_corps WHERE corp_balance ORDER BY corp_balance DESC LIMIT 30");
    while(
    $rmysql_fetch_array($corp_balance))  {
    ?>

    <tr>
    <td align="center"><img src='./images/badges/<?php echo $r['badge'].".gif"?>'</td>
    <td align="center"><a href="jobs_info?id=<?php echo $r['id']; ?>"><?php echo $r['corp_name']; ?></a><br /> Balance: <?php echo $r['corp_balance']; ?><br />stock value: ----<br /></td>
    <td align="center"><a class="new-button fill" onclick="habboclub.buttonClick(3,'" href="#"><b>What to go here?</b><i></i></a></td>

    <?php
    }
    ?>
    </table></p>
                                </div></div>

    <?php require_once('./templates/community_footer.php'); ?>
    Enjoy :')

    IF YOU LIKE THIS CLICK THE THANKS BUTTON!

    Mirror:
    http://dev-studios.co.uk/stockexchange.zip (the file and imaegs are in here not the sql)
    Attached Thumbnails Attached Thumbnails stockexchange.png  
    Attached Files Attached Files
    Last edited by Sledmore; 03-07-10 at 05:11 AM.


  2. #2
    Apprentice habbzorp is offline
    MemberRank
    Jun 2010 Join Date
    7Posts

    Re: [RP] Stock Exchange Page!

    nice
    good job

  3. #3
    C# & Javascript obrienray1 is offline
    MemberRank
    Nov 2009 Join Date
    MiamiLocation
    305Posts

    Re: [RP] Stock Exchange Page!

    nice job craig again 10/10 i am using it now :D

  4. #4
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: [RP] Stock Exchange Page!

    Excellent release, maybe you should develop your own RP CMS and release that instead of little things such as pages.

  5. #5
    Account Upgraded | Title Enabled! Broken. is offline
    MemberRank
    Mar 2009 Join Date
    USALocation
    346Posts

    Re: [RP] Stock Exchange Page!

    Thank you!!!

  6. #6
    En Français? Bjork is offline
    MemberRank
    Apr 2007 Join Date
    854Posts

    Re: [RP] Stock Exchange Page!

    Nice Release :)

  7. #7
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Stock Exchange Page!

    Quote Originally Posted by habbzorp View Post
    nice
    good job
    Cheers pal :')

    Quote Originally Posted by obrienray1 View Post
    nice job craig again 10/10 i am using it now :D
    Thanks glad you like it ;'D!

    Quote Originally Posted by Roper View Post
    Excellent release, maybe you should develop your own RP CMS and release that instead of little things such as pages.
    Well, Ever heard of Obbo hotel? I made that, used my own server and cms, before Rastas was out, then i used his cms, but edited it, i had mine to start with, i use my own server too. I may release a full blown CMS.

    Quote Originally Posted by Broken. View Post
    Thank you!!!
    Your welcome ;'D.

    Quote Originally Posted by Bjork View Post
    Nice Release :)
    No problemo ;').

  8. #8
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: [RP] Stock Exchange Page!

    Quote Originally Posted by Sledmore View Post
    Well, Ever heard of Obbo hotel? I made that, used my own server and cms, before Rastas was out, then i used his cms, but edited it, i had mine to start with, i use my own server too. I may release a full blown CMS.
    Yes you goon, I'm Robbie(r.plen....eith@live.com/.co.uk).

    I'm sure you'll remember me now.

    Anyway, i was just saying.

  9. #9
    Enthusiast Jive is offline
    MemberRank
    Jun 2010 Join Date
    CanadaLocation
    37Posts

    Re: [RP] Stock Exchange Page!

    Nice Release, Ill be sure to use this.

  10. #10
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: [RP] Stock Exchange Page!

    Nice One Sledy

    Sure? You Lost Intrest In Pixel Games :P

    -Zak

  11. #11
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Stock Exchange Page!

    Quote Originally Posted by Roper View Post
    Yes you goon, I'm Robbie(r.plen....eith@live.com/.co.uk).

    I'm sure you'll remember me now.

    Anyway, i was just saying.
    Ooh, its Mr. Noob ;'). Lol hey.

    Quote Originally Posted by Jive View Post
    Nice Release, Ill be sure to use this.
    Nice one mate :').

    Quote Originally Posted by Habboretromaker View Post
    Nice One Sledy

    Sure? You Lost Intrest In Pixel Games :P

    -Zak
    Glad ya like it, and yeah lol

  12. #12
    Proficient Member swimoTheBig is offline
    MemberRank
    Aug 2008 Join Date
    Essex, UKLocation
    194Posts

    Re: [RP] Stock Exchange Page!

    Nice Release craig!

  13. #13
    Account Upgraded | Title Enabled! Pure is offline
    MemberRank
    May 2008 Join Date
    809Posts

    Re: [RP] Stock Exchange Page!

    Why arn't you using the framework that phpRetro has put into place, like the query's and data.. like $user->id;

  14. #14
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: [RP] Stock Exchange Page!

    Quote Originally Posted by iJames View Post
    Why arn't you using the framework that phpRetro has put into place, like the query's and data.. like $user->id;
    I was wondering that same thing.

  15. #15
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Stock Exchange Page!

    @Above and @iJames, i made it for my own RP in holocms, so all i did was copied it over, and changed the footer + top.

  16. #16
    Enthusiast Jive is offline
    MemberRank
    Jun 2010 Join Date
    CanadaLocation
    37Posts

    thumbs up Re: [RP] Stock Exchange Page!

    Nice release.
    Ill take a look later

  17. #17
    yerro Adde is offline
    MemberRank
    Feb 2010 Join Date
    none ur bizzLocation
    2,731Posts

    Re: [RP] Stock Exchange Page!

    Very very good Sledmore! I like your work!

  18. #18
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Stock Exchange Page!

    Cheers matee! :')

  19. #19
    Apprentice xixclan is offline
    MemberRank
    Jul 2010 Join Date
    24Posts

    Re: [RP] Stock Exchange Page!

    LOVE THIS !! 100% Recommended !

  20. #20
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts

    Re: [RP] Stock Exchange Page!

    What is this exactly?

  21. #21
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Stock Exchange Page!

    Quote Originally Posted by Eronisch View Post
    What is this exactly?
    It is what it says on the tin... (A stock exchange page).

  22. #22
    Account Upgraded | Title Enabled! Habblet is offline
    MemberRank
    Jul 2008 Join Date
    The NetherlandsLocation
    324Posts

    Re: [RP] Stock Exchange Page!

    Nice, keep it up :) Like youre work shometimes...

  23. #23
    WAFFLES! jjhoopmaster is offline
    MemberRank
    Oct 2007 Join Date
    767Posts

    Re: [RP] Stock Exchange Page!

    nice release

  24. #24
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Stock Exchange Page!

    Thanks guys :').

  25. #25
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    Re: [RP] Stock Exchange Page!

    The images Wont show on mine



Page 1 of 2 12 LastLast

Advertisement