UberCMS - Rules page

Results 1 to 3 of 3
  1. #1
    Account Upgraded | Title Enabled! Akimbo is offline
    MemberRank
    Jul 2011 Join Date
    NorwayLocation
    305Posts

    thumbs up UberCMS - Rules page

    This is a test code
    PHP Code:
    <?php
    /*=======================================================================
    | UberCMS - Advanced Website and Content Management System for uberEmu
    | #######################################################################
    | Copyright (c) 2010, Roy 'Meth0d' and updates by Matthew 'MDK'
    | http://www.meth0d.org & http://www.sulake.biz
    | #######################################################################
    | This program is free software: you can redistribute it and/or modify
    | it under the terms of the GNU General Public License as published by
    | the Free Software Foundation, either version 3 of the License, or
    | (at your option) any later version.
    | #######################################################################
    | This program is distributed in the hope that it will be useful,
    | but WITHOUT ANY WARRANTY; without even the implied warranty of
    | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    | GNU General Public License for more details.
    \======================================================================*/

    require_once "global.php";    

    $sqlcontent mysql_query("select * from usr_config");
    $content mysql_fetch_array($sqlcontent);
    ?>

    <!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" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Habbo:  </title>

    <script type="text/javascript">
    var andSoItBegins = (new Date()).getTime();
    </script>
    <link rel="shortcut icon" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
    <link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="http://www.habbo.no/articles/rss.xml" />

    <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/styles/common.css" type="text/css" />
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/styles/process.css" type="text/css" />

    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/js/libs2.js" type="text/javascript"></script>
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/js/visual.js" type="text/javascript"></script>
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/js/libs.js" type="text/javascript"></script>
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/js/common.js" type="text/javascript"></script>
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/js/fullcontent.js" type="text/javascript"></script>



    <script type="text/javascript">

    var ad_keywords = "";

    var ad_key_value = "";

    </script>

    <script type="text/javascript">
    document.habboLoggedIn = false;
    var habboName = null;
    var habboId = null;
    var habboReqPath = "";
    var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery";
    var habboImagerUrl = "http://www.habbo.no/habbo-imaging/";
    var habboPartner = "";
    var habboDefaultClientPopupUrl = "http://www.habbo.no/client";
    window.name = "habboMain";
    if (typeof HabboClient != "undefined") {
        HabboClient.windowName = "client";
        HabboClient.maximizeWindow = true;
    }


    </script>

    <meta property="fb:app_id" content="232325424224" />
    <meta property="fb:admins" content="100002439676217" />
    <meta property="og:site_name" content="Habbo Hotel" />
    <meta property="og:title" content="Habbo: " />
    <meta property="og:url" content="http://www.habbo.no" />
    <meta property="og:image" content="http://www.habbo.no/v2/images/facebook/app_habbo_hotel_image.gif" />
    <meta property="og:locale" content="nn_NO" />



    <meta name="description" content="Habbo Hotel - Sjekk inn GRATIS, og bli med på moroa! Møt venner, spill, chat, skap din egen avatar, design rom og mye mer…" />
    <meta name="keywords" content="Habbo Hotel, virtuell, verden, sosialt nettverk, gratis, community, avatar, chat, online /logget inn, tenåring, rollespill, bli med, grupper, forum, spill, online, venner, tenåringer, rariteter, sjeldne møbler, samleobjekter, skap, samle, koble opp, møbler, kjæledyr, romdesign, dele, uttrykk, skilt, henge ut, musikk, kjendis, kjendisbesøk, mmo?, mmorpg?, stor multispiller" />



    <!--[if IE 8]>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/styles/ie8.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 8]>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/styles/ie.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 7]>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/styles/ie6.css" type="text/css" />
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
    <script type="text/javascript">
    try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
    </script>

    <style type="text/css">
    body { behavior: url(/js/csshover.htc); }
    </style>
    <![endif]-->
    <meta name="build" content="63-BUILD965 - 08.12.2011 11:58 - no" />
    </head>
    <body class="process-template">

    <div id="overlay"></div>


    <div id="change-password-form" style="display: none;">

        <div id="change-password-form-container" class="clearfix">

            <div id="change-password-form-title" class="bottom-border">Glemt passordet ditt?</div>

            <div id="change-password-form-content" style="display: none;">

                <form method="post" action="https://www.habbo.no/account/password/identityResetForm" id="forgotten-pw-form">

                    <input type="hidden" name="page" value="/papers/termsAndConditions?changePwd=true" />

                    <span>Vennligst skriv den e-postadressen som er knyttet til Habboen din:</span>

                    <div id="email" class="center bottom-border">

                        <input type="text" id="change-password-email-address" name="emailAddress" value="" class="email-address" maxlength="48"/>

                        <div id="change-password-error-container" class="error" style="display: none;">Du må skrive inn riktig e-postadresse</div>

                    </div>

                </form>

                <div class="change-password-buttons">

                    <a href="#" id="change-password-cancel-link">Avbryt</a>

                    <a href="#" id="change-password-submit-button" class="new-button"><b>Send E-post</b><i></i></a>

                </div>

            </div>

            <div id="change-password-email-sent-notice" style="display: none;">

                <div class="bottom-border">

                    <span>Vi har akkurat sendt deg en e-post der det er mulig for deg å nullstille passordet ditt. Husk å sjekke spam filteret!</span>

                    <div id="email-sent-container"></div>

                </div>

                <div class="change-password-buttons">

                    <a href="#" id="change-password-change-link">Tilbake</a>

                    <a href="#" id="change-password-success-button" class="new-button"><b>Lukk</b><i></i></a>

                </div>

            </div>

        </div>

        <div id="change-password-form-container-bottom"></div>

    </div>



    <script type="text/javascript">

    HabboView.add( function() {

         ChangePassword.init();





    });

    </script>
    <div id="container">
        <div class="cbb process-template-box clearfix">
            <div id="content" class="wide">
                        <div id="header" class="clearfix">
                            <h1><a href="http://www.habbo.no/"></a></h1>
    <ul class="stats">

        <li class="stats-online"><span class="stats-fig">352</span> Habbos online!</li>

    </ul>

                        </div>
                <div id="process-content">
                    <div id="terms" class="box-content">
                    <div class="tos-item">
                    
                    
                    
                    
                    
                    
                    
                    <div class="tos-header"><b><? echo("$content[site]");?></b></div>
                    
                    <!-- MESSANG START! -->
    <? echo("$content[msg]");?>
    <!--- END -->





    </div>
    </div>
    <div id="footer">
        <p class="footer-links"><a href="http://sulake.com" target="_new">Sulake</a> |<a href="mailto:<? echo("$content[email]");?>">Email</a></p>
        <p class="copyright">Its christmas.</p>
    </div>            </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
    if (typeof HabboView != "undefined") {
        HabboView.run();
    }
    </script>


    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-448325-14']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    </script>    

        <!-- Start Quantcast tag -->

    <script type="text/javascript">

    _qoptions={

    qacct:"p-b5UDx6EsiRfMI"

    };

    </script>

    <script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>

    <noscript>

    <img src="http://pixel.quantserve.com/pixel/p-b5UDx6EsiRfMI.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>

    </noscript>

    <!-- End Quantcast tag -->
        
        
            


    </body>
    </html>
    MySQL:
    PHP Code:

    --
    -- 
    Tabellstruktur for tabell `usr_config`
    --

    CREATE TABLE IF NOT EXISTS `usr_config` (
      `
    sitevarchar(40COLLATE latin1_general_ci NOT NULL DEFAULT '',
      `
    msgvarchar(200COLLATE latin1_general_ci NOT NULL DEFAULT '',
      `
    emailvarchar(60COLLATE latin1_general_ci NOT NULL DEFAULT ''
    ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

    --
    -- 
    Dataark for tabell `rules_config`
    --

    INSERT INTO `usr_config` (`site`, `msg`, `email`) VALUES
    ('YourSite''Rules page rules!!''you@yourdomain.tld'); 
    Last edited by Akimbo; 10-12-11 at 01:52 AM.


  2. #2
    Im Back! PythoneX12 is offline
    MemberRank
    Sep 2010 Join Date
    634Posts

    Re: UberCMS - Rules page

    Ur such a smart ass. Im tryin to help the community... Not flame at em.

  3. #3
    The Sex Addict Poizone2 is offline
    MemberRank
    Oct 2011 Join Date
    UKLocation
    523Posts

    Re: UberCMS - Rules page

    If it's a test then what is it? Screen Shots please



Advertisement