解决了,感谢科讯官方, izdex,风
一、打开影视内容页模板,将
- <script type="text/JavaScript">
- function Play(id,num)
- {
- window.open('/Movie/play/?'+id);
- }
- </script>
替换为
- <script type="text/JavaScript">
- function Play(id,num)
- { if (num==0){
- window.open('/Movie/play/?'+id);
- }else{
- window.open('/Movie/play/?'+id+'|'+num);
- }
- }
- </script>
二、打开movie/play/play.js 加入红色部分
- p=p.replace(".html","");}
- catch(e){p=0};
- try{
- par=location.search.toLowerCase();
- p=par.split('|')[1];
- }
- catch(e){p=0};
this.doPlay(id,p);
三、接下来打开文件movie/play/index.asp
- Class ShowMovie
- Private KS,KSR,paras,G_P_Arr,Num
- Public Sub Kesion()
- paras=Replace(request.QueryString,".html","")
- G_P_Arr=Split(paras,"-")
- ID=G_P_Arr(0)
- If Instr(ID,"|")<>0 Then
- ID=KS.ChkClng(Split(G_P_Arr(0),"|")(0))
- Num=KS.ChkClng(Split(G_P_Arr(0),"|")(1))
Else - ID=KS.ChkClng(ID)
- Num=0
- End If
IF ID=0 Then Exit Sub
问题解决