<html>
<%
Dim db_yolu,dsn
dbyolu = Server.MapPath("../db/vt.mdb")
dsn = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & dbyolu
Set conn=CreateObject("Adodb.Connection")
conn.open (dsn)
Set duy=CreateObject("Adodb.Recordset")
duy.open "Select * from duyurular",conn,3,3
Set anket=CreateObject("Adodb.Recordset")
anket.open "Select * from anket",conn,3,3
Set anketsec=CreateObject("Adodb.Recordset")
anketsec.open "Select * from anketsec",conn,3,3

%>
<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>ÇERKEZKÖY ATATÜRK İLKÖĞRETİM OKULU</title>
<base target="_self">
<style fprolloverstyle>A:hover {color: #959595}
</style>
<script language="javascript"> 
function anket() 	{ 	open ("anket/anket.asp","","height=288,width=372,scrollbars=no,resizable=no,status=no,menubar=no,toolbar=no,location=no") 	} 
</script>
<script  language="JavaScript">
function openWin(theURL,winName,features) {
  	window.open(theURL,winName,features);
}
// -->
</script>
<style type="text/css">
#divCont{width:168; height:100; overflow:hidden; clip:rect(0,168,100,0); visibility:hidden}
#divText{position:absolute; top:0; left:0;font-family:verdana;font-size:11px;}
</style>

<script type="text/javascript" language="JavaScript">
function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
	return this
}
bw=new checkBrowser()

// KAYMA HIZI
var speed=16

//Sets variables to keep track of what's happening
var loop, timer

//Object constructor
function makeObj(obj,nest){
    nest=(!nest) ? '':'document.'+nest+'.'
	this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
  	this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;
	this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight
	this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight
	this.up=goUp;this.down=goDown;
	this.moveIt=moveIt; this.x; this.y;
    this.obj = obj + "Object"
    eval(this.obj + "=this")
    return this
}
function moveIt(x,y){
	this.x=x;this.y=y
	this.css.left=this.x
	this.css.top=this.y
}

//Makes the object go up
function goDown(move){
	if(this.y>-this.scrollHeight+oCont.clipHeight){
		this.moveIt(0,this.y-move)
			if(loop) setTimeout(this.obj+".down("+move+")",speed)
	}
}
//Makes the object go down
function goUp(move){
	if(this.y<0){
		this.moveIt(0,this.y-move)
		if(loop) setTimeout(this.obj+".up("+move+")",speed)
	}
}

//Calls the scrolling functions. Also checks whether the page is loaded or not.
function scroll(speed){
	if(loaded){
		loop=true;
		if(speed>0) oScroll.down(speed)
		else oScroll.up(speed)
	}
}

//Stops the scrolling (called on mouseout)
function noScroll(){
	loop=false
	if(timer) clearTimeout(timer)
}
//Makes the object
var loaded;
function scrollInit(){
	oCont=new makeObj('divCont')
	oScroll=new makeObj('divtext','divCont')
	oScroll.moveIt(0,0)
	oCont.css.visibility='visible'
	loaded=true;
}
</script>

</head>

<body leftmargin="0" topmargin="0" link="#000000" vlink="#000000" alink="#747474"  onload="scrollInit()">

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="564" id="AutoNumber1" height="683">
  <tr>
      <td width="557" height="74" valign="top">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber11" height="163">
          <tr>
          <td width="100%" height="3">
          <img border="0" src="../IMAGES/zyr/ot.jpg" width="390" height="28"></td>
        </tr>
          <tr>
          <td width="100%" height="103">
          <p align="left"><span style="FONT-FAMILY: Verdana">
          <font face="Arial" size="2">Okulumuz iki ayrı bölümden oluşmaktadır. 
          Birinci bölüm 1934'te eğitim öğretime başlamıştır.Birinci bölümde 
          ikinci kademe sınıfları üçer şube halinde bulunmaktadır. Müdür ve 
          Müdür Yardımcısı odaları&nbsp; bir adet öğretmenler odası bu binada 
          bulunuyor. Ayrıca Okulumuzun Rehberlik sınıfı, Okul Kantini, Arşiv, 
          Depo binada bulunmaktadır.<br>
