导入后记得将函数内容复制到user.php文件?? 是这个吗??导入后用户无法注册和登陆??
  //----------显示漫画 function user_ShowMh($ecms) {global $empire,$navinfor,$public_r; $rexp="\r\n"; $fexp="::::::"; $morepic=$navinfor['morepic']; if(empty($morepic))         {                 return "";         } $rstr=""; $optionstr=""; $rr=explode($rexp,$morepic); for($i=0;$i<count($rr);$i++)         {                 $fr=explode($fexp,$rr[$i]);                 if($i==0)                 {                         $firstname=$fr[2];                         $firstpic=$fr[0];                 }                 $j=$i+1;                 $rstr.="mhnamer[".$j."]=\"".addslashes($fr[2])."\";                 mhpicr[".$j."]=\"".addslashes($fr[0])."\";                 ";                 $optionstr.="<option value=".$j.">第 ".$j." 页</option>";         }         ?>         <script type="text/javascript"> var mhnamer=new Array(); var mhpicr=new Array(); <?=$rstr?> function smallit(){                     var height1=PhotoViewer.images1.height;                     var width1=PhotoViewer.images1.width;                     PhotoViewer.images1.height=height1/1.2;                     PhotoViewer.images1.width=width1/1.2;            }                         function bigit(){                     var height1=PhotoViewer.images1.height;                     var width1=PhotoViewer.images1.width;                     PhotoViewer.images1.height=height1*1.2;                   PhotoViewer.images1.width=width1*1.2;            }              function fullit() {         var width_s=screen.width-10;         var height_s=screen.height-30;         window.open(PhotoViewer.PhotoUrl.value, "PhotoView", "width="+width_s+",height="+height_s+",left=0,top=0,location=no,toolbar=no,status=no,resizable=no,scrollbars=yes,menubar=no,directories=no"); } function realsize() {         PhotoViewer.images1.height=PhotoViewer.images2.height;              PhotoViewer.images1.width=PhotoViewer.images2.width; } function featsize() {         var width1=PhotoViewer.images2.width;                     var height1=PhotoViewer.images2.height;                     var width2=760;                     var height2=600;                     var h=height1/height2;         var w=width1/width2;         if(height1<height2&&width1<width2)         {                 PhotoViewer.images1.height=height1;                             PhotoViewer.images1.width=width1;                    }         else         {                 if(h>w)                 {                         PhotoViewer.images1.height=height2;                                   PhotoViewer.images1.width=width1*height2/height1;                            }                 else                 {                         PhotoViewer.images1.width=width2;                                    PhotoViewer.images1.height=height1*width2/width1;                           }         } } function GotoMhPage(page) {         page=parseInt(page);         document.PhotoViewer.location.href="<?=$public_r[newsurl]?>e/dm/ViewPhoto.html?url="+mhpicr[page];         document.ViewPhotoForm.thismhpage.value=page;         window.themhpicname.innerHTML=mhnamer[page];         document.ViewPhotoForm.tothepage.options[page-1].selected=true; } //上一页 function PriMhPage() { var thispage=parseInt(document.ViewPhotoForm.thismhpage.value); var num=mhpicr.length;         if(thispage<=1)         {                 alert("已是第一页");                 return "";         }         GotoMhPage(thispage-1); } //上一页 function NextMhPage() { var thispage=parseInt(document.ViewPhotoForm.thismhpage.value); var num=mhpicr.length;         if(thispage>=num-1)         {                 alert("已是最后一页");                 return "";         }         GotoMhPage(thispage+1); } </script>    <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">     <tr>        <td height="25"> <div align="center">            <input id="smallit" onclick="smallit();" type="button" value="- 缩小 -" name="smallit" />           <input id="bigit" onclick="bigit();" type="button" value="+ 放大 +" name="bigit" />           <input id="fullit" onclick="fullit();" type="button" value="全屏显示" name="fullit" />           <input id="realsize" onclick="realsize();" type="button" value="实际大小" name="realsize" />           <input id="featsize" onclick="featsize();" type="button" value="最合适大小" name="featsize" />         </div></td>     </tr>     <tr>        <td height="25"> <iframe id='PhotoViewer' name='PhotoViewer' width='100%' height='500' scrolling='Yes' frameborder='1' src='<?=$public_r[newsurl]?>e/dm/ViewPhoto.html?url=<?=$firstpic?>'></iframe></td>     </tr>     <tr>       <td height="25"> <div align="center" id="themhpicname"><?=$firstname?></div></td>     </tr>         <form name="ViewPhotoForm" method="POST" action="">     <tr>        <td height="25"> <div align="center">            <input type="button" name="Submit" value="上一页" onclick="PriMhPage()">                         <select name="tothepage" id="tothepage" onchange="GotoMhPage(this.options[this.selectedIndex].value)">                   <?=$optionstr?>           </select>                         <input type="button" name="Submit2" value="下一页" onclick="NextMhPage()">           <input name="thismhpage" type="hidden" id="thismhpage" value="1">         </div></td>     </tr>   </form> </table>                 <? } 
								 |