You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 83 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - New Module Formating issue... [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
ryndog
Corporal
Corporal


Joined: Apr 29, 2003
Posts: 58

Location: USA

PostPosted: Tue Jun 10, 2003 4:02 pm Reply with quoteBack to top

Hello, I am have a formatting issue with a new module I am creating. It seems as if the footer and right blocks are not formating correctly. I think it may having something to do with way I have added html through echo commands in my file.

I have read the idiots guide and search for this problem on the forums for about an hour and have not seen any topics on it.

For the life of me I can't figure it out. Can someone take a quick look?

The site is at www.spokanenightmare.net/index.php and the module is called 'Sponsorship'.

Here is the php file that creates it:

Quote:
<?php

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}

if(!isset($mainfile)){
include("mainfile.php");
}



$index = 1;

include("header.php");

OpenTable();
echo "<p align='center'><b><br>\n";
echo "SPONSORSHIP OPPORTUNITIES</b></p>\n";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>\n";
echo "<tr>\n";
echo "<td bgcolor='#383838'><table width='100%' border='0' cellspacing='0' cellpadding='0'>\n";
echo "<tr>\n";
echo "<td bgcolor='#000000'><table width='100%' border='0' cellspacing='1' cellpadding='0'>\n";
echo "<tr>\n";
echo "<td height='30' background='themes/MissionImpossible/images/cellpic3.gif' bgcolor='#383838'><table width='100%' border='0' cellspacing='0' cellpadding='4'>\n";
echo "<tr>\n";
echo "<td><font class='block-title'><strong>Nightmare\n";
echo "TITLESPONSOR $10,000</strong></font></td>\n";
echo "</tr>\n";
echo "</table></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td bgcolor='#383838'><table width='100%' border='0' cellspacing='0' cellpadding='4'>\n";
echo "<tr>\n";
echo "<td>\n";
echo "<ul>\n";
echo "<li><font class='content'>Company patch on Game Uniform\n";
echo "(Nightmare Team Provided)</font></li>\n";
echo "<li><font class='content'>Corporate Banner at all\n";
echo "Spokane Nightmare home games (scoreboard), player\n";
echo "appearances and special events</font></li>\n";
echo "<li><font class='content'>Title recognition on all\n";
echo "printed materials & marketing collateral and media spots</font></li>\n";
echo "<li><font class='content'>Sign-up and literature tables\n";
echo "at all Nightmare home games</font></li>\n";
echo "<li><font class='content'>Company Logo on all Spokane\n";
echo "Nightmare printed materials</font></li>\n";
echo "<li><font class='content'>Company Logo printed on all\n";
echo "team promotional merchandise</font></li>\n";
echo "<li><font class='content'>Logo on the front cover of the\n";
echo "Nightmare media guide</font></li>\n";
echo "<li><font class='content'>Logo and ad on the back of all\n";
echo "Nightmare game tickets</font></li>\n";
echo "<li><font class='content'>100 Season tickets & media\n";
echo "guides to give to your valued partners and employees</font></li>\n";
echo "<li><font class='content'>Your promotional merchandise\n";
echo "at all our games and events</font></li>\n";
echo "<li><font class='content'>Your involvement announced\n";
echo "several times at our games and radio shows</font></li>\n";
echo "<li><font class='content'>Links from our Official Team\n";
echo "Website</font></li>\n";
echo "<li><font class='content'>Title sponsorship recognition\n";
echo "at all Spokane Nightmare special events</font></li>\n";
echo "<li><font class='content'>Team appearances at your\n";
echo "corporate events</font></li>\n";
echo "<li><font class='content'>Spokane Nightmare\n";
echo "commemorative plaque</font></li>\n";
echo "<li><font class='content'>Signed, Spokane Nightmare\n";
echo "league issued football & Commemorative team jersey<br>\n";
echo "<br>&</font></li>\n";
echo "</ul>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td height='26' background='themes/MissionImpossible/images/cellpic1.gif' bgcolor='#272727'>&</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "\n";
CloseTable();

include("footer.php");
[/quote]

Thank you for your time in advance Smile


Last edited by ryndog on Tue Jun 10, 2003 4:12 pm; edited 2 times in total
Find all posts by ryndogView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
ryndog
Corporal
Corporal


