Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 51
2 members and 49 guests
stacn5wndingtix, watde7jerdamage
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > nukemods releases > Theme packs

Reply
 
LinkBack Thread Tools Display Modes
theme/index.php
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 44
Join Date: Dec 2002
theme/index.php - 05-21-2003, 02:57 PM

running all aspects of the home page from http://www.pixdesign.ch/en


I was wondering if this is possible. here is the code:

Code:
function themefooter() {
    global $index, $bgcolor22, $bgcolor10, $sd;
    echo "
";
    if ($index == 1) {
	echo "</td><td><img src=\"themes/skinner/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"$bgcolor22\">\n";
	$sd="right";
	blocks(right);
	//echo "<img src=\"themes/skinner/images/backend.gif\" width=\"100%\" height=\"20\">";
    }
 else {
	echo "</td><td colspan=\"2\"><img src=\"themes/skinner/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\">";
    }
    echo "

</td></tr></table>\n"
	."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" width=\"100%\" background=\"themes/skinner/images/footer.gif\" width=\"800\" height=\"70\"><tr><td width=\"100%\" valign=\"top\">"
	."<center>
";
    echo "<font color=\"#FFFFFF\"><span style=\"font-size: 6pt\">Theme design ©2003 by </span><a href=\"http://www.pixdesign.ch/\"><font color=\"#FFFFFF\"><span style=\"font-size: 6pt\">pixdesign.ch</span></a>!";
	footmsg();
	

    echo "</center></td></tr></table></td></tr></table></td></tr></table></td></tr></table>";
}

How would I add this, which is from another theme footer.html file from another theme:

Code:
<td><div align="center"><a href="http://www.freeimagebrowser.com/">
            [img]http://www.freeimagebrowser.com/images/visualizer_88x31.gif[/img]</a>
           </div>
           
<center><iframe src="http://leader.linkexchange.com/X1696924/showiframe?" width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no>
[img]http://leader.linkexchange.com/X1696924/showle?[/img]</iframe>
[img]http://leader.linkexchange.com/X1696924/showlogo?[/img]
</center>

</td>
I want to add this so it shows below the footer.gif and the $footer_message
at the bottom of the page at http://www.sportsrant.com
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
05-21-2003, 04:32 PM

Here's your last code converted to work in php

Code:
echo"<td><div align=\"center\"><a href=\"http://www.freeimagebrowser.com/\"> "
  . "            <img src=\"http://www.freeimagebrowser.com/images/visualizer_88x31.gif\" "
  . "             width=\"88\" height=\"31\" alt=\"Visualizer image browser - Download today!\" "
  . "            border=\"0\"></a> "
  . "           </div> "
  . "            "
  . "<center><iframe src=\"http://leader.linkexchange.com/X1696924/showiframe?\" width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no> "
  . "<a href=\"http://leader.linkexchange.com/X1696924/clickle\" target=\"_top\"><img width=468 height=60 border=0 ismap alt=\"\" src=\"http://leader.linkexchange.com/X1696924/showle?\"></a></iframe>
<a href=\"http://leader.linkexchange.com/X1696924/clicklogo\" target=\"_top\"><img src=\"http://leader.linkexchange.com/X1696924/showlogo?\" width=468 height=16 border=0 ismap alt=\"\"></a>
</center> "
  . " "
  . "</td>"
 ."";
take it and try pasting it in your above code for the function themefooter. You may have to play with it a little to get it like you want. The iframe may bugger it though..worth a try.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 44
Join Date: Dec 2002
05-21-2003, 04:38 PM

thanks man I will play with it, i really apprecaite it
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 44
Join Date: Dec 2002
05-21-2003, 04:42 PM

worked like a charm and you actually taught me something that I can use in the futre. I really appreciate it mike
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
05-21-2003, 08:28 PM

Hey just so youknow, I actually just took your original HTML code and pasted it in the Nuke Tools/ HTML to PHP and bammo. Great tool.

Glad I could help :-)

mikem
   
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
Right Blocks not showing On index.php Tag Nuke 7.x - General 1 08-18-2005 11:02 AM
Problem with index.php! boltz Nuke 7.x - General 1 07-18-2005 10:37 PM
F1 theme in portal but subsilver in forum admin index! WHY? SlashDot Theme packs 0 11-25-2004 01:32 PM
the fourm index in homepage ? aioli Purged Topics 2 01-31-2003 05:54 PM
Problems with index.php HELP ME! darkdan Purged Topics 7 01-01-2003 08:28 PM




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