| Featured |
Call of Duty 4 PHPNuke Theme, Call of Duty 4 PostNuke Theme, Call of Duty 4 Evo Theme, Call of Duty ...
$15.00
[ Enter Store ]
|
 |
| Main Menu |
|
|
 |
| Site Status |
Welcome Guest Join us!

  
 Registration is free and gives full access to site

Register | | | | Login:
|
| | | | | |  | Members: | | Today New: | 0 | | Yesterday: | 0 | | Total: | 7536 | | Last: | | maxfoot |
| | | | | Online | | Members: | 0 | | Guests: | 32 | | Total: | 32 |
| | | | | Online Members | | No online members |
|
|
 |
| Past News |
- Monday, December 22
- World of Warcraft Lich King Theme Released!
- Wednesday, September 17
- Warhammer Theme guild Dark Released!
- Saturday, August 23
- GuildDark Theme WoW Version Released!
- Saturday, July 19
- PHPNuke Themes: Clan Theme 33 Released!
- Saturday, July 05
- 3 More Joomla Templates Released!
- Monday, June 30
- PHPNuke Themes: Age of Conan Theme Released!
- Saturday, May 24
- Age of Conan PHPNuke themes released!
- Sunday, March 16
- GuildWars PHPNuke Theme Red Released
- Saturday, January 26
- PHPNuke Themes :Clan Red 30 Released!
- Saturday, December 15
- World Of WarCraft Nuke Theme Released!
Older articles
|
 |
|
| Author |
Message |
Miglio |
|
Post subject: Phpnuke CoD4 theme and modules messed up
Posted: Jan 14, 2009 - 05:09 PM
|
|
Joined: Jan 28, 2008
Posts: 5
Status: Offline
|
|
Hello, I am customer here and I am very newb with HTML and php.
After I got the theme here to create module I usually used Frontpage and then copy and paste HTML on Nuke Tool module creator. It worked fine since some months ago, now I went to update some modules by the same tools but they are messing up some HTML seems not work and there is the "/div>" at the end of every module.
Look: http://www.jocommunity.net/modules.php?name=Servers
this the code I got by Nuke tool:
Quote:
<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo"<body>"
. "<div align=\"center\">"
. " <center>"
. " <table border=\"0\" width=\"543\">"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p align=\"center\"><img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_CallofDuty4:ModernWarfare_84.jpg\" width=\"500\" height=\"95\"></p>"
. " <p align=\"center\"> "
. " <!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=212.187.209.176:28960&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_CallofDuty:WorldatWar_40.gif\" width=\"500\" height=\"95\">"
. " <p> "
. " <!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=208.167.243.207:16567&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p>"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_TeamFortress2_28.png\" width=\"500\" height=\"96\">"
. " <p>"
. " "
. " <!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=212.187.209.19:27015&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p>"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_Counter-Strike:Source_55.jpg\" width=\"500\" height=\"95\">"
. " <p>"
. " "
. " <!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=212.187.209.27:27015&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p>"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_DayofDefeat:Source_53.gif\" width=\"500\" height=\"95\">"
. " <p>"
. " "
. " <!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=212.187.246.81:27015&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p>"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_Left4Dead_38.jpg\" width=\"500\" height=\"95\">"
. " <p>"
. " "
. " <!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=78.159.102.101:27115&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_JediKnight:JediAcademy_55.png\" width=\"500\" height=\"95\">"
. " <p> "
. " <!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=208.43.15.208:29070&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. "!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=208.43.15.206:29070&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. " </p>"
. " <p> "
. " <!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=208.43.15.204:29070&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. " </p>"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_EnemyTerritory:QuakeWar_69.gif\" width=\"500\" height=\"95\">"
. " <p> "
. " <!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=208.167.243.208:27733&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. " </p>"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p>"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_UnrealTournamentIII_32.jpg\" width=\"500\" height=\"95\">"
. " <p>"
. " "
. " <!-- Start GameTracker Banner -->"
. "iframe src=\"http://cache.www.gametracker.com/components/html0/?host=66.55.142.11:7777&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " </table>"
. " </center>"
. "/div>"
. "</body>";
CloseTable();
include("footer.php");
?>
Same problems for other modules. How to fix it?
Thank you in advance |
|
|
| |
|
|
|
 |
