Author Topic: {user_box}'s Features  (Read 3157 times)

0 Members and 1 Guest are viewing this topic.

Offline sumer

  • Newbie
  • *
  • Posts: 10
    • View Profile
{user_box}'s Features
« on: January 13, 2007, 09:12:20 PM »
Hi, recently i have been modifying the index.php in a way so that it does not use a template ( home.html )
 instead my index.php has all of the php code on top and HTML code at the bottom.

<?php
sql connections & codes and etc.
?>
Regular HTML for the site Here.

this way i am able to work more directly with sql features
however i am a little confused about how to implement the user login box

user login box is easy on the home.html its called via {user_box} tag.

{user_box} 's job is to display information based on if the user is logged in or not.
i need to do the same thing on my index.php page which does not use an external template.