Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in C:\laragon\www\index.php on line 16
Notice: Undefined index: name in C:\laragon\www\includes\config.in.php on line 68
Notice: Undefined index: file in C:\laragon\www\includes\config.in.php on line 69
Notice: Undefined index: HTTP_CLIENT_IP in C:\laragon\www\includes\config.in.php on line 72
Notice: Undefined index: HTTP_X_FORWARDED_FOR in C:\laragon\www\includes\config.in.php on line 74
Notice: Undefined variable: PermissionFalse in C:\laragon\www\includes\config.in.php on line 83
Notice: Constant TB_RADAB_CAT already defined in C:\laragon\www\includes\config.in.php on line 205
//หากมีการเรียกไฟล์นี้โดยตรง
if (preg_match("/config.in.php/i",$PHP_SELF)) {
Header("Location: ../index.php");
die();
}
$DAY_FULL_TEXT = array(
"Sunday" => "อาทิตย์",
"Monday" => "จันทร์",
"Tuesday" => "อังคาร",
"Wednesday" => "พุธ",
"Thursday" => "พฤหัสบดี",
"Friday" => "ศุกร์",
"Saturday" => "เสาร์"
);
$DAY_SHORT_TEXT = array(
"Sunday" => "อา.",
"Monday" => "จ.",
"Tuesday" => "อ.",
"Wednesday" => "พ.",
"Thursday" => "พฤ.",
"Friday" => "ศ.",
"Saturday" => "ส."
);
$SHORT_MONTH = array(
"1" => "ม.ค.",
"2" => "ก.พ.",
"3" => "มี.ค.",
"4" => "เม.ย.",
"5" => "พ.ค.",
"6" => "มิ.ย.",
"7" => "ก.ค.",
"8" => "ส.ค.",
"9" => "ก.ย.",
"10" => "ต.ค.",
"11" => "พ.ย.",
"12" => "ธ.ค."
);
$FULL_MONTH = array(
"1" => "มกราคม",
"2" => "กุมภาพันธ์",
"3" => "มีนาคม",
"4" => "เมษายน",
"5" => "พฤษภาคม",
"6" => "มิถุนายน",
"7" => "กรกฏาคม",
"8" => "สิงหาคม",
"9" => "กันยายน",
"10" => "ตุลาคม",
"11" => "พฤศจิกายน",
"12" => "ธันวาคม"
);
$FULL_MONTH2 = array(
"01" => "มกราคม",
"02" => "กุมภาพันธ์",
"03" => "มีนาคม",
"04" => "เมษายน",
"05" => "พฤษภาคม",
"06" => "มิถุนายน",
"07" => "กรกฏาคม",
"08" => "สิงหาคม",
"09" => "กันยายน",
"10" => "ตุลาคม",
"11" => "พฤศจิกายน",
"12" => "ธันวาคม"
);
?>
//หากมีการเรียกไฟล์นี้โดยตรง
if (preg_match("/config.in.php/i",$PHP_SELF)) {
Header("Location: ../index.php");
die();
}
###### Function Check คำโฆษณา #######
// function check ข้อความว่าโฆษณามาหรือปล่าว
function checkban($message) {
$ban = array(
"โอกาศในการสร้างรายได้",
"ล-ด-น้ำ-ห-นั-ก",
"เริ่มต้นหุ่นดีด้วยวิธีง่ายๆ",
"ล-ด-น้ำ-ห-นั-ก-เ-กิ-น",
"อยากเปลี่ยนชีวิตให้ดีขึ้น",
"งานเสริม คีย์ข้อมูลที่บ้านผ่าน เน็ท",
"หุ่นดี เพรียว สมใจ ใน 4 สัปดาห์",
"PART TIME WORK…URGENT !!",
"ทำงานจากที่บ้าน","งาน Part time",
"Part Time / Full Time",
"โครงการทวีคูณรายได้",
"รายได้เสริม ธุรกิจ Part Time 5,000 บาท ต่อ สัปดาห์",
"งาน Part-Time โดยใช้สื่อ Internet",
"ด่วน! สนใจต้องการมีรายได้พิเศษ Full Time - Part Time",
"หารายได้จากการอ่านโฆษณาในเน๊ตเว็บไทย สมัครฟรี และมีรายได้สูงกว่าเว็บอื่นๆ",
"สวยเพรียว หุ่นกระชับ",
"หารายได้จากการอ่าน e-mail งานนี้สมัครฟรี",
"www.propaidemail.com เป็นเว็บไซต์รับจ้างโฆษณางานทาง",
"ขอเชิญอ่านดูก่อนครับถึงยังไงเราๆทุกท่านก็คงเช็คเมล์ทุกวันอยู่แล้ว",
"รูปร่างดีภายใน",
"รายได้พิเศษ",
"ถ้าคนรอบข้างคุณทักว่า “อ้วน” คุณจะรู้สึกอย่าง",
"Herbalife ผลิตภัณฑ์เพื่อสุขภาพและการลดน้ำหนัก",
"รายได้จากการอ่าน email",
"ธุรกิจจากที่บ้าน",
"รายได้จากการอ่านอีเมล์",
"รายได้เสริมนอกเวลา",
"ไม่แน่จริงอย่าคลิ๊ก http://",
"ตบนมให้โต",
"ธุรกิจนอกเวลา",
"ถึงเวลารึยังที่คุณจะหันมาใส่ใจสุขภาพและรูปร่างของตัวคุณเอง",
"ด่วน !!! รายได้พิเศษ Part-time ทำที่บ้านได้ใช้Internet ทำงาน",
"งาน par time ทำงานจากที่บ้าน",
"จากไขมัน...เป็น...เพรียว",
"สำหรับผู้ที่มองหาวิธีการลดน้ำหนักอย่างปลอดภัย",
"ผอมแล้วไม่กลับมาอ้วนอีก",
"รับประกันคืนเงินใน 30 วัน",
"1 กิโล เท่ากับ 7 กิโล..อันตรายที่คุณอาจยังไม่ทราบ",
"พร้อมผู้เชี่ยวชาญด้านโภชนาการให้คำแนะนำตลอดเวลา",
"ธุรกิจส่วนตัวควบคู่กับงานประจำ",
"www.siamwellnessplus.com/rich",
"1-2 ชั่วโมงต่อวัน โดยใช้สื่อ Internet",
"รับสมัครผู้ที่ต้องการรายได้เพิ่ม",
"รับคู่มือรายได้พิเศษฟรี click",
"รายได้พิเศษ กับการแบ่งเวลาวันละนิด",
"มีเวลาว่าง แล้วอยากได้",
"รายได้เสริมนอกพิเศษ",
"http://www.fast2slim.com/nice",
"ลดน้ำหนัก3-10 กิโลกรัม",
"รับรองผลภายใน 1 เดือน",
"ผลิตภัณฑ์จากธรรมชาติ",
"ลดความอ้วน",
"ไม่ต้องอดอาหาร",
"ผิวพรรณดูดีขึ้น",
"www.fast2slim.com/fast",
"http://www.ProPaideMail.com/pages/index.php?refid=jack99",
"การร้องขอการจ่ายค่าตอบแทน",
"ธุรกิจเสริมรายได้หลังเลิกงาน",
"0 ต่อสัปดาห์",
"www.propaidemail.com",
"ผอมได้ง่ายๆ",
"อ่านอีเมล์ก็ได้เงิน",
"หารายได้ง่ายๆทางอีเมล์",
"รายได้ง่ายๆ",
"ถ้าคุณส่องกระจกแล้วรู้สึกว่า",
"รายได้ขึ้นอยู่กับการเรียนรู้",
"http://www.how2rich.com",
"อีกนับแสนคนที่มีรายได้เสริม",
"ผ-ล-ข้-า-ง-เ-คี-ย-ง","ป-ล-อ-ด-ภั-ย-แ-ล-ะ-ไ-ด้-ผ-ล",
"http://website.ntserver.at",
"สอดคล้องกับสิ่งแพทย์แนะนำ",
"อิสระภาพทางเวลา",
"ไม่กระทบงานประจำ",
"www.how2rich.com/pim",
"ได้เงินจากการเล่นเน็ท",
"http://www.cashfiesta.com",
"รับออกแบบสื่อสิ่งพิมพ์โฆษณา",
"herbalife",
"สั่งซื้อสินค้าโทร",
"เวลาว่างสร้างรายได้เสริม",
"thaiwellness.cjb.net",
"ชิมฟรีก่อนซื้อ",
"คุณจะมีรายได้",
"http://www.hotmail4u.anglican.at",
"http://www.thaiadpoint.com/tap6/html/register.php?ref_id= 107751",
"เล่นเน็ตได้ตังค์",
"เล่น net ได้ตังค์",
"cd2004.kickme.to",
"http://www.clicknmoney.com",
"ธุรกิจเสริมหลังเลิกงาน",
"http://www.earnmoney2day.com/th/luck",
"http://www.pantipmarket.com/fashion/topic/F1725640.html",
"cd2004.kickme.to",
"Work@Home",
"www.slim2you.com",
"www.newdiet4u.com",
"www.newbiz4you.com",
"ได้เงินง่ายๆกับการคลิ๊กแบนเนอร์ และอ่านอีเมล์",
"www.allyousubmitters.com",
"www.fantasticashmails.com",
"www.amazingcashmails.com",
"รายได้พิเศษเฉลี่ย",
"www.siamwellnessplus.com",
"รายได้เสริมในเวลาว่าง ไม่รบกวนเวลางาน",
"เล่นเน็ตอย่างฉลาด",
"เปลี่ยนความรู้สึกเบื่องาน",
"โปรแกรมลดน้ำหนักที่ต้นเหตุ",
"ทำงานผ่าน internet",
"มาหุ่นเพรียวสวย",
"เปิดเน็ตไว้เฉยๆ ได้ตังค์",
"ดูแลสุขภาพและรูปร่าง",
"ทำงานเดือนเดียวก็ได้แล้วครับ",
"ง่ายๆรายได้ดีด้วย",
"กล้าที่จะแตกต่าง..กล้าที่จะร่ำรวย",
"PART-TIME หลังเลิกงาน",
"email.deep.at",
"ถ้าการถูกล่ามโซ่ติดกับโต๊ะทำงาน",
"panel.amiga500.at",
"www.cashfiesta.com",
"รวยทางลัด",
"good.battle.at",
"earnmoney2day",
"good.battle.at",
"myicon.ismyidol.com",
"bizness.american.at",
"dreamcome2.com02.com",
"hbb4u.com",
"viagra",
"businessinter.com",
"chasecreditcarda.info",
"chasecreditcardb.info",
"chasecredit"
) ;
/// หากว่าพบข้อความโฆษณา
for($i=0;$i" ;
echo "alert('!!!! ความคิดเห็นของท่านเข้าข่ายการโฆษณาชวนเชื่อ กรุณาอย่าโฆษณาครับ ขอบคุณครับ !!!!')" ;
echo "" ;
echo "";
exit() ;
}
}
###### Function Ban คำหยาบ #######
function banword($message=""){
//คำที่แบน
$wordban = array(
"ashole",
"a s h o l e",
"a.s.h.o.l.e",
"bitch",
"b i t c h",
"b.i.t.c.h",
"shit",
"s h i t",
"s.h.i.t",
"fuck",
"dick",
"f u c k",
"d i c k",
"f.u.c.k",
"d.i.c.k",
"มึง",
"มึ ง",
"ควย",
"ค ว ย",
"ค.ว.ย",
"เฮี้ย",
"ชาติหมา",
"ชาดหมา",
"ช า ด ห ม า",
"ช.า.ด.ห.ม.า",
"ช า ติ ห ม า",
"ช.า.ติ.ห.ม.า",
"สัดหมา",
"เย็ด",
"หี",
"เย็ด",
"จิ๋ม",
"ปิ๊"
);
//สัญลักษณ์เมื่อคำๆนั้นถูกแบน
$banchange = "***";
$message = nl2br($message);
for ($i=0 ; $i Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Calendar has a deprecated constructor in C:\laragon\www\includes\class.calendar.php on line 27
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Calendars has a deprecated constructor in C:\laragon\www\includes\class.calendars.php on line 27
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Calendarcar has a deprecated constructor in C:\laragon\www\includes\class.calendarcar.php on line 27
Notice: Undefined variable: PHP_SELF in C:\laragon\www\includes\class.calendarcar.php on line 3
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Calendarwork has a deprecated constructor in C:\laragon\www\includes\class.calendarwork.php on line 27
Notice: Undefined variable: PHP_SELF in C:\laragon\www\includes\class.calendarwork.php on line 3
/*
ตัวคอนฟิกในการควบคุมระบบเว็บไซต์
*/
//หากมีการเรียกไฟล์นี้โดยตรง
if (preg_match("/config.php/i",$PHP_SELF)) {
Header("Location: ../index.php");
die();
}
//MAXSITE Version
//MYOffice Version
define("_SCRIPT","My office v 9 deluxe - 2026 Copyright T&T All rights reserved ");
define("ict","Myoffice v 9 deluex-2026 : power by ทวีรัตน์ เทพนะ : taweerath2008@hotmail.com : ลิขสิทธิ์ ") ;
define("WEB_EMAIL","taweerath2008@hotmail.com") ;
define("_MNAME",$_GET['name']) ;
define("_MFILE",$_GET['file']) ;
?>
สำนักงานเขตพื้นที่การศึกษามัธยมศึกษาพิจิตร
Warning: Use of undefined constant _SCRIPT - assumed '_SCRIPT' (this will throw an Error in a future version of PHP) in C:\laragon\www\index.php on line 87
_SCRIPT สพม.พิจิตร
Warning: mysqli::query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 85
Warning: DB::select_query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 87
Paperless Office พ.ศ. Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 217
Warning: mysqli::query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 85
Warning: DB::select_query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 87
Warning: mysqli::query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 85
Warning: DB::select_query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 87
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 308
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 308 วันนี้ Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 310
ผู้อำนวยการสำนักงานเขตพื้นที่การศึกษามัธยมศึกษาพิจิตร ปฏิบัติราชการ Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 314
Notice: Undefined index: user_user in C:\laragon\www\index.php on line 436
Notice: Undefined index: usersch_user in C:\laragon\www\index.php on line 436
Warning: mysqli::query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 85
Warning: DB::select_query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 87
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 447
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 448
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 449
Warning: mysqli::query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 85
Warning: DB::select_query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 87
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 459
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 460
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 461
Warning: mysqli::query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 85
Warning: DB::select_query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 87
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 472
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 473
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 474
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 475
Warning: mysqli::query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 85
Warning: DB::select_query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 87
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 485
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 486
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 487
Warning: mysqli::query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 85
Warning: DB::select_query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 87
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 497
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 498
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 499
Notice: Undefined index: usersch_user in C:\laragon\www\index.php on line 1059
Notice: Undefined index: user_user in C:\laragon\www\index.php on line 1175
Notice: Undefined index: user_user in C:\laragon\www\index.php on line 1248
Notice: Undefined index: user_user in C:\laragon\www\index.php on line 1733
Notice: Undefined index: usersch_user in C:\laragon\www\index.php on line 1733
User Online Notice: Undefined variable: ct_dd in C:\laragon\www\index.php on line 1742
Notice: Undefined variable: ct_mm in C:\laragon\www\index.php on line 1742
Notice: Undefined variable: ct_yyyy in C:\laragon\www\index.php on line 1742
Notice: Undefined variable: timecheck in C:\laragon\www\index.php on line 1742
Warning: mysqli::query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 85
Warning: DB::select_query(): Couldn't fetch mysqli in C:\laragon\www\includes\class.mysql.php on line 87
Warning: Use of undefined constant ct_count - assumed 'ct_count' (this will throw an Error in a future version of PHP) in C:\laragon\www\index.php on line 1745
Notice: Trying to access array offset on value of type null in C:\laragon\www\index.php on line 1745
include("modules/useronline/startconnect.php");
$ct_ip = $_SERVER["REMOTE_ADDR"];
$ct_yyyy = date("Y") ;
$ct_mm = date("m") ;
$ct_dd = date("d") ;
$ct_time = time();
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$sql = "select * from ".TB_ACTIVEUSER." where ct_yyyy = '$ct_yyyy' AND ct_mm = '$ct_mm' AND ct_dd = '$ct_dd' AND ct_ip = '$ct_ip' ";
$result = $db->select_query($sql);
$num = mysqli_num_rows($result);
if(!isset($_SESSION["ss_counter"]))
{
$_SESSION["ss_counter"] = "y";
if($num==0)
{
$sql = "insert into ".TB_ACTIVEUSER." (ct_yyyy,ct_mm,ct_dd,ct_ip,ct_count,ct_time) values ('$ct_yyyy','$ct_mm','$ct_dd','$ct_ip','1','$ct_time')";
$result = $db->select_query($sql);
}
else
{
$sql = "update ".TB_ACTIVEUSER." set ct_count = ct_count+1 , ct_time = '$ct_time' , where ct_yyyy = '$ct_yyyy' AND ct_mm = '$ct_mm' AND ct_dd = '$ct_dd' AND ct_ip = '$ct_ip' ";
$result = $db->select_query($sql);
}
}
else
{
if($num==0)
{
$sql = "insert into ".TB_ACTIVEUSER." (ct_yyyy,ct_mm,ct_dd,ct_ip,ct_count,ct_time) values ('$ct_yyyy','$ct_mm','$ct_dd','$ct_ip','1','$ct_time')";
$result = $db->select_query($sql);
}
else
{
$sql = "update ".TB_ACTIVEUSER." set ct_time = $ct_time where ct_yyyy = '$ct_yyyy' AND ct_mm = '$ct_mm' AND ct_dd = '$ct_dd' AND ct_ip = '$ct_ip' ";
$result = $db->select_query($sql);
}
}
include("modules/useronline/endconnect.php");
?>
include("modules/useronline/startconnect.php");
$ct_ip = $_SERVER["REMOTE_ADDR"];
$ct_yyyy = date("Y") ;
$ct_mm = date("m") ;
$ct_dd = date("d") ;
$ct_time = time();
$timecheck = time()-$time_delay; // นับจำนวนเข้าชมขณะนี้ ในช่วงเวลา 15 นาที
$sql = " select COUNT(ct_no) AS ct_count from ".TB_ACTIVEUSER." where ct_dd = '$ct_dd' AND ct_mm = '$ct_mm' AND ct_yyyy = '$ct_yyyy' AND ct_time >= '$timecheck' ";
$result = $db->select_query($sql);
$row = mysqli_fetch_array($result);
$stat_now = $row["ct_count"]; // แสดงสถิติเข้าชมคณะนี้
$sql = " select SUM(ct_count) AS ct_count from ".TB_ACTIVEUSER." where ct_dd = '$ct_dd' AND ct_mm = '$ct_mm' AND ct_yyyy = '$ct_yyyy' ";
$result = $db->select_query($sql);
$row = mysqli_fetch_array($result);
$stat_dd = $row["ct_count"]; // แสดงสถิติวันนี้
$sql = " select SUM(ct_count) AS ct_count from ".TB_ACTIVEUSER." where ct_mm = '$ct_mm' AND ct_yyyy = '$ct_yyyy' ";
$result = $db->select_query($sql);
$row = mysqli_fetch_array($result);
$stat_mm = $row["ct_count"]; // แสดงสถิติเดือนนี้
$sql = " select SUM(ct_count) AS ct_count from ".TB_ACTIVEUSER." where ct_yyyy = '$ct_yyyy' ";
$result = $db->select_query($sql);
$row = mysqli_fetch_array($result);
$stat_yyyy = $row["ct_count"]; // แสดงสถิติปีนี้
$sql = " select SUM(ct_count) AS ct_count from ".TB_ACTIVEUSER." ";
$result = $db->select_query($sql);
$row = mysqli_fetch_array($result);
$stat_all = $row["ct_count"]; // แสดงสถิติทั้งหมด
?>
ขณะนี้
คน
สถิติวันนี้
Notice: Undefined variable: stat_dd in C:\laragon\www\modules\useronline\counter_show.php on line 44
คน
สถิติเดือนนี้
Notice: Undefined variable: stat_mm in C:\laragon\www\modules\useronline\counter_show.php on line 48
คน
สถิติปีนี้
Notice: Undefined variable: stat_yyyy in C:\laragon\www\modules\useronline\counter_show.php on line 52
คน
สถิติทั้งหมด
Notice: Undefined variable: stat_all in C:\laragon\www\modules\useronline\counter_show.php on line 56
คน
include("modules/useronline/endconnect.php");
?>
Notice: Undefined index: usersch_user in C:\laragon\www\index.php on line 1766
Notice: Undefined index: user_user in C:\laragon\www\index.php on line 1787