Username
Password



 

 

 

Today



สมาชิกราชวิทยาลัยฯ 778 คน
ขณะนี้มีผู้ Online $users_online"; ?>
คน

Visitor

Since Nov.15,2001



ทุน APAO ของจักษุมูลนิธิ

Epidemiology of Refractive error in Thailand (128 Kb)
Available Frames in Thailand (368 Kb)
เรื่องของแว่นตา (5.46 Mb)
Management of Optical shop In Supthanburi (8.06 Mk)
Optical Shop in Bangkok (845 Kb)
โครงการแว่นตาราคาประหยัด (10.5 Mb)
ผลงานอาจารย์เชี่ยวชาญ (9.57 Mb)

 


จักษุแพทย์วิชาการ

= '$cur_date' ORDER BY ID DESC LIMIT $start,$end ") or die ("Can not SELECT table 'data' ") ; echo "
" ; while($data=mysql_fetch_array($result)) { $id=$data["ID"]; $section=$data["Section"]; $title=$data["Title"]; $sdetail=$data["Sdetail"]; $simage=$data["Simage"]; $post_by=$data["Post_by"]; $post_date=$data["Post_date"]; if (!$simage) { $simage = "nopic.gif"; } echo""; echo" "; echo" "; echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo"
   $title
  $sdetail
ผู้เขียน:  $post_by  วันที่ :$post_date  อ่านเพิ่ม >>
"; } // จบ while mysql_free_result($result); } //////////////////////////////// ฟังชั่นแสดงข่าวหน้าแรกแบบไม่ มีภาพ ///////////////////////////////////////// // $no=ประเภทข่าว // $start=เริ่มเร็กคอร์ดที่ // $end=จบเร็กคอร์ดที่ function Show_newpaper_nonpic($no,$start,$end) { $cur_date = date("Y-m-d") ; $result = mysql_query("SELECT * FROM data WHERE View_status='Y' && Section='$no' && Date_start <= '$cur_date' && Date_end >= '$cur_date' && ID!='24' ORDER BY ID DESC LIMIT $start,$end ") or die ("Can not SELECT table 'data' ") ; echo "
" ; while($data=mysql_fetch_array($result)) { $id=$data["ID"]; $section=$data["Section"]; $title=$data["Title"]; $post_by=$data["Post_by"]; $post_date=$data["Post_date"]; echo "  $title  
"; } // จบ while mysql_free_result($result); } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////// แสดง list box เรียกข้อมุลจากฐานข้อมูล function List_box() { $result = mysql_query("SELECT * FROM type_newpaper ") or die ("Can not SELECT Table 'type_newpaper' "); $num_rows= mysql_num_rows($result); if($num_rows != "") { echo ""; }else { echo ""; } } function List_num_province($pro,$no) { for($i=0;$i<$no;$i++) { $check_num = mysql_query("SELECT * FROM member_full WHERE work_pro='$pro[$i]' ") or die("Can not SELECT Table 'member_full' "); $center= mysql_num_rows($check_num) ; echo "$pro[$i]       มีจำนวนแพทย์ทั้งหมด     $center    คน
"; } } ?> Fatal error: Call to undefined function Show_newpaper_nonpic() in /var/www/rcoptwww/2009/ophthalmology-journal/index.php on line 1367