Joined: Apr 29, 2003
Posts: 58

Location: USA

PostPosted: Tue Jun 10, 2003 4:04 pm Reply with quoteBack to top

OMG... Im sorry. Im in the 'BLOCKS' section. Can someone move this to the 'MODULES' forum. Sorry about that admins.
Find all posts by ryndogView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Tue Jun 10, 2003 5:50 pm Reply with quoteBack to top

Before I try to answer this, there is a much easier way Smile. Instead of all the echo statements, just use regular html like this SINCE YOU ARE NOT USING PHP IN YOUR Html. Then see if you can find the maistake Smile
Code:
<?php

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}

if(!isset($mainfile)){
include("mainfile.php");
}



$index = 1;

include("header.php");

OpenTable();
?>

PUT REGULAR HTML HERE

<?
CloseTable();

include("footer.php");
?>

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
ryndog
Corporal
Corporal


Joined: Apr 29, 2003
Posts: 58

Location: USA

PostPosted: Tue Jun 10, 2003 7:39 pm Reply with quoteBack to top

Ok thanks. I ran across that too. I've changed it. I spend a few hours comparing and messing with the tables to try and get it to format right, with no avail. Im alright when it comes to HTML, however tables confuse me sometimes.

Still show up with the same format problems, seems the main HTML im putting in is in a table with the right blocks and footer.

You can see it at http://www.spokanenightmare.net/modules.php?name=Sponsorship

Here is the new .php file:

Quote:


<?php

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}

if(!isset($mainfile)){
include("mainfile.php");
}



$index = 1;

include("header.php");

OpenTable();
?>

<p align="center"><b><br>
SPONSORSHIP OPPORTUNITIES</b></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#383838"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#000000"><table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="30" background="themes/MissionImpossible/images/cellpic3.gif" bgcolor="#383838"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><font class="block-title"><strong>Nightmare
TITLESPONSOR $10,000</strong></font></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#383838"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td>
<ul>
<li><font class="content">Company patch on Game Uniform
(Nightmare Team Provided)</font></li>
<li><font class="content">Corporate Banner at all
Spokane Nightmare home games (scoreboard), player
appearances and special events</font></li>
<li><font class="content">Title recognition on all
printed materials & marketing collateral and media spots</font></li>
<li><font class="content">Sign-up and literature tables
at all Nightmare home games</font></li>
<li><font class="content">Company Logo on all Spokane
Nightmare printed materials</font></li>
<li><font class="content">Company Logo printed on all
team promotional merchandise</font></li>
<li><font class="content">Logo on the front cover of the
Nightmare media guide</font></li>
<li><font class="content">Logo and ad on the back of all
Nightmare game tickets</font></li>
<li><font class="content">100 Season tickets & media
guides to give to your valued partners and employees</font></li>
<li><font class="content">Your promotional merchandise
at all our games and events</font></li>
<li><font class="content">Your involvement announced
several times at our games and radio shows</font></li>
<li><font class="content">Links from our Official Team
Website</font></li>
<li><font class="content">Title sponsorship recognition
at all Spokane Nightmare special events</font></li>
<li><font class="content">Team appearances at your
corporate events</font></li>
<li><font class="content">Spokane Nightmare
commemorative plaque</font></li>
<li><font class="content">Signed, Spokane Nightmare
league issued football & Commemorative team jersey<br>
<br>&</font></li>
</ul>
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="26" background="themes/MissionImpossible/images/cellpic1.gif" bgcolor="#272727">&</td>
</tr>
</table>

</table>

<?
CloseTable();

include("footer.php");
?>



Thanks again.
Find all posts by ryndogView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Tue Jun 10, 2003 7:49 pm Reply with quoteBack to top

You will have to figure out where, but you have 5 table open tags and only 4 table close tags Smile Shouldn't be that hard Wink

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
ryndog
Corporal
Corporal


Joined: Apr 29, 2003
Posts: 58

Location: USA

PostPosted: Tue Jun 10, 2003 10:14 pm Reply with quoteBack to top

Thanks for the hint. Im glad you didn't point it straight out. Got it working. Your awesome Raven. I rememebr you helped me back about 4 months ago with another issue I was having when I go tinto php nuke. Thanks again.
Find all posts by ryndogView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.227 Seconds - 269 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::