&nbsp;</font></span></td>
        </tr>
          <tr>
          <td width="100%" height="122">
          <div align="center">
            <center>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="392" id="AutoNumber13" height="114">
            <tr>
              <td width="3" height="75">
              </td>
              <td width="368" height="75">
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="103%" id="AutoNumber14" height="1">
                <tr>
                  <td width="104%" height="112" valign="top" align="center">
                  <p align="center">
                  <img border="0" src="../IMAGES/zyr/okulres.jpg" width="385" height="259"></td>
                </tr>
                </table>
              </td>

            </tr>
            <tr>
              <td width="392" colspan="2" height="1">
  
            </tr>
          </table>
            </center>
          </div>
          <div align="center">
            <center>
            <table border="0" cellpadding="0" cellspacing="0"   width="92%" id="AutoNumber12">

            </table>
            </center>
          </div>
          </td>
          </tr>
          <tr>
          <td width="100%" height="1">&nbsp;
          </div>
          </td>
          </tr>
        <tr>
          <td width="100%" height="1">
          </td>
        </tr>
        <tr>
          <td width="100%" height="65">
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber15">
            <tr>
              <td width="100%">
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber16">
                <tr>
                  <td width="97%" valign="top">
          <span style="FONT-FAMILY: Verdana"><font face="Arial" size="2">İkinci 
          bölüm 2004'te Eğitim -Öğretime açılmıştır.Okulumuzun yeni binasında 
          Müdür Yardımcısı odası, Öğretmenler odası, spor odası, depo, çok 
          amaçlı salon, iki laboratuar,müzik odası bulunmaktadır. 8 derslikte 
          sabahçı ve öğlenci olarak 2 ana sınıfı ve 14 tane de birinci kademe 
          sınıfları bulunmakta.</font></span></td>
                  <td width="39%">&nbsp;</td>
                </tr>
              </table>
              </td>
            </tr>
          </table>
          <p align="center">
          &nbsp;<p align="center">
          <font face="Verdana" size="2">
          ---============================---<br>
          Atatürk Cad. Gaziosmanpaşa<br>
          Atatürk İlköğretim Okulu<br>
          Tel: 0282 726 42 00</font></td>
        </tr>
      </table>
      </td>
	  <td width="173" valign="top" height="74">

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse"  width="100%" id="AutoNumber2">

<tr><td width="100%">
<table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3" height="121">
<tr>
  <td width="100%" style="border-style:dashed; border-width:1; " bgcolor="#F3F3F3" height="14">
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber10">
    <tr>
      <td width="20%" bgcolor="#F8F8F8">
      <p align="center"><img border="0" src="../IMAGES/Ortak/duyuru.jpg"></td>
      <td width="80%" bgcolor="#EBEBEB">
      <p align="left">
  <b><font face="Verdana" color="#800000" size="1">&nbsp; DUYURULAR</font></b></td>
    </tr>
  </table>
  </td></tr>
<tr>
  <td width="100%" style="border-style: dashed; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1" bgcolor=#F8F8F8 height="100"><font face="Verdana" style="font-size: 9pt">
<MARQUEE onmouseover='this.stop();' onmouseout='this.start(); 'direction='up' scrollamount='1' scrolldelay='40' top='0' left='15' width='160' height='237'>
<% 
for i=1 to duy.recordcount 
Response.Write "<P><a style='text-decoration: none' href=../ortak/duyurular/goster.asp?Id="&duy("id")&"><u><b><font color=#800000>" & duy("konu") & "</font></b></u> <br>" & left(duy("icerik"),81) & "..." & "<br><br></A></P></font>" 
duy.movenext 
next 
%></MARQUEE></td>
            </tr>
          </table>
          </td>
        </tr>
        <tr>
          <td width="100%" bgcolor="#EBEBEB"><b>
          <font size="2" face="Verdana" color="#800000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
          M.E.B HABERLER</font></b><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="94">
            <tr>
              <td width="100%" height="94">
              <embed width="167" height="134" src="http://www.meb.gov.tr/haberler/xml/3.swf"></td>
            </tr>
          </table>
          <p>&nbsp;</td>
        </tr>
        <tr>
          <td width="100%">
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber4">
            <tr>
              <td width="100%" align="center" bgcolor="#FBFBFB"> 

              <img border="0" src="../IMAGES/OGR/anket.gif"></td>
            </tr>
            <tr>
              <td width="100%" bgcolor="#FBFBFB" align="center">
              <p align="left"><b>
                  <font face="Verdana" size="1" color="#800000"><span lang="en">
                  <br>
              »</span> </font>
            
 <font face="Verdana" color=#800000 style="font-size: 9pt"><% Response.Write anket("soru")%></font><font face="Verdana" size="1" color=#800000><br>