mars |
|
Post subject: RE: Phpnuke CoD4 theme and modules messed up
Posted: Jan 15, 2009 - 02:08 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
It looks like you are missing the opening < for your iframes and some of the comments
Here is the fixed working code, you can see the changes
Code:
<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo"<body>"
. "<div align=\"center\">"
. " <center>"
. " <table border=\"0\" width=\"543\">"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p align=\"center\"><img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_CallofDuty4:ModernWarfare_84.jpg\" width=\"500\" height=\"95\"></p>"
. " <p align=\"center\"> "
. " <!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=212.187.209.176:28960&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_CallofDuty:WorldatWar_40.gif\" width=\"500\" height=\"95\">"
. " <p> "
. " <!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=208.167.243.207:16567&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p>"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_TeamFortress2_28.png\" width=\"500\" height=\"96\">"
. " <p>"
. " "
. " <!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=212.187.209.19:27015&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p>"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_Counter-Strike:Source_55.jpg\" width=\"500\" height=\"95\">"
. " <p>"
. " "
. " <!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=212.187.209.27:27015&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p>"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_DayofDefeat:Source_53.gif\" width=\"500\" height=\"95\">"
. " <p>"
. " "
. " <!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=212.187.246.81:27015&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p>"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_Left4Dead_38.jpg\" width=\"500\" height=\"95\">"
. " <p>"
. " "
. " <!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=78.159.102.101:27115&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_JediKnight:JediAcademy_55.png\" width=\"500\" height=\"95\">"
. " <p> "
. " <!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=208.43.15.208:29070&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. "<!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=208.43.15.206:29070&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. " </p>"
. " <p> "
. " <!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=208.43.15.204:29070&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. " </p>"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_EnemyTerritory:QuakeWar_69.gif\" width=\"500\" height=\"95\">"
. " <p> "
. " <!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=208.167.243.208:27733&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. " </p>"
. " <hr>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td align=\"center\" width=\"535\">"
. " <p>"
. " <img border=\"0\" src=\"http://www.jocommunity.net/modules/Clan_Members/images/Banner_UnrealTournamentIII_32.jpg\" width=\"500\" height=\"95\">"
. " <p>"
. " "
. " <!-- Start GameTracker Banner -->"
. "<iframe src=\"http://cache.www.gametracker.com/components/html0/?host=66.55.142.11:7777&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=1&showBlogs=0&width=200&height=421\" frameborder=\"0\" scrolling=\"no\" width=\"200\" height=\"421\"></iframe>"
. "<!-- End GameTracker Banner -->"
. " <hr>"
. " </td>"
. " </tr>"
. " </table>"
. " </center>"
. "/div>"
. "</body>";
CloseTable();
include("footer.php");
?>
|
|
|
| |
|
|
|
 |
Miglio |
|
Post subject:
Posted: Jan 15, 2009 - 01:40 PM
|
|
Joined: Jan 28, 2008
Posts: 5
Status: Offline
|
|
Thank you, the module works almost fine. But I noticed at the bottom of the module the "/div>" didn't disappear http://www.jocommunity.net/modules.php?name=Servers how to fix it?
Anyways it is so strange, I usually used Frontpage and Nuke Tool. Do you have any suggestion to me to not miss the stuff like <, should I use another site creator instaed of Frontpage? Are there any different "tools" to make module? Sorry to bother, I am very unskilled about website. I really appreciate your help.
Thank you! |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Jan 15, 2009 - 02:08 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
In the code look at
. "/div>"
and change that to . "</div>"
I use a text editor for coding, you will get better just by doing it.
So just keep at it and you will learn.  |
|
|
| |
|
|
|
 |
Miglio |
|
Post subject:
Posted: Jan 15, 2009 - 02:21 PM
|
|
Joined: Jan 28, 2008
Posts: 5
Status: Offline
|
|
Thank you! It works fine now!
Ah you know what? Maybe I found out why...I started to use Firefox as default browser time ago, now if I copy and paste the HTML code from Frontpage to online Nuke Tool module creator in a Firefox windows it gives me back a messed up php code missing "<" and stuff. If I use Explorer it gives me the right code...wow
About the text editor you right...also better I get an HTML manual
Thank you! |
|
|
| |
|
|
|
 |
|
|
|
|
|