coco777 Posted July 8, 2008 Share Posted July 8, 2008 Could do with some help if you would be so kind. I would like to use this flash banner http://woknroll.org/2.swf on this site http://woknroll.org Heres my theme.php <?php if (!defined('e107_INIT')) { exit; } // [multilanguage] @include_once(e_THEME."PROBLOGGER/languages/".e_LANGUAGE.".php"); @include_once(e_THEME."PROBLOGGER/languages/English.php"); // [theme] $themename = ""; $themeversion = ""; $themeauthor = " $themeemail = ""; $themewebsite = ""; $themedate = ""; $themeinfo = ""; define("STANDARDS_MODE", TRUE); $xhtmlcompliant = TRUE; $csscompliant = TRUE; define("IMODE", "lite"); define("THEME_DISCLAIMER", "<br /><i>".LAN_THEME_1."</i>"); define("USER_WIDTH","width:100%"); // [layout] $layout = "_default"; if( eregi(e_PAGE, "news.php") ||eregi(e_PAGE, "menus.php") ) { $HEADER = " <div id='toparea'> <div id='topwrapp'> </div> {SITELINKS} </div> </div> </div> <div id='headw'> <div id='headb'> <div id='header'> </div> </div> </div> <div id='content'> <div id='centerarea'> "; $FOOTER = " </div> <div class='clear'> </div> <div id='disclaimer'> {SITEDISCLAIMER} </div> </div> <div id='footer'> <div id='foot_l'> <div id='foot_r'> </div> </div> </div> </div> </div> "; }else{ $HEADER = " <div id='toparea'> <div id='topwrapp'> <div id='sitename'> {SITENAME} </div> </div> <div class='clear'> </div> </div> </div> <div id='wrapper'> <div id='wrapper2'> <div id='nav'> <div id='nav_l'> <div id='nav_r'> {SITELINKS} </div> </div> </div> <div id='headw'> <div id='headb'> <div id='header'> </div> </div> </div> <div id='content'> "; $FOOTER = " <div id='disclaimer'> {SITEDISCLAIMER} </div> </div> <div id='footer'> <div id='foot_l'> <div id='foot_r'> </div> </div> </div> </div> </div> "; } // [ news styles ] $NEWSSTYLE = " <div class='title'> {NEWSTITLE} </div> <div class='ninfo'> Updated {NEWSDATE=short} by {NEWSAUTHOR} </div> <div class='ntext'> {NEWSBODY} <br /> {EXTENDED} </div> <div class='ncomments'> {NEWSCOMMENTS} </div> "; define("ICONSTYLE", "float: left; border:0"); define("COMMENTLINK", LAN_THEME_3); define("COMMENTOFFSTRING", LAN_THEME_2); define("PRE_EXTENDEDSTRING", "<br /><br />[ "); define("EXTENDEDSTRING", LAN_THEME_4); define("POST_EXTENDEDSTRING", " ]<br />"); define("TRACKBACKSTRING", LAN_THEME_5); define("TRACKBACKBEFORESTRING", " :: "); // [linkstyle] define(PRELINK, ""); define(POSTLINK, ""); define(LINKSTART, ""); define(LINKEND, ""); define(LINKDISPLAY, 1); // 1 - along top, 2 - in left or right column define(LINKALIGN, "center"); // [tablestyle] function tablestyle($caption, $text, $mode){ global $style; echo " <div class='menu_top'><div class='menu_top_l'><div class='menu_top_r'><h3>{$caption}</h3></div></div></div> <div class='menu_w_l'><div class='menu_w_r'><div class='menu_text'>{$text}</div></div></div> <div class='menu_bot'><div class='menu_bot_l'><div class='menu_bot_r'></div></div></div> "; } // [commentstyle] $COMMENTSTYLE = " <table class='fborder' style='".USER_WIDTH."'> <tr> <td class='forumheader' style='width:20%; text-align:center'>{USERNAME}</td> <td class='forumheader' style='width:80%; text-align:right'>{TIMEDATE}</td> </tr> <tr> <td class='forumheader2' style='width:20%; text-align:center'>{AVATAR}<span class='smalltext'>{IPADDRESS}<br />{REPLY}</span></td> <td class='forumheader3' style='width:80%; text-align:left'>{COMMENT}</td> </tr> </table> "; // [chatboxstyle] $CHATBOXSTYLE = " <div class='indentchat'> <div style='border-bottom:2px solid #707070; margin-bottom:2px;'><b>{USERNAME}</b></div> <div style='padding:4px 2px;'>{MESSAGE}</div> <div style='text-align:right; font-size:10px;'>{TIMEDATE}</div> </div> "; ?> Link to comment https://forums.phpfreaks.com/topic/113727-flash-banner-on-e107/ Share on other sites More sharing options...
trq Posted July 8, 2008 Share Posted July 8, 2008 Your question is? Link to comment https://forums.phpfreaks.com/topic/113727-flash-banner-on-e107/#findComment-584431 Share on other sites More sharing options...
coco777 Posted July 8, 2008 Author Share Posted July 8, 2008 How do I incorporate a flash banner into E107 ? Link to comment https://forums.phpfreaks.com/topic/113727-flash-banner-on-e107/#findComment-584689 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.