全新手动修改里面的这一段有错误吧?
应该是:
3 include 下的global.func.php 文件
找到
- function fileext($filename) {
- return trim(substr(strrchr($filename, '.'), 1, 10));
- }
复制代码
然后在他下面多加两个函数
- 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>";
- }
复制代码
如果是按LZ提供的方法修改~就有可能出现导致Smilies 编辑和主题图标打开无显示的问题了
[ 本帖最后由 lqng 于 2007-5-26 14:25 编辑 ] |