&nbsp;</font></b></td>
            </tr>
          </table>
          </td>
        </tr>
        <tr>
          <td  width="100%">
        
  <form method="POST" action="defaulticerik.asp">
<% 
if request.form("OYLA")="OYLA" then
d=request("stanket")
anket(d)=anket(d)+1
anket.update
%>
<tr><td bgcolor=#FBFBFB>
<font face=verdana size=2><br>&nbsp;&nbspOyunuz işleme geçmiştirı<br><br></font>
<font face=Verdana size=1><b>&nbsp;&nbsp; <br>&nbsp; <span style=letter-spacing: 2> <a href=javascript:anket()>SONUÇLAR<br><br></br></a></span></b></font>

</td></tr>

<% else %>

            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
<% for i=1 to anketsec.recordcount 
if i=int(i/2)*2 then
                renk="#F8F8F8"
                else
                renk="#F3F3F3"
                end if

%>
              <tr>
                <td width="13%" align="center" 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">
                <input type="radio" value="v<%Response.Write i%>" <% if i=1 then Response.Write "checked" %> name="stanket"></td>
                <td width="87%" bgcolor=<% Response.Write renk%> 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;<% Response.Write anketsec("sec")%></font></td>
              </tr>
<% anketsec.movenext
   next %>

              <tr>
                <td width="100%" colspan="2" bgcolor="#FBFBFB">
                <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber6" height="34">
                  <tr>
                    <td width="50%" align="center" height="34">
                    <input type="submit" value="OYLA" name="OYLA" 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:54; height:22"54" ></td>
                    <td width="50%" height="34">
                    <font face="Verdana" size="1"><b>&nbsp;&nbsp; <br>
&nbsp; <span style="letter-spacing: 2"> 
                    <a title=":: anket sonuçları ::" href="javascript:anket()">SONUÇLAR</a></span></b></font></td>
                  </tr>
                </table>
                </td>
              </tr>
            </table>
          <% end if   %>  
          </form>



  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber8">
                <tr>
                <td width="100%" bgcolor="#F3F3F3" 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="100%" id="AutoNumber9">
                  <tr>
  <td bgcolor="#FFFFFF" width="171" height="27">
<div id="divCont" style="left: 10"> 
<div id="divText" >
 	 <%
Set rst=CreateObject("Adodb.Recordset")
rst.open "Select num,bolum from uyelik where aktif=1",conn,3,3
%><font face="Verdana" color="#FFFFFF">

                <% for i=1 to rst.recordcount 
                if i=int(i/2)*2 then
                renk="#F6F6F6"
                else
                renk="#FBFBFB"
                end if
                                rst.movenext
                next
                Response.Write "</table>"
                %> </font> 	 </div>
</div>
                  </tr>
                  <tr>
                <td bgcolor="#FFFFFF" align="center" height="19">
                
                 &nbsp;</td>
                  </tr>
                  <tr>
                    <td width="20%" bgcolor="#F8F8F8">
              <p align="center">

                    &nbsp;</td>
                    <td width="100%" bgcolor="#EBEBEB"><font color="#800000" size="1" face="Verdana"><b>
                &nbsp;
                
                </b></font></td>
                  </tr>
                </table>  
               </td>
                </tr>

</td>
</tr></table>



<p>&nbsp;</p>



<p>

</p>



</body>

</html>