<% set odalar = Server.CreateObject("ADODB.RecordSet") SQL="select * from ODALAR" odalar.open SQL,connect,1,3 Session("odac")=6 %> <% For l = 1 To odalar.RecordCount %> <% if odalar("Misafir")=0 then%> <% end if %> <% if odalar("Misafir")=1 then%> <% if Session("Uyemi")=1 then %> <% end if %> <% if Session("Uyemi")=0 then %> <% end if %> <% end if %> <% Session("odac")=Session("odac")+2 %> <% odalar.MoveNext NEXT odalar.close set odalar = Nothing %>

); degistir(<%=Session("odac")%>);" type=button value="<%=odalar("Odaadi")%>" style="font-weight: 700">

); degistir(<%=Session("odac")%>);" type=button value="<%=odalar("Odaadi")%>" style="font-weight: 700">

" onclick="MM_openBrWindow('yasakoda.asp','','status=yes,scrollbars=yes,width=1,height=1'); degistir(<%=odalar("Odasira")%>);" style="font-weight: 700">