I am naming them .php My last attempt was block-twitter.php.
Just to be sure...... this code is correct?
<?php
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(FILE));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo"<script src=\"http://widgets.twimg.com/j/2/widget.js\"></script>"
. "script>"
. "ew TWTR.Widget({"
. " version: 2,"
. " type: 'profile',"
. " rpp: 4,"
. " interval: 6000,"
. " width: 'auto',"
. " height: 300,"
. " theme: {"
. " shell: {"
. " background: '#11a7ed',"
. " color: '#000000'"
. " },"
. " tweets: {"
. " background: '#ffffff',"
. " color: '#000000',"
. " links: '#11a7ed'"
. " }"
. " },"
. " features: {"
. " scrollbar: false,"
. " loop: false,"
. " live: false,"
. " hashtags: true,"
. " timestamp: true,"
. " avatars: false,"
. " behavior: 'all'"
. " }"
. ").render().setUser('ArmedBadgerCom').start();"
. "/script>";
CloseTable();
include("footer.php");
?>
And if I remove the include for the header and footer, I should the be able to insert it into my header?
Again, thank you for your help!