Help


Block Creator

  [  Back to Block Creator  ]  
Let's assume that we have this html
 
Code:

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<p align="center"><font size="7">PHP-Nuke tools</font></p>
<p align="center">by</p>
<p align="center"><a href="http://www.BestBuildPC.net/"><font size="7">BestBuildPC Designs</font></a></p>
</body>
</html>

 

Remove this

Code:
 
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>

</body>
</html>


 


And now the code looks like this

Code:

<p align="center"><font size="7">PHP-Nuke tools</font></p>
<p align="center">by</p>
<p align="center"><a href="http://www.BestBuildPC.net/"><font size="7">BestBuildPC Designs</font></a></p>

 

To make the block, we copy and paste in the Block Creator top block

We click on “Create Block” and as a result we have

Code:

<?php
/****************************************************************************/
/* Generated by Block Creator - By BestBuildPC Designs (www.BestBuildPC.net) */
/* PHP-Nuke Tools v4.00                                                                                 */
/****************************************************************************/
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
$ content = "<p align=\"center\"><font size=\"7\">PHP-Nuke tools</font></p> ";
$ content .= "<p align=\"center\">by</p> ";
$ content .= "<p align=\"center\"><a href=\"http://www.BestBuildPC.net/\"><font size=\"7\">BestBuildPC Designs</font></a></p> ";
?>
 


Now open notepad and paste the code given in the Block Creator bottom block, and save it as block-whatever.php


And you are ready!!
Activate the block from http://www.yoursite.com/admin.php?op=blocks
 



  [  Back to Block Creator  ]  
 
  [  Back to PHP-Nuke Tools Main  ]  
 
PHP-Nuke Tools v4.00
ByBestBuildPC