iGuest 3 Report post Posted January 6, 2005 Hello, I wanna put the following html code in my php-nuke website: <!-- BEGIN Help Center Live Code, Š Michael Bird 2004 --><div id="HCLInitiate" style="position:absolute; z-index:1; top: 40%; left:40%; visibility: hidden;"><a href="javascript:initiate_accept()"><img src="http://nightwarrior.freenukehosting.com/helpcenter/inc/skins/default/images/lh/initiate.gif" border="0"></a><br><a href="javascript:initiate_decline()"><img src="http://nightwarrior.freenukehosting.com/helpcenter/inc/skins/default/images/lh/initiate_close.gif" border="0"></a></div><script type="text/javascript" language="javascript" src="http://nightwarrior.freenukehosting.com/helpcenter/lh/live.php"></script><!-- END Help Center Live Code, Š Michael Bird 2004 --> But I can't put it there cause the html tags are not allowed. Can anyone help me? Greetz,N!ghtwarr!or Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 7, 2005 Who told you that html tags are not allowed there? Didn't you know that html is compatible with php because it's similar in structure. In fact, php is used in making dynamic pages like login, signup, etc... while html is used if you only want to make your pages in simplicity. If you'll look at the code, there's a resemblance between the two.Hope this helps! Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 7, 2005 Close the PHP tag with ?> and enter ur text,then start the PHP code again with <?php Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 7, 2005 you could put it all in a print statement if you don't want to use multiple close and open php tags. print '<div id="HCLInitiate" style="position:absolute; z-index:1; top: 40%; left:40%; visibility: hidden;"><a href="javascript:initiate_accept()"><img src="http://nightwarrior.freenukehosting.com/helpcenter/inc/skins/default/images/lh/initiate.gif" border="0"></a><br><a href="javascript:initiate_decline()"><img src="http://nightwarrior.freenukehosting.com/helpcenter/inc/skins/default/images/lh/initiate_close.gif" border="0"></a></div><script type="text/javascript" language="javascript" src="http://nightwarrior.freenukehosting.com/helpcenter/lh/live.php"></script>'; Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 8, 2005 Yup,that's alos one of the ways Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 14, 2005 just copy and paste,.. must be out of PHP brackets Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 14, 2005 while html is used if you only want to make your pages in simplicity.I don't agree that HTML is for simplicity. In fact HTML code with CSS can do a very complex layout. HTML and CSS do the design and the look of the website while serverside scripts (PHP, JSP, ASP, etc) do the dynamic part of the website. Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 28, 2005 use mod Nuke Tools V.2 Share this post Link to post Share on other sites