<% const adOpenForwardOnly=0 const adOpenStatic=3 const adLockReadOnly=1 const adLockOptimistic=3 const adCmdText=1 dbWhere = server.MapPath("sriburin.mdb") set conn = Server.CreateObject("ADODB.Connection") conn.open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & dbWhere set rs = Server.CreateObject("ADODB.RecordSet") set rs10 = Server.CreateObject("ADODB.RecordSet") strSQL = "SELECT TOP 1 * FROM tbCounter" rs.open strSQL,conn,adOpenForwardOnly,adLockReadOnly,adCmdText if not(rs.eof) then visitor_no=rs("fVisitor_no") else visitor_no=0 end if rs.close if session("visitor")="" then visitor_no = visitor_no+1 strSQL = "UPDATE tbCounter SET fVisitor_no=" & visitor_no & "" rs.open strSQL,conn,adOpenStatic,adLockOptimistic,adCmdText session("visitor")=visitor_no end if dim visitor_show(8) visitor_text = right("0000000" & (visitor_no),7) for flag_visitor=1 to 7 visitor_show(flag_visitor)=mid(visitor_text,flag_visitor,1) next %> ---- โรงพยาบาลเกษมราษฎร์ ศรีบุรินทร์ ----


 
ข่าวสาร
              
โครงการปรับเปลี่ยนพฤติกรรมโรคเบาหวาน [ 2008-04-29 ]
ม่วนอก ม่วนใจ ดำหัวผู้ใหญ่ ปี๋ใหม่เมือง [ 2008-04-21 ]
ประชุมผู้ถือหุ้นสามัญประจำปี 2551 [ 2008-04-01 ]
โรคหัวใจ [ 2008-04-01 ]
Mother Class ครั้งที่ 1/2551 [ 2008-02-20 ]
ประมวลภาพ อบรม " รู้เท่าทัน มะเร็ง" [ 2008-02-13 ]
วันเด็กแห่งชาติ ปี2551 [ 2008-01-14 ]
ครบรอบ 15 ปีศรีบุรินทร์ [ 2008-01-11 ]
ออกหน่วยตรวจเคลื่อนที่ครูบาบุญชุ่ม [ 2008-01-11 ]
ซ้อมแผนอุบัติเหตุหมู่ [ 2008-01-10 ]
คณะนักศึกษาแลกเปลี่ยนวัฒนธรรม มฟล เยี่ยมชม ศรีบุรินทร์ [ 2007-12-20 ]
“ทำอย่างไรไม่ให้ไตวาย” [ 2007-12-20 ]
เทคนิคเสริมสร้าง IQดีEQเด่น [ 2007-11-22 ]
อบรมการป้องกันอัคคีภัยในโรงพยาบาลประจำปี 2550 [ 2007-11-13 ]
ลูกน้อยในครรภ์กับคุณแม่คนใหม่ ครั้งที่ 4 [ 2007-10-29 ]
               
แสดงหน้าที่ 1/6 [ หน้าถัดไป = 2 ]
1 [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ]
© 2005 ksbrhospital.com All rights Reserved.