Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
bowyersw
New Member
New Member


Joined: Jan 09, 2005
Posts: 22

PostPosted: Mon Jun 13, 2005 2:20 pm Reply with quote

The html tags you attempted to use are not allowed

Here is the code I am trying to use:

Code:
<html>

<head>
<title>NewestLeagues.gif</title>
<meta http-equiv="Content-Type" content="text/html;">
<!-- Fireworks MX Dreamweaver MX target.  Created Mon Jun 13 14:11:01 GMT-0400 (Eastern Standard Time) 2005-->
<scr ## ipt language="JavaScr ## ipt">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

//-->
</scr ## ipt>
</head>
<body bgcolor="#ffffff" onLoad="MM_preloadImages('NewestLeagues_r3_c3_f2.gif','NewestLeagues_r2_c6_f2.gif','NewestLeagues_r2_c6_f4.gif','NewestLeagues_r2_c6_f6.gif','NewestLeagues_r2_c6_f5.gif','NewestLeagues_r2_c6_f3.gif');">
<table border="0" cellpadding="0" cellspacing="0" width="550">
<!-- fwtable fwsrc="NewestLeagues.png" fwbase="NewestLeagues.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <tr>
   <td><img src="spacer.gif" width="16" height="1" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
   <td><img src="spacer.gif" width="179" height="1" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
   <td><img src="spacer.gif" width="9" height="1" border="0" alt=""></td>
   <td><img src="spacer.gif" width="344" height="1" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
  </tr>

  <tr>
   <td colspan="6"><img name="NewestLeagues_r1_c1" src="NewestLeagues_r1_c1.gif" width="550" height="8" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="8" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="5"><img name="NewestLeagues_r2_c1" src="NewestLeagues_r2_c1.gif" width="206" height="8" border="0" alt=""></td>
   <td rowspan="11"><img name="NewestLeagues_r2_c6" src="NewestLeagues_r2_c6.gif" width="344" height="442" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="8" border="0" alt=""></td>
  </tr>
  <tr>
   <td rowspan="2" colspan="2"><img name="NewestLeagues_r3_c1" src="NewestLeagues_r3_c1.gif" width="17" height="94" border="0" alt=""></td>
   <td colspan="2"><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('NewestLeagues_r3_c3','','NewestLeagues_r3_c3_f2.gif','NewestLeagues_r2_c6','','NewestLeagues_r2_c6_f2.gif',1);"><img name="NewestLeagues_r3_c3" src="NewestLeagues_r3_c3.gif" width="180" height="42" border="0" alt=""></a></td>
   <td rowspan="10"><img name="NewestLeagues_r3_c5" src="NewestLeagues_r3_c5.gif" width="9" height="434" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="42" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="2"><img name="NewestLeagues_r4_c3" src="NewestLeagues_r4_c3.gif" width="180" height="52" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="52" border="0" alt=""></td>
  </tr>
  <tr>
   <td rowspan="8"><img name="NewestLeagues_r5_c1" src="NewestLeagues_r5_c1.gif" width="16" height="340" border="0" alt=""></td>
   <td colspan="2"><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('NewestLeagues_r2_c6','','NewestLeagues_r2_c6_f4.gif',1);"><img name="NewestLeagues_r5_c2" src="NewestLeagues_r5_c2.gif" width="180" height="42" border="0" alt=""></a></td>
   <td rowspan="2"><img name="NewestLeagues_r5_c4" src="NewestLeagues_r5_c4.gif" width="1" height="96" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="42" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="2"><img name="NewestLeagues_r6_c2" src="NewestLeagues_r6_c2.gif" width="180" height="54" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="54" border="0" alt=""></td>
  </tr>
  <tr>
   <td rowspan="2"><img name="NewestLeagues_r7_c2" src="NewestLeagues_r7_c2.gif" width="1" height="88" border="0" alt=""></td>
   <td colspan="2"><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('NewestLeagues_r2_c6','','NewestLeagues_r2_c6_f6.gif',1);"><img name="NewestLeagues_r7_c3" src="NewestLeagues_r7_c3.gif" width="180" height="42" border="0" alt=""></a></td>
   <td><img src="spacer.gif" width="1" height="42" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="2"><img name="NewestLeagues_r8_c3" src="NewestLeagues_r8_c3.gif" width="180" height="46" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="46" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="2"><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('NewestLeagues_r2_c6','','NewestLeagues_r2_c6_f5.gif',1);"><img name="NewestLeagues_r9_c2" src="NewestLeagues_r9_c2.gif" width="180" height="42" border="0" alt=""></a></td>
   <td rowspan="4"><img name="NewestLeagues_r9_c4" src="NewestLeagues_r9_c4.gif" width="1" height="156" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="42" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="2"><img name="NewestLeagues_r10_c2" src="NewestLeagues_r10_c2.gif" width="180" height="54" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="54" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="2"><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('NewestLeagues_r2_c6','','NewestLeagues_r2_c6_f3.gif',1);"><img name="NewestLeagues_r11_c2" src="NewestLeagues_r11_c2.gif" width="180" height="42" border="0" alt=""></a></td>
   <td><img src="spacer.gif" width="1" height="42" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="2"><img name="NewestLeagues_r12_c2" src="NewestLeagues_r12_c2.gif" width="180" height="18" border="0" alt=""></td>
   <td><img src="spacer.gif" width="1" height="18" border="0" alt=""></td>
  </tr>
</table>
</body>
</html>


Now, on the regular htm page it shows up fine:
Only registered users can see links on this board! Get registered or login!

I don't understand why it won't transfer over to the "Welcome Block" thing we have at our site. Also, I tried adding the:

<?php
$content = <<<_HOME_

_HOME_;
?>


Just not sure if I did it right... Any help would be appreciated.
 
View user's profile Send private message Visit poster's website AIM Address
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6792
Location: Ha Noi, Viet Nam

PostPosted: Mon Jun 13, 2005 4:55 pm Reply with quote

This is a security *feature* of nuke.
The *allowed* html tag, if I remember correctly are defined in either config.php and/or mainfile.php as an array.
 
View user's profile Send private message Send e-mail
bowyersw
PostPosted: Mon Jun 13, 2005 6:41 pm Reply with quote

Thanks.

I fixed it after searching through the forums. You got me headed in the right direction.

Appreciate the info.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©