Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 78
6 members and 72 guests
danansceclasqe6, hypye4notherape, lnkmastes, pilgrlowlf7spea, ral4yqkeighqtx5, watcy5gerp
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
Cusomizing the Header Html
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 17
Join Date: Apr 2003
Cusomizing the Header Html - 04-23-2003, 10:29 PM

Hello lm currently working on a theme that l seen at a other place and l would like to know how to make the login and security code all one line to show up in the header.html l have looked and l did find this bit of code but l want it to look like this one this site
http://www.pixdesign.ch/en/ and this is the code l found how do l change this to look like that so l may insert it into my page

Code:
function main($user) {
    global $stop, $module_name, $redirect, $mode, $t, $f;
    if(!is_user($user)) {
	include("header.php");
	if ($stop) {
	    OpenTable();
	    echo "<font class=\"title\">"._LOGININCOR."[/b]</font></center>\n";
	    CloseTable();
	    echo "\n";
	} else {
	    OpenTable();
	    echo "<center><font class=\"title\">"._USERREGLOGIN."[/b]</font></center>\n";
	    CloseTable();
	    echo "\n";
	}
	if (!is_user($user)) {
	    OpenTable();
	    mt_srand ((double)microtime()*1000000);
	    $maxran = 1000000;
	    $random_num = mt_rand(0, $maxran);
	    echo "<form action=\"modules.php?name=$module_name\" method=\"post\">\n"
		.""._USERLOGIN."

\n"
		."<table border=\"0\"><tr><td>\n"
		.""._NICKNAME.":</td><td><input type=\"text\" name=\"username\" size=\"15\" maxlength=\"25\"></td></tr>\n"
		."<tr><td>"._PASSWORD.":<input type=\"password\" name=\"user_password\" size=\"15\" maxlength=\"20\"></td></tr>\n";
	    if (extension_loaded("gd")) {
		echo "<tr><td colspan='2'>"._SECURITYCODE.": [img]modules.php?name=$module_name&op=gfx&random_num=$random_num[/img]</td></tr>\n"
		    ."<tr><td colspan='2'>"._TYPESECCODE.": <input type=\"text\" NAME=\"gfx_check\" SIZE=\"7\" MAXLENGTH=\"6\"></td></tr>\n"
		    ."<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">\n";
	    }
	    echo "</table><input type=\"hidden\" name=\"redirect\" value=$redirect>\n"
		."<input type=\"hidden\" name=\"mode\" value=$mode>\n"
		."<input type=\"hidden\" name=\"f\" value=$f>\n"
		."<input type=\"hidden\" name=\"t\" value=$t>\n"
		."<input type=\"hidden\" name=\"op\" value=\"login\">\n"
		."<input type=\"submit\" value=\""._LOGIN."\"></form>
\n\n"
		."<center><font class=\"content\">[ <a href=\"modules.php?name=$module_name&op=pass_lost\">"._PASSWORDLOST."</a> | <a href=\"modules.php?name=$module_name&op=new_user\">"._REGNEWUSER."</a> ]</font></center>\n";
	    CloseTable();
	}
	include("footer.php");
    } elseif (is_user($user)) {
        global $cookie;
        cookiedecode($user);
        userinfo($cookie[1]);
    }
}
l simply want the login and security code all one line like they have on there page any help would be appreciated thanks in advance

XtraX :P
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML embedded in PHP... Can I link to an html anchor? Tabe Site design 0 06-02-2005 01:42 PM
Fisubsilver: content dissapears when editing header.html C5C6 Theme packs 4 02-10-2005 07:49 AM
JS in themes/BlackDog/header.html Kelu Purged Topics 13 05-30-2003 11:30 PM
Copying header.html file into other directory to work there MurphDog Site design 0 04-24-2003 08:59 AM
Changes made to Header.html causes alignment problems Pha17tasy Theme packs 3 03-20-2003 09:22 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31