I am trying to change a block that is a HTML type over to use as content in Sample Block.
However no matter how I change the code after $content =:
Code:
$content = "Here goes the content you want in your new block";]
I cant get it right
This is the HTML code I want to ust in the block
Code:
<a href="http://www.multimodalmedia.com/site/modules.php?name=Forums">
<img src="/site/images/admin/faq.gif"> </a>
<b>EXTREME DREAMS ONLINE FORUMSl</b></font></center><br>
<br>
<P ALIGN=CENTER>
Exreme Dreams has created an interactive forum where useres can exchange information, ask question and post comments. </p>
<P ALIGN=CENTER>
Click on the icon above and giveit a try!
New to someof this.
Help.
Tony D
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Thu Jul 10, 2003 9:44 am
Code:
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (eregi("block-Sample_Block.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
$content = <<< _HTML_
<a href="http://www.multimodalmedia.com/site/modules.php?name=Forums">
<img src="/site/images/admin/faq.gif"> </a>
<b>EXTREME DREAMS ONLINE FORUMSl</b></font></center><br>
<br>
<P ALIGN=CENTER>
Exreme Dreams has created an interactive forum where useres can exchange information, ask question and post comments. </p>
<P ALIGN=CENTER>
Click on the icon above and giveit a try!
_HTML_;
?>
Make sure that there are NO psaces after the _HTML_ tags, only carriage returns.
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