<%@ Language=VBScript %> <% 'שליפת נתוני הערך מכל הטבלות הרלוונטיות כדי להציג את נתוניו. הטבלאות הן 'value, value_user, site_search, more '(אולי גם קטגוריה) set rs=Server.CreateObject("adodb.recordset") 'sqlstr="select count(*) from ency_category where category_id="&Request("id1") 'rs.Open sqlstr,con,3,3 'cc=rs.Fields(0) 'Response.Write("cc="&cc) 'rs.Close set rsCount=Server.CreateObject("adodb.recordset") set rsSub=Server.CreateObject("adodb.recordset") sqlstr="select * from ency_categories order by name" rsSub.Open sqlstr ,con,3,3 rsSub.MoveFirst %> אנציקלופדיה יהודית - דעת
לדף ראשי

<%if Request("id1")>0 then Response.Write("ערכים בנושא") Response.Write(" ") Response.Write(subject1) Response.Write("") else Response.Write("כל הערכים") end if%>
<%if Request("id1")=0 then Response.Write("") Response.Write(" ") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("") Response.Write("
אבגדהוזחטיכלמנסעפצקרשת
") end if%>
<% if Request("id1")>0 then aaa="select name,value_id from category_value_name where category_id="&Request("id1")&"order by name" rs.Open aaa, con,3,3 rsCount.open "select count(*) from category_value_name where category_id="&Request("id1"), con,3,3 else if Request("ot")="" then ot="א" else ot=Request("ot") end if sqlstr="select name,value_id from ency_exchange where name like '"&ot&"%' and is_name=1 order by name" rs.Open sqlstr , con,3,3 sqlstr="select count(*) from ency_exchange where name like '"&ot&"%'"&" and is_name=1" rsCount.open sqlstr, con,3,3 end if cc=rsCount.Fields(0) rsCount.Close set rsCount=nothing 'Response.Write(cc) num1=0 Response.Write("") Response.Write("
    ") end if loop Response.Write("
") rs.Close set rs=Nothing con.Close set con=nothing %>