<%
if session("aktif_uyemiz") <> "" then
%>
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>SMYO FORUM</title>
<style fprolloverstyle>A:hover {color: #C0C0C0}
</style>
<script  language="JavaScript">
function openWin(theURL,winName,features) {
  	window.open(theURL,winName,features);
}
// -->
</script>
  <%
Dim forumdb,forumdsn
forumdb = Server.MapPath("../../db/forum.mdb")
forumdsn = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & forumdb
Set conn=CreateObject("Adodb.Connection")
conn.open (forumdsn)
Set konu=CreateObject("Adodb.Recordset")
konu.open "Select * from konular where bas_id="&request("Id")&" order by id desc",conn,3,3
Set cevapsay=CreateObject("Adodb.Recordset")
%>

</head>

<body topmargin="0" leftmargin="0" link="#3A3A3A" vlink="#3A3A3A" alink="#3A3A3A">
<!-- #include file="ust.asp" -->
<% Response.buffer=true %>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="779" id="AutoNumber1">
    <tr>
      <td width="100%"><br>
&nbsp;<div align="left" style="width: 779; height: 280">
        <table border="1" cellpadding="4" style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%" id="AutoNumber2" cellspacing="0">
          <tr>
            <td width="3%" bgcolor="#FFFFFF" align="center" height="16" bordercolor="#FFFFFF">
            &nbsp;</td>
            <td width="48%" bgcolor="#FFFFFF" height="16"><b><font face="Verdana" size="2" color="#800000">KONULAR</font></b></td>
            <td width="12%" align="center" bgcolor="#FFFFFF" height="16">
            <b>
            <font face="Verdana" size="1" color="#800000">KONU SAHİBİ</font></b></td>
            <td width="7%" align="center" bgcolor="#FFFFFF" height="16">
            <b>
            <font face="Verdana" size="1" color="#800000">CEVAP</font></b></td>
            <td width="7%" align="center" bgcolor="#FFFFFF" height="16">
            <b>
            <font face="Verdana" size="1" color="#800000">OKUNMA</font></b></td>
            <td width="16%" align="center" bgcolor="#FFFFFF" height="16">
            <b>
            <font face="Verdana" size="1" color="#800000">AÇILIŞ TARİHİ</font></b></td>
          </tr>
          </table>
         
          <br>
          <table border="1" cellpadding="4" style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%" id="AutoNumber2" cellspacing="0" >
<% if konu.recordcount=0 then %>
<font face="verdana" color="#545454" size="2">Hiç Konu Yok !.. </font>
<% else %>
<% for i=1 to konu.recordcount %>

          <tr>
            <td width="4%" bgcolor="#F5F5F5" align="center" height="16">
            <font face="verdana" color="#545454" size="2">
            <img src="../../IMAGES/forum/konu.gif" border="0"></font></td>
            <td width="47%" bgcolor="#FBFBFB" height="16"><b>
            <font face="Verdana" size="2" color="#585858">&nbsp;<a style='text-decoration: none' href=mesajlar.asp?Id=<%=konu("id")%>&b_id=<%=konu("bas_id")%>><%=konu("konu")%></a></font></b></td>
            <td width="12%" align="center" bgcolor="#FBFBFB" height="16">
            <font face="Verdana" size="2">
            <a style='text-decoration: none' href=JavaScript:openWin('../arabul.asp?sec=num&edit=<%=konu("gond")%>','profil','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=no,width=460,height=165')>
            <%=konu("gond")%></a></font></td>
            <td width="7%" align="center" bgcolor="#FBFBFB" height="16">
            <font face="Verdana" size="2">              
            <%=konu("cevap")%></font></td>
            <td width="7%" align="center" bgcolor="#FBFBFB" height="16">
            <font face="Verdana" size="2"><%=konu("okunma")%></font></td>
            <td width="16%" align="center" bgcolor="#FBFBFB" height="16">
            <font face="Verdana" size="1"><%=konu("tarih")%></font></td>
          </tr>
<% 
konu.movenext
next
konu.movefirst
%>
 <%end if%>         
          
          </table>
      </div>
      </td>
    </tr>
  </table>
  </center>
</div>  <center>


  <br>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="779" id="AutoNumber4">
    <tr>
      <td width="100%">
      <table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
        <tr>
          <td width="45%" style="border-left-width: 1; border-right-width: 1; border-top-style: dashed; border-top-width: 1; border-bottom-style: dashed; border-bottom-width: 1">
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="78%" id="AutoNumber6">
            <tr>
              <td width="9%">
              <p align="center"><font face="verdana" color="black" size="1"><b>
              
              <img src="../../IMAGES/forum/yeni_konu.gif" align="right" border="0"></b></font></td>
              <td width="91%">&nbsp;<font face="Verdana" size="2"><a style="text-decoration: none" href="konuekle.asp?Id=<%=request("Id")%>">Yeni Konu Aç</a></font></td>
            </tr>
          </table>
          </td>
          <td width="27%" style="border-left-width: 1; border-right-width: 1; border-top-style: dashed; border-top-width: 1; border-bottom-style: dashed; border-bottom-width: 1">
          <p align="center">
              <img border="0" src="../../IMAGES/OGR/forum.gif" align="right"></td>
          <td width="12%" style="border-left-width: 1; border-right-width: 1; border-top-style: dashed; border-top-width: 1; border-bottom-style: dashed; border-bottom-width: 1">
          <font face="Verdana" size="2">
          &nbsp;<a style="text-decoration: none" title=":: Forum Sayfası ::" href="default.asp">Forum Sayfası</a></font></td>
        </tr>
      </table>
      </td>
    </tr>
  </table>
  </center>

&nbsp;</p>


<p align="center"><span lang="en">©</span> <font face="Verdana" size="2">SMYO 
Forum</font><font face="Times New Roman" size="7"><br>
<sup>…</sup></font></p>


</body>

</html>
<%
else
Response.Write "Bu sayfa öğrencilere özel sayfadır. Eğer öğrenciyseniz ana sayfadan giriş yapınız."
end if
%>