@php $activeType = old('login_type', 'staff'); $loginTypes = [ 'staff' => [ 'label' => 'บุคลากร', 'title' => 'เข้าสู่ระบบสำหรับบุคลากร', 'description' => 'สำหรับผู้ดูแลระบบ ผู้บริหาร ครู และครูที่ปรึกษา', 'username_label' => 'ชื่อผู้ใช้บุคลากร', 'username_placeholder' => 'เช่น admin, executive, t001', 'password_label' => 'รหัสผ่าน', 'password_placeholder' => 'กรอกรหัสผ่านของบัญชีบุคลากร', 'hint' => 'บัญชีทดสอบ: admin / admin1234 หรือ t001 / teacher1234', ], 'student' => [ 'label' => 'นักเรียน', 'title' => 'เข้าสู่ระบบสำหรับนักเรียน', 'description' => 'ใช้ดูข้อมูลส่วนตัว ผลการเรียน และคำร้องของนักเรียน', 'username_label' => 'เลขประจำตัวนักเรียน', 'username_placeholder' => 'เช่น 10001', 'password_label' => 'วันเดือนปีเกิด', 'password_placeholder' => 'รูปแบบ YYYY-MM-DD เช่น 2012-05-12', 'hint' => 'บัญชีทดสอบ: 10001 / 2012-05-12', ], 'parent' => [ 'label' => 'ผู้ปกครอง', 'title' => 'เข้าสู่ระบบสำหรับผู้ปกครอง', 'description' => 'ใช้ติดตามข้อมูลบุตรหลาน ผลการเรียน และคำร้องต่าง ๆ', 'username_label' => 'บัญชีผู้ปกครอง', 'username_placeholder' => 'เช่น parent10001', 'password_label' => 'รหัสผ่านผู้ปกครอง', 'password_placeholder' => 'กรอกรหัสผ่านบัญชีผู้ปกครอง', 'hint' => 'บัญชีทดสอบ: parent10001 / parent1234', ], ]; @endphp เข้าสู่ระบบ

ระบบสารสนเทศโรงเรียน

แยกทางเข้าสำหรับบุคลากร นักเรียน และผู้ปกครอง เพื่อให้คำแนะนำการใช้งานชัดเจนตั้งแต่หน้าแรก

บุคลากรจัดการข้อมูลโรงเรียนและงานประจำบทบาท
นักเรียนดูข้อมูลส่วนตัว ผลการเรียน และคำร้อง
ผู้ปกครองติดตามข้อมูลบุตรหลานและช่องทางติดต่อโรงเรียน

รองรับการใช้งานบนคอมพิวเตอร์ แท็บเล็ต และมือถือ

{{ $loginTypes[$activeType]['title'] }}

{{ $loginTypes[$activeType]['description'] }}

@foreach ($loginTypes as $type => $copy) @endforeach
@csrf @error('username')
{{ $message }}
@enderror @error('password')
{{ $message }}
@enderror @error('login_type')
{{ $message }}
@enderror
{{ $loginTypes[$activeType]['hint'] }}