Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Location
    UK
    Posts
    2,470
    Tokens
    2,975

    Latest Awards:

    Exclamation Incorperrate user system with site

    i have my site and usersystem but i need to encoperate it all of the user file are like login.php and logout.php and stuff but i need to encoreapate them The folder name is user/login and user/logout ect but i dont know how to add them to my code. This is the code and if anyone could help or even do it for me i would be very greatful

    HTML Code:
    <!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>GamersInfo - Get the lowdown on the latest games!</title>
    <link rel="stylesheet" href="style.css" media="screen" />
    </head>
    <body>
    <div id="outer">
    <!-- OP:INNER WRAPPER -->
    <div id="wrapper">
     <!-- OP:HEADER -->
    <!--start login area-->
     <div id="header">
      <div id="logo">
       <h1></h1>
      </div>
      <div id="login">
       <form action="#" method="post">
        <input type="text" class="text-inp" name="username" value="USERNAME" />
        <input type="password" class="text-inp" name="password" value="PASSWORD" />
        <input type="image" src="./images/button_input_bg.gif" class="button" name="Submit" value="" />
       </form>
    <!--End login area-->
      </div>
     </div>
     <!-- / OP:HEADER -->
     
     <!-- OP:NAVIGATION -->
     <div id="nav">
      <!-- max nav items is 9 (<li>...</li> x9) -->
      <ul>
       <li><a href="index.html">  Home  </a></li>
       <li><a href="/forums/">   Forums  </a></li>
       <li><a href="about.html">  About  </a></li>
       <li><a href="matches.html">  Matches  </a></li>
       <li><a href="roster.html">  Roster  </a></li>
       <li><a href="contact.html">  Contact  </a></li>
       <li><a href="challenge.html"> Challenge </a></li>
       <li><a href="media.html">  Media  </a></li>
       <li><a href="news.html">  News  </a></li>
      </ul>
     </div>
     <!-- / OP:NAVIGATION -->
     
     <div id="banner"></div>
     
     <!-- OP:CONTENT -->
     <div id="content">
     
      <!-- OP:LEFT COLUMN -->
      <div id="left">
      
       <h2>Quick Links</h2>
       <div class="cont">
        <div class="inner">
        <img src="images/side_cont_bg_top.gif" alt="" />
         <ul>
          <li> <a href="#"> Home  </a> </li>
          <li> <a href="#"> Roster </a> </li>
          <li> <a href="#"> Community  </a> </li>
          <li> <a href="#"> Downloads  </a> </li>
          <li> <a href="#"> Recent Record  </a> </li> 
         </ul>
        <img src="images/side_cont_bg_bottom.gif" alt="" />
        </div>
       </div>
       
       <h2>Match Results</h2>
       <div class="cont">
        <div class="inner">
        <img src="images/side_cont_bg_top.gif" alt="" />
         <ul class="match">
          <li> <span class="team"> CT-BOTS </span>  <span class="score">22 : 1</span> <span class="won">WON</span> </li>
          <li> <span class="team"> CT-ROBOTS </span> <span class="score">2 : 6</span> <span class="lost">LOST</span> </li>
          <li> <span class="team"> CT-ROBOTS </span>  <span class="score">13 : 7</span> <span class="lost">LOST</span> </li> 
          <li> <span class="team"> CT-BOTS </span>  <span class="score">8 : 3</span> <span class="won">WON</span> </li> 
          <li> <span class="team"> CT-BOTS </span>  <span class="score">12 : 9</span> <span class="won">WON</span> </li> 
         </ul>
        <img src="images/side_cont_bg_bottom.gif" alt="" />
        
        </div>
       </div>
       <h2>Quick Links</h2>
       <div class="cont">
        <div class="inner">
        <img src="images/side_cont_bg_top.gif" alt="" />
         <ul>
          <li> <a href="#"> Login    </a> </li>
          <li> <a href="#"> Register    </a> </li>
          <li> <a href="#"> Forgot Password  </a> </li> 
          <li> <a href="#"> Forum Index  </a> </li> 
          <li> <a href="#"> More...    </a> </li> 
         </ul>
        <img src="images/side_cont_bg_bottom.gif" alt="" />
        </div>
       </div>
       <h2>Latest Posts</h2>
       <div class="cont">
        <div class="inner">
        <img src="images/side_cont_bg_top.gif" alt="" />
         <ul class="match">
          <li>Nullam a est et tellus molestie...</li>
          <li>Integer egestas nunc ac...</li>
          <li>Curabitur et mau...</li>
          <li>Quisque lacinia metus eget...</li>
          <li>Praesent id eros sed...</li>
          <li>Nunc pulvinar...</li>
          <li>Proin aliquam egestas ligula...</li>
         </ul>
        <img src="images/side_cont_bg_bottom.gif" alt="" />
        
        </div>
       </div>
       <!-- OP:EDIT FLAG 1 -->
       
       <!-- / OP: EDIT FLAG 1 -->
      </div>
      <!-- / OP:LEFT COLUMN -->
      
      <!-- OP:MIDDLE COLUMN -->
      <div id="middle">
       <h2>Main Content</h2>
       <div class="main">
        <div class="inner">
         <img src="images/main_cont_bg_top.gif" alt="" />
         <!-- INSERT MAIN CONTENT HERE -->
         <h3>Intro</h3>
         <p>Thank you for downloading this free template release from www.clantemplates.com if you have any questions, these paragraphs should address them or direct you to where they can be addressed.</p>
         <p>There are a few terms-of-use rules you need to follow if you want to use this or any ClanTemplates template but they are simple to follow. The first is that you <b>must keep a link back to ClanTemplates</b> either using a Lead Sponsor image or an affiliate link (dependent upon your template). This must be a hyperlink and must include the ClanTemplates 'C' logo. The second is that you <b>must include any copyright footer</b> that tells you who designed and coded the template. This image (and/or text) should also link to ClanTemplates and must not be edited.</p> 
         <p><strong>PLEASE NOTE: A README file has been included with this template, please read it carefully before you attempt to make any modifications!</strong></p>
         <p>All templates released at clantemplates are coded in (x)HTML &amp; CSS so that even the most inexperienced individual can understand and edit the template. If you have either Frontpage or Dreamweaver at your disposal these would be recommended for you to easily edit and manage the code of your new website template. Below are 3 video tutorials that explain different aspects of how to use a template downloaded from Clantemplates.</p>
         
         <ul>
          <li><a href="http://www.clantemplates.com/video/How_to_DL_and_Edit/How_to_DL_and_Edit.html">How to Download &amp; Edit Your Template</a></li>
          <li><a href="http://www.clantemplates.com/video/CT_How_to_Make_a_New_Page/CT_How_to_Make_a_New_Page.html">How to make a new page for the template</a></li>
          <li><a href="http://www.clantemplates.com/video/CT_How_to_Upload/CT_How_to_Upload.html">How to upload your template to a server</a></li>
         </ul>
         
         <h3>Editing your Template</h3>
         
         <p>All templates released at Clantemplates should include blank banner images for you to add your own clans name to in order to personalize the template. Such images are generally included in the images folder which was in the zip file you downloaded and are normally denoted by the word 'blank' in the filename. Other blank images for various parts of a template, may be included in the folder, depending on the template you've downloaded.</p>
         
         <h3>Getting Help</h3>
         
         <p>Any questions that the video tutorials just didn't cover? Well the best place to get the kind of answers you need is to use that template you've downloaded is to submit your question for the Support Staff in the Clantemplates <a href="http://forums.clantemplates.com/forumdisplay.php?f=9">Help Booth</a>. Make sure you include the name of the template you downloaded and the category it was in. Any question you may have regarding a template they will be able to answer for you.</p>     
         <!-- / INSERT MAIN CONTENT HERE -->
         <img src="images/main_cont_bg_bottom.gif" alt="" />
        </div>
       </div>
       <!-- OP:EDIT FLAG 2 -->
       
       <!-- END OP:EDIT FLAG 2 -->
      </div>
      <!-- / OP:MIDDLE COLUMN -->
      
      <!-- OP:RIGHT COLUMN -->
      <div id="right">
       <h2>Latest Topics</h2>
       <div class="cont">
        <div class="inner">
        <img src="images/side_cont_bg_top.gif" alt="" />
         <ul>
          <li><a href="#">Aliquam sollicitudin...</a></li>
          <li><a href="#">Sed quis tellus...</a></li>
          <li><a href="#">Etiam quis suvarius...</a></li>
          <li><a href="#">Etiam varius placerat..</a></li>
          <li><a href="#">Proin vulputate dapibus mi...</a></li>
          <li><a href="#">Vestibulum eget...</a></li>
          <li><a href="#">Phasellus hendrerit urna...</a></li>
         </ul>
        <img src="images/side_cont_bg_bottom.gif" alt="" />
        
        </div>
       </div>
       <h2>New Fixtures</h2>
       <div class="cont">
        <div class="inner">
        <img src="images/side_cont_bg_top.gif" alt="" />
         <ul class="match">
          <li> <span class="team"><a href="#">Nocitpeced</a></span> <span class="score">:</span> <span class="result"><a href="#">CT-Tobotua </a></span> </li>
          <li> <span class="team"><a href="#">Nocitpeced</a></span> <span class="score">:</span> <span class="result"><a href="#">CT-Tobotua </a></span> </li>
          <li> <span class="team"><a href="#">Nocitpeced</a></span> <span class="score">:</span> <span class="result"><a href="#">CT-Tobotua </a></span> </li>
          <li> <span class="team"><a href="#">Nocitpeced</a></span> <span class="score">:</span> <span class="result"><a href="#">CT-Tobotua </a></span> </li>
          <li> <span class="team"><a href="#">Nocitpeced</a></span> <span class="score">:</span> <span class="result"><a href="#">CT-Tobotua </a></span> </li>
         </ul>
        
        <img src="images/side_cont_bg_bottom.gif" alt="" />
        </div>
       </div>
       <h2>Team Sponsors</h2>
       <div class="cont">
        <div class="inner">
        <img src="images/side_cont_bg_top.gif" alt="" />
         <a href="http://www.clantemplates.com" target="_blank"><img src="images/aff_ct.gif" alt="Free Template by Clantemplates.com" /></a>
           
        <img src="images/side_cont_bg_bottom.gif" alt="" />
        </div>
        <div class="inner">
        <img src="images/side_cont_bg_top.gif" alt="" />
         <a href="http://www.shock.in" target="_blank"><img src="images/aff_sm.gif" alt="Free Template by Clantemplates.com" /></a>
           
        <img src="images/side_cont_bg_bottom.gif" alt="" />
        </div>
        <div class="inner">
        <img src="images/side_cont_bg_top.gif" alt="" />
         <a href="http://www.shock.in" target="_blank"><img src="images/aff_sk.gif" alt="Free Template by Clantemplates.com" /></a>
           
        <img src="images/side_cont_bg_bottom.gif" alt="" />
        </div>
       </div>
      </div>
      <div style="clear: both; height: 10px; overflow: hidden">&nbsp;</div>
      <!-- / OP:RIGHT COLUMN -->
     </div>
     <!-- / OP:CONTENT -->
     
     <!-- OP:FOOTER -->
     <div id="footer">
      
      <div id="credits">
       Designed by <a href="http://www.shock.in">Dream</a> and Coded by <a href="http://www.opserty.com">Opserty</a> @ <a href="http://www.clantemplates.com">Clantemplates.com</a>
      </div>
      
      <div id="copyright">
       Copyright 2007 &copy; <a href="http://www.clantemplates.com">Clantemplates.com</a> and GamersInfo. All rights reserved.
      </div>
     
     </div>
     
    </div>
    </div>
    </body>
    </html>

  2. #2
    Join Date
    Feb 2007
    Location
    West Midlands
    Posts
    1,168
    Tokens
    0
    Habbo
    Jibbish

    Latest Awards:

    Default

    Is the actual form on login.php, if so so use;
    PHP Code:
    <?php include('user/login.php'); ?>
    Also are you using iframes, ajax or PHP navigation?

  3. #3
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    I personally just make sure I have my config file and session_start on the main index page and use an iframe to grab the usersystem pages.
    Back for a while.

  4. #4
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    I use a div with ajax requests.

    I hate using iframes for content, cos say you have a thing on the side showing their personal messages, by updating the content, that stays the same.

    If anyone gets what I mean.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •