ASP程序 文章页面 怎么调用才能使文章页面的标题是 文章标题-栏目-网站名称
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
Const dbdns = "./"
Const Htmldns = "./"
Const Base_Target = ""
Const ChannelID = 1
%>
<!--#include file="AppCode/Conn.asp"-->
<!--#include file="AppCode/fun/function.asp"-->
<!--#include file="AppCode/Class/Ok3w_Article.asp"-->
<!--#include file="vbs.asp"-->
<%
id=myCdbl(Request.QueryString("id"))
Set Article = New Ok3w_Article
Call Article.HitsAdd(Id)
Call Article.Load(Id)
If Article.IsPass=0 Then Call Page_Err("文章已经关闭,返回首页http://www.duba7.com")
If Article.IsDelete=1 Then Call Page_Err("文章已经删除,返回首页http://www.duba7.com")
ClassID = Article.ClassID
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=Article.Title%>-<%Call Ok3w_Article_Class_Nav(Article.SortPath)%></title> 这里是我修改后的,但是有问题,这里调用来标题显示是这样显示了,但是他显示结果里面有链接
<title>龙宝宝与诗句有关的名字集合你可以选选-<a href="./list.asp?id=66">微软杀毒软件</a> >> <a href="./list.asp?id=89">二性知识</a></title>
<meta name="keywords" content="<%=Replace(Article.Keywords,"|",",")%>" />
<meta name="description" content="<%=Article.Description%>" />
<script language="JavaScript" src="js/js.js"></script>
<script language="javascript" src="js/ajax.js"></script>
<link rel="stylesheet" type="text/css" href="images/default/style.css">
</head>
<body>
<!--#include file="head.asp"-->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="nav">
<tr>
<td><strong>当前位置:</strong><a href="./">网站首页</a> >> <%Call Ok3w_Article_Class_Nav(Article.SortPath)%> >> <%=Article.Title%></td>
<td align="right"><table border="0" cellspacing="2" cellpadding="0">
<form id="form1" name="form1" method="get" action="search.asp">
<tr>
<td><input name="q" type="text" id="q" size="37" maxlength="255" /></td>
<td><input type="image" name="imageField" src="images/default/so.gif" style="border-width:0px;" /></td>
</tr>
</form>
</table></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="MainTable" style="table-layout: fixed; word-wrap:break-word;">
<tr>
<td align="left" valign="top" style="border:1px solid #CCCCCC; padding:8px;">
<div class="a_tit"><h1><%=Article.Title%></h1>
<div class="a_kk"><%=Format_Time(Article.AddTime,1)%> 来源:<%=Article.ComeFrom%> 浏览:<span id="News_Hits"><%=Article.Hits%></span>次</div>
</div>
<div class="zoom">
<%If Article.Description="" Then%>
<%Else%>
<div class="a_ad"><%=GetAdSense(17)%></div>
<div class="a_des"><strong>内容提要:</strong><%=OutStr(Article.Description)%></div>
<%End If%>
<div class="a_ad"><%=GetAdSense(16)%></div>
<%If Article.vUserGroupID=0 And Article.vUserJifen=0 Then%>
<%Call OutThisPageContent(Article.ID,Article.Content,"html")%>
<%Else%>
<iframe name="p_view" id="p_view" scrolling="No" src="c/p_view.asp?id=<%=Article.ID%>" height="200" onload="SetCwinHeight(this)" width="100%" frameborder="0"></iframe>
<%End If%>
<%If Article.IsUserAdd=1 Then%>
<div style="color:#0000FF;">感谢<strong><%=Article.Inputer%></strong>投稿</div>
<%End If%>
</div>
<div class="a_ad"><%=GetAdSense(5)%></div>
<div class="a_vote">
<script language="javascript">var ArticleID = <%=Article.ID%>;</script>
<script language="javascript" src="js/vote_a.js"></script>
</div>
<div class="a_pn">
<%Call Ok3w_Article_PreNext(Article.ClassID,Article.ID)%>
</div>
<div class="tit">
<div class="tit_b">
<strong>相关文章</strong>
</div>
<div class="tit_c">
<div class="dragTable">
<div class="middle" style="border:0px;"><%Call Ok3w_Article_List(Article.ClassID,8,1,30,False,False,True,1,False,"rnd")%></div>
</div>
</div>
</div>
<div class="tit">
<div class="tit_b">
<strong>相关评论</strong>
</div>
<div class="tit_c">
<div class="zoom">
<form method="post" action="">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>姓名:<span class="red12">*</span><br />
<input name="UserName" type="text" class="binput" id="UserName" size="12" maxlength="8" /></td>
<td> </td>
<td>联系QQ:<br />
<input name="QQ" type="text" class="binput" id="QQ" size="12" maxlength="20" /></td>
<td> </td>
<td>邮箱:<br />
<input name="Mail" type="text" class="binput" id="Mail" size="25" maxlength="100" /></td>
<td> </td>
<td>个人主页:<br />
<input name="Homepage" type="text" class="binput" id="Homepage" size="25" maxlength="100" /></td>
</tr>
</table>
评论:<span class="red12">*</span><br />
<textarea name="Content" cols="78" rows="6" class="binput" id="Content"></textarea>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>验证:<span class="red12">*</span> → </td>
<td class="vcode"><img src="c/validcode.asp" alt="看不清?点击换一个" name="strValidCode" width="40" height="10" border="0" id="strValidCode" onclick="Get_ValidCode('./');"/></td>
</tr>
</table>
<input name="ValidCode" type="text" class="binput" id="ValidCode" size="6" maxlength="4" />
<br />
<input name="bntSubmit" type="button" class="bbnt" id="bntSubmit" onclick="Ok3w_Book_Save(this.form,'./',2,<%=Article.ID%>);" value="Ok!立即提交" style="margin-top:15px; padding-top:5px; cursor:pointer;" />
<br />
<div style="margin-top:15px;">共有<strong><%=GetCommentsCount(2,Article.ID)%></strong>人对本文发表评论 <a href="./Comments.asp?TableID=<%=Article.ID%>&TypeID=2" style="color:#990000; text-decoration:underline;">查看所有评论</a></div>
</form>
</div>
</div>
</div>
</td>
<td width="346" align="right" valign="top"><!--#include file="right.asp"--></td>
</tr>
</table>
<!--#include file="foot.asp"-->
<script language="javascript">Ok3w_Article_Hits_Mood("<%=Htmldns%>",<%=Article.ID%>,"");</script>
</body>
</html>
[解决办法]
<title><%=Article.Title%>-<%Call Ok3w_Article_Class_Nav(Article.SortPath)%></title>
这里面的 <%Call Ok3w_Article_Class_Nav(Article.SortPath)%>
你弄个替换HTML函数
比如函数名为delhtml
<%Call delhtml(Ok3w_Article_Class_Nav(Article.SortPath))%>