Hi Folks,
I posted a follow up to a thread in "please explain" then I noticed that my question did not fit under that topic. Nor did the
original one that started the thread but thats beside the issue....
Anyway here's the thing I created a new module
it'is here if you want to look. you can see it missing the right and left blocks. I would like to have these showing.
Here is the code I used to create the new blocks and thanks to
Bigner 75 for posting it the other thread it was very helpful for getting this fare on the new block.
| Code:: |
<?php
if (!defined('CPG_NUKE')) { exit; }
/*---------------------------------------------------------
Description:
iframe Module - CPG-Nuke Compatible
By: Stephen2417 aka HomeSlice (stephen2417@gmail.com)
http://www.stephen2417.com
Copyright © 2004 by Stephen2417
---------------------------------------------------------
Instructions:
Save as index.php, Upload to /modules/NAME/
(change the name if you wish to have more than one)
then fill in the config (url and size).
---------------------------------------------------------*/
/*--------------------[START CONFIG]-----------------------*/
$url = 'http://www.yoursite/htmlpage.html'; /* URL */
$size = array(
'width' => '100%', /* Width */
'height' => '500' /* Height */
);
$pagetitle .= 'title goes here';
/*---------------------[END CONFIG]------------------------*/
require_once('header.php');
OpenTable();
echo '<center>'
.'<iframe src="'.$url.'" width="'.$size['width'].'" height="'.$size['height'].'">'
.'Your browser dosen\'t support iframe\'s, Get a real browser. Firefox - getfirefox.com'
.'</iframe>'
.'</center>';
CloseTable();
?> |