<!--#include file="../Inc/Conn.asp" -->
<!--#include file="../Inc/SK.Session.asp" -->
<!--#include file="../Inc/SK.Funtion.asp" -->
<%if Not (Getconfig("SK_Client")="0" AND (Session("Manager")="1" OR (JudgePopedomTF(Session("UserName"),"SK200000000") AND JudgePopedomTF(Session("UserName"),"SK200000200") AND JudgePopedomTF(Session("UserName"),"SK200000201")))) then Call ReturnError()%>
<%
set rs=server.createobject("adodb.recordset")
if F("Lname")<>"" then
sql="select * from SK_LinkMan where SK_LName='"&F("Lname")&"'"
end if
rs.open sql,conn,1,1
if rs.eof then
 response.write "no"
else
 response.write "yes"
 end if
 rs.close
 set rs=nothing
Call CloseDB()
%>