原帖由 7778901 于 2007-4-12 22:23 发表
点后台的魔法表情出现这个:
Fatal error: Unknown function: showswf() in D:\wwwroot\guanguanpn\wwwroot\bbs\admin\dgismiles.inc.php on line 18
我看了这里的所有贴。很多人和我一样的。。关于。。 ...
- 3 include 下的global.func.php 文件
- 找到 function fileext($filename) 这个函数
- 然后在他下面多加两个函数
- function fileexname($filename) {
- return trim(substr($filename,0,strpos($filename,".")));
- }
- function showswf() {
- echo "<span id=swfshow style=position:absolute;></span>
- <script type=text/javascript>
- var v = document.getElementById('swfshow');
- function showswf(sswf) {
- v.innerHTML='<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/DuDuwflash.cab#version=4,0,2,0 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=70% height=70%><PARAM NAME=movie VALUE=images/dgiflash/'+sswf+'.swf><param name=menu value=false><PARAM NAME=quality VALUE=high><PARAM NAME=play VALUE=false><param name=wmode value=transparent><embed src=images/dgiflash/'+sswf+'.swf quality=high wmode=transparent pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash type=application/x-shockwave-flash width=70% height=70%></embed>';
- v.style.width=500+'px';
- v.style.height=500+'px';
- v.style.left=(document.documentElement.scrollLeft+200)+'px';
- v.style.top=document.documentElement.scrollTop+'px';
- v.style.display='block';
- onxx=setTimeout('closeswf()',7000);
- }
- function closeswf() {
- v.style.display='none';
- clearTimeout(onxx);
- }
- </script>";
- }
复制代码
这个你还没有修改~~~~~ |