原帖由 nightcat56 于 2007-4-8 12:19 发表
Fatal error: Call to undefined function showswf() in /www/free.com/b/l/u/anime/htdocs/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=clsid27CDB6E-AE6D-11cf-96B8-444553540000 width=70% height=70%><ARAM NAME=movie VALUE=images/dgiflash/'+sswf+'.swf><param name=menu value=false><ARAM NAME=quality VALUE=high><ARAM 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>";
}
这个操作你应该没做.请看明白 我的说明再动手来安装.谢谢 |