Is it possible for me to put the code below into a footer widget?
Right now I have it hard coded at the bottom of the index.php page.
Where the admin panel says Add DYNAMIC WIDGET AREAS there is a link that says: Style & edit FOOTER: Put the code into the text area named "Footer: Content".
I click the link and nothing happens. There's supposed to be a pop-up box is there not?
Here's the blog:
http://www.hitsnruns.com/blog/
PHP Code:
// --------------------------------------------------
// ### Include the directory path for the server root. ###
// --------------------------------------------------
include('../includes/AbsolutePath.inc.php');
// --------------------------------------------------
// ### Outputs footer links, copyright, trademark information. Footer function on each page. ###
// --------------------------------------------------
require($AbsolutePath.'functions/Footer.inc.php');
// --------------------------------------------------
// ### The eighth element in the array is the link to the blog. ###
// --------------------------------------------------
$OmitPage = 7;
// --------------------------------------------------
// ### Call the footer function. ###
// --------------------------------------------------
Footer($AbsolutePath,$OmitPage);
// --------------------------------------------------
// ### Insert the footer. ###
// --------------------------------------------------
echo '<div class="Footer">'.$Footer.'</div>';
// --------------------------------------------------
// ### Insert the logo. ###
// --------------------------------------------------
echo '<div class="LogoFooter"><img src="/images/LogoFooter.png" alt="Hits ‘n Runs D1 Baseball Scores"></div>';
// --------------------------------------------------
// ### Insert the copyright. ###
// --------------------------------------------------
echo '<div class="CopyTrade">'.str_replace("%YEAR%", gmdate("Y", time()), $CopyTradeState).'</div>';