<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<%
Response.ContentType = "text/html" 
Response.Charset = "UTF-8" 
Response.Codepage = 65001
%>
<!--#include file ="header.asp"-->

<div class="all-elements">
    
	<!--#include file ="menu.asp"-->
    
<%
Set baglanti = server.CreateObject("adodb.connection")
baglanti.open "Provider=Microsoft.Jet.oledb.4.0;Data Source=" & server.Mappath("kb45t49fehrgi5.mdb")

	Set giris = Server.CreateObject("ADODB.Recordset")
    sqlm = "SELECT * from notes where (code='"&session("code")&"' and high=1) order by id desc"
    giris.open sqlm, baglanti, 1, 3
	%>    

    <!-- Page Content-->
    <div id="content" class="snap-content">
        <div class="full-bottom"></div>
        <div class="content">
                <div class="container no-bottom">
                <h3>Önemliler</h3>
                <p>Herhangi bir notu önemliler sayfanıza ekleyerek gözönünde olmasını sağlayabilirsiniz.</p>
                    <div class="no-bottom" style="margin-top:-8px;">

                        

			<%
			if not giris.eof then
           	Do while not giris.eof
			%>
				<div class="container switch-box" style="background:#F4F4F4; padding-top:6px; padding-right:6px; padding-left:15px; margin-bottom:5px;">
                    <h4><a href="/detay/<%=giris("id")%>.html" style="margin-top:-6px; color:#333"><%=giris("name")%></a></h4>
                    <a href="#" class="switch switch-2">
                        <span>
                            <em><i class="fa fa-check"></i><br><i class="fa fa-plus"></i></em>
                        </span>
                    </a>
                    <span style=" float:right;margin-top:6px; margin-right:15px;"><%=left(giris("date"),10)%></span>
                    <div class="switch-box-content" style="overflow: hidden; display: none; background:#F4F4F4;">
                        <p style="margin-bottom:8px;"><%=giris("note")%></p>
                    </div>
                </div>
            <%
			giris.movenext
			loop
			else
			%>
            		<div class="static-notification-yellow tap-dismiss-notification">
                        <p class="center-text uppercase">Kayıtlı önemli not bulunamadı.</p>
                    </div>
            <%
			end if
			%>
               
            <div style="margin-top:10px;">&nbsp;</div> 
            <div class="decoration"></div>
            
                    </div>
                </div>
            </div>
        
            
	<%
    giris.close
	set giris=nothing

baglanti.close
Set baglanti = nothing
%>
      
        <!-- Page Footer-->
        <div class="footer">
            <div class="footer-socials half-bottom">
                <a href="#" class="footer-up"><i class="fa-menu fa-angle-up"></i></a>
            </div>
        </div>
                
    </div>   
</div>

</body>