Author Beyond
Date 2006-08-15 14:57
Posts: Hello evryone, I`ve got question about flash animation in SWF format.
I try put it in theme.php but nothing something wrong





echo '<body>' . _OPN_HTML_NL;
     OpenWaitBox ();
     echo '<div class="themeborder">' . _OPN_HTML_NL;
     echo '<div class="headertop"></div>' . _OPN_HTML_NL;
     echo '<div class="headermiddle"><a href="' . $opnConfig['opn_url'] . '"><img src="' . $opnConfig['opn_url'] . '/themes/' . $opnTheme['thename'] . '/images/headermiddel.png" alt="" width="800" height="81" border="0" /></a></div>' . _OPN_HTML_NL;     echo '<div class="headerdown">' . _OPN_HTML_NL;
     echo '' . _OPN_HTML_NL;
     echo '' . _OPN_HTML_NL;
     echo makenav_box_build ();
     echo '' . _OPN_HTML_NL;
     echo '' . _OPN_HTML_NL;
     echo '</div>' . _OPN_HTML_NL . _OPN_HTML_NL;
     echo '' . _OPN_HTML_NL;
     echo '' . _OPN_HTML_NL . _OPN_HTML_NL;
     if ($opnConfig['opnOption']['show_tplblock'] == 0) {




Then I change it for


echo '&lt;body>' . _OPN_HTML_NL;
     OpenWaitBox ();
     echo '<div class="themeborder">' . _OPN_HTML_NL;
     echo '<div class="headertop"></div>' . _OPN_HTML_NL;
     echo '<div class="headermiddle"><a href="' . $opnConfig['opn_url'] . '"> '/themes/' . $opnTheme['thename'] . &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="1000" height="120" id="gg" align="">
&lt;param name=movie value="gg.swf">&lt;param name=quality value=high>

&lt;/object>'. _OPN_HTML_NL;

     echo '<div class="headerdown">' . _OPN_HTML_NL;
     echo '' . _OPN_HTML_NL;
     echo '' . _OPN_HTML_NL;
     echo makenav_box_build ();
     echo '' . _OPN_HTML_NL;
     echo '' . _OPN_HTML_NL;
     echo '</div>' . _OPN_HTML_NL . _OPN_HTML_NL;
     echo '' . _OPN_HTML_NL;
     echo '' . _OPN_HTML_NL . _OPN_HTML_NL;
     if ($opnConfig['opnOption']['show_tplblock'] == 0) {


Please could u help me, whats wrong in this codes?


Print this page
Close this page

This article comes from OpenPHPnuke International Support

http://www.openphpnuke.com/