<html>
<%
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 ozelmsj=CreateObject("Adodb.Recordset")
ozelmsj.open "Select * from ozelmsj where num='"&session("aktif_uyemiz")&"' order by id desc",conn,3,3
yeni=0

%>
<head>
<meta http-equiv="Content-Language" content="tr">
<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>&nbsp;GELEN KUTUSU</title>
<style fprolloverstyle>A:hover {color: #800000}
</style>
<script  language="JavaScript">
function openWin(theURL,winName,features) {
  	window.open(theURL,winName,features);
}
// -->
</script>

<script  language="JavaScript">
<!-- 
	
function hepsi(){
	
	for (i=0; i < document.tumsil.Id.length; i++){
		document.tumsil.Id[i].checked = document.tumsil.Ca.checked;
	}
}


// -->
</script>

</head>

<body topmargin="0" leftmargin="0" link="#000000" vlink="#000000" alink="#000000">
<!-- #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%">&nbsp;</td>
    </tr>
    <tr>
      <td width="100%">&nbsp;</td>
    </tr>
    <tr>
      <td width="100%">
      <form name="tumsil" method="POST" action="ozelmesajsil.ASP?Kayit=<%=ozelmsj.recordcount%>">
     
          <tr>
            <td width="100%">
            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3" height="28">
              <tr>
                <td width="51%" bgcolor="#F7F7F7" style="padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; border-top-style:solid; border-top-width:1; border-bottom-style:solid; border-bottom-width:1" height="28" bordercolor="#A0A0A0">
                <b><font face="Verdana" size="2" color="#800000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KONU</font></b></td>
                <td width="13%" bgcolor="#F7F7F7" style="padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; border-top-style:solid; border-top-width:1; border-bottom-style:solid; border-bottom-width:1" height="28" bordercolor="#A0A0A0">
                <p align="center"><b>
                <font face="Verdana" size="2" color="#800000">Gönderen</font></b></td>
                <td width="16%" bgcolor="#F7F7F7" style="padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; border-top-style:solid; border-top-width:1; border-bottom-style:solid; border-bottom-width:1" height="28" bordercolor="#A0A0A0">
                <p align="center"><b>
                <font face="Verdana" size="2" color="#800000">Tarih</font></b></td>
              </tr>
            </table>
            </td>
          </tr>
          <tr>
            <td width="100%">
            <table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
              
	          <% for i=1 to ozelmsj.recordcount   
	                      

                     

%>
              <tr>
                <td width="3%" style="border-left-width: 1; border-right-width: 1; border-bottom-style: dashed; border-bottom-width: 1">
                <p align="center">
                <input type="checkbox" name="Id<%=i%>" <% if request("full")="sec" then Response.Write "checked" end if %> value="<%=ozelmsj("id")%>" value="ON"></td>
                <td width="48%" bgcolor=#FBFBFB style="border-left-width: 1; border-right-width: 1; border-bottom-style: dashed; border-bottom-width: 1">
                <font face="Verdana" size="2">&nbsp;<% if ozelmsj("okunma")="H" then 
                yeni=yeni+1 %> <b> <%end if%> <a style='text-decoration: none' href=ozelmsjoku.asp?Id=<%=ozelmsj("id")%>><%=ozelmsj("konu")%></a><% if ozelmsj("okunma")="H" then %> </b> <%end if%></font>
                </td>
                <td width="13%" bgcolor=#FBFBFB style="border-left-width: 1; border-right-width: 1; border-bottom-style: dashed; border-bottom-width: 1" align="center">
                <font face="Verdana" size="2"><a style='text-decoration: none' href=JavaScript:openWin('../arabul.asp?sec=num&edit=<%=ozelmsj("gonderen")%>','profil','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=no,width=460,height=165')>
            <%=ozelmsj("gonderen")%></a></font></td>
                            <td width="16%" bgcolor=#FBFBFB  style="border-left-width: 1; border-right-width: 1; border-bottom-style: dashed; border-bottom-width: 1" align="center">
                <font face="Verdana" size="2"><%=left(ozelmsj("zaman"),16)%></font></td>
              </tr>    
              
              <% 
             ozelmsj.movenext
              next%>
            </table>
            </td>
          </tr>
          <tr><td width="100%">&nbsp;
          <% if request("full")="sec" then ull="" else ull="sec" end if %> <br>
          <table width="101%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
          <tr>
              <td width="61%">&nbsp;<span lang="en"><font face="Times New Roman" color="#800000">»</font></span>
              <font face="Verdana" size="2">&nbsp;<font color="#800000"><%=yeni%></font> 
              yeni, toplam <font color="#800000"><%=ozelmsj.recordcount%></font> adet mesajınız var.</font></td>
              <td width="5%">
              <p align="center">
              <img border="0" src="../../IMAGES/forum/CHECK.GIF" align="right"></td>
              <td width="13%">
              <p align="left"><font face="Verdana" size="2">
          <a href=gelen.asp?full=<%=ull%> style="text-decoration: none">Tümünü seç</a></font></td>
              <td width="3%">
              <p align="center">
              &nbsp;</td>
              <td width="120%">
              <input type="submit" value="SEÇİLENLERİ SİL" name="sil" style="font-family: Verdana; letter-spacing: 0; color: #000000; border: 1px solid #747474; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; background-color: #FBFBFB; width:120; height:22"54"" onClick="return confirm('Bu mesajı silmek üzeresiniz. \n\nSilmek istediğinizden eminmisiniz ? \t\t\t')"></td>
            </tr>
          </table>
          </td></tr>
        </table>
      </form>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="779" id="AutoNumber4" height="108">
        <tr>
          <td width="100%" height="26">
          <div align="center">
            <center>
          <table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111" width="779" id="AutoNumber7">
            
          </table>
            </center>
          </div>
          </td>
        </tr>
        <tr>
          <td width="100%" height="82">
          <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/cevapla.gif" align="right" border="0"></b></font></td>
              <td width="91%">&nbsp;<font face="Verdana" size="2"><a style="text-decoration: none" title=":: ÖZEL MESAJ GÖNDERMEK İÇİN TIKLAYIN ::" href="yenimesaj.asp">Yeni Mesaj</a></font></td>
            </tr>
          </table>
          </td>
          <td width="28%" 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">
              </td>
          <td width="11%" 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">
          &nbsp;</td>
        </tr>
      </table>
          </td>
        </tr>
      </table>
      </td>
    </tr>
  </table>
  </center>
</div>

<p></p>
              
<p align="center"><span lang="en">©</span> <font face="Verdana" size="2">ATATÜRK 
İLKÖĞRETİM 
Forum</font><font face="Times New Roman" size="7"><br>
<sup>…</sup></font></p>


<p align="center">&nbsp;</p>

</body>

</html>