<?php ob_start( ); include( "include/class.mysqldb.php" ); include( "include/config.inc.php" ); if ( !isset( $_SESSION['logined'] ) ) { header( "location:index.php" ); exit( ); } print " <html> <head> <title>$titel</title> <meta http-equiv=\"Cache-control\" content=\"no-cache\"> <meta http-equiv=\"Pragma\" content=\"no-cache\"> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"> <link rel=\"stylesheet\" href=\"admin/templates/".$template."/css/system.css\" type=\"text/css\" /> "; echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n"; echo "<s"; echo "tyle type=\"text/css\">\r\n<!--\r\n.style1 {color: #CC0000}\r\n.style2 {color: #333333}\r\n-->\r\n</style>\r\n<head>\r\n\t<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\r\n\t<meta name=\"author\" content=\"Burapha Linux Laboratory\" />\r\n\t<meta name=\"keywords\" content=\"authentication system\" />\r\n\t<meta name=\"description\" content=\"Burapha Linux Authentication Project\" />\t\r\n <link href=\"css/main.css\" type="; echo "text/css rel=stylesheet>\r\n <link href=\"css/calendar-mos.css\" type=text/css rel=stylesheet>\r\n "; echo "<s"; echo "cript language=\"javascript\" src=\"js/calendar.js\"></script>\r\n"; echo "<s"; echo "cript>\r\nfunction stoperror(){\r\nreturn true\r\n}\r\nwindow.onerror=stoperror\r\n</script>\r\n\t<title>Internet Account & Central Log Management System V. 2.09.17</title>\r\n</head>\r\n<body>\r\n\t<div id=\"header-bar\">\r\n\t\t<div id=\"header-logoff\">ยินดีต้อนรับ "; echo $_SESSION['name']; echo " \r\n » <a href=\"index2.php\">หน้าแรก</a> \r\n | <a href=\"logoff.php\">ออกจากระบบ</a></div>\r\n </div>\r\n <div id=\"body\">\r\n \t\r\n \t <h3 class=\"style1\"><a href=\"index2.php\">Internet Account & Central Log Management System "; echo "<s"; echo "pan class=\"style2\">V. 2.09.17</span></a></h3>\r\n <div id=\"left\">\r\n <div id=\"slogan\">ระบบจัดการการพิสูจน์ตัวตนผู้ใช้งานอินเทอร์เน็ต</div>\r\n "; if ( !isset( $_REQUEST['option'] ) ) { echo " <div id=\"cpanel\">\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=addhour\">\r\n <img src=\"images/add.png\" alt=\"เพิ่มผู้ใช้รายชั่วโมง\" align=\"middle\" border=\"0\" />\r\n "; echo "<s"; echo "pan>เพิ่มผู้ใช้รายชั่วโมง</span>\r\n </a>\r\n </div>\r\n </div>\r\n\t\t\t\t\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=addday\">\r\n <img src=\"images/add.png\" alt=\"เพิ่มผู้ใช้รายว"; echo "ัน\" align=\"middle\" border=\"0\" />\r\n "; echo "<s"; echo "pan>เพิ่มผู้ใช้รายวัน</span> </a> </div>\r\n </div>\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=addhr_auto\">\r\n <img src=\"images/add-new.png\" alt=\"สร้างบัตรรายชั่วโมง\" width=\"48\" hei"; echo "ght=\"48\" border=\"0\" align=\"middle\" />\r\n "; echo "<s"; echo "pan>สร้างบัตรรายชั่วโมง </span> </a> </div>\r\n </div>\r\n\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=addday_auto\">\r\n <img src=\"images/add-new.png\" alt=\"สร้างบัตรรายวัน\" wid"; echo "th=\"48\" height=\"48\" border=\"0\" align=\"middle\" />\r\n "; echo "<s"; echo "pan>สร้างบัตรรายวัน</span> </a> </div>\r\n </div>\r\n \r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=syslog\">\r\n <img src=\"images/user.png\" alt=\"จัดการข้อมูลผู้ใช้\" "; echo "align=\"middle\" border=\"0\" />\r\n "; echo "<s"; echo "pan>ข้อมูลจราจรคอมฯ </span> </a> </div>\r\n </div>\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=manage_user\">\r\n <img src=\"images/users.png\" alt=\"จัดการข้อมูลผู้ใช้\" align=\"mi"; echo "ddle\" border=\"0\" /><br>\r\n "; echo "<s"; echo "pan>จัดการข้อมูลผู้ใช้</span> </a> </div>\r\n </div>\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=manage_admin\">\r\n <img src=\"images/adim.png\" alt=\"เปลี่ยนรหัสผ่าน\" align=\"mid"; echo "dle\" border=\"0\" />\r\n "; echo "<s"; echo "pan>เปลี่ยนรหัสผ่าน</span>\r\n </a>\r\n </div>\r\n </div>\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=user_online\">\r\n <img src=\"images/refresh.png\" alt=\"ผู้ที่กำลังใช้งานอยู"; echo "่\" align=\"middle\" border=\"0\" />\r\n "; echo "<s"; echo "pan>ผู้ที่กำลังใช้งานอยู่</span>\r\n </a>\r\n </div>\r\n </div>\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=user_history\">\r\n <img src=\"images/history.png\" alt=\"ประวัติการใช้"; echo "าน\" align=\"middle\" border=\"0\" />\r\n "; echo "<s"; echo "pan>ประวัติการใช้งาน</span>\r\n </a>\r\n </div>\r\n </div>\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=user_statistic\">\r\n <img src=\"images/chart.png\" alt=\"สถิติการใช้งาน\" align=\"middl"; echo "e\" border=\"0\" />\r\n "; echo "<s"; echo "pan>สถิติการใช้งาน</span>\r\n </a>\r\n </div>\r\n </div>\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=manage_interface\">\r\n <img src=\"images/computer.png\" alt=\"ปรับแต่งหน้าล็อกอิน"; echo "\" align=\"middle\" border=\"0\" />\r\n "; echo "<s"; echo "pan>ปรับแต่งหน้าล็อกอิน</span>\r\n </a>\r\n </div>\r\n </div>\r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=manage_config\">\r\n <img src=\"images/config.png\" alt=\"แก้ไขค่าระบบ\" align=\"mi"; echo "ddle\" border=\"0\" />\r\n "; echo "<s"; echo "pan>แก้ไขค่าระบบ</span>\r\n </a>\r\n </div>\r\n </div>\r\n \r\n \r\n \r\n <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=filter\">\r\n <img src=\"images/download.png\" alt=\"ควบคุมก"; echo "ารใช้งาน\" align=\"middle\" border=\"0\" />\r\n "; echo "<s"; echo "pan>ควบคุมการใช้งาน</span> </a> </div>\r\n </div>\r\n\t\t\t\t\r\n\t\t\t\t <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=traffic\">\r\n <img src=\"images/data.png\" alt=\"บัญชีที่ใช้งานแล้ว\" width=\"48\" height=\"4"; echo "8\" border=\"0\" align=\"middle\" />\r\n "; echo "<s"; echo "pan>บัญชีที่ใช้งานแล้ว</span> </a> </div>\r\n </div>\r\n\t\t\t<div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=traffics\">\r\n <img src=\"images/data.png\" alt=\"บัญชีที่ยังไม่ได้ใช้งาน\" wid"; echo "th=\"48\" height=\"48\" border=\"0\" align=\"middle\" />\r\n "; echo "<s"; echo "pan>บัญชีที่ไม่ได้ใช้งาน</span> </a> </div>\r\n </div>\r\n\t\t\t\t<div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=sale_static\">\r\n <img src=\"images/mm.png\" alt=\"สรุปยอดขาย\" width=\"48\" height=\"48\" border=\"0\" al"; echo "ign=\"middle\" />\r\n "; echo "<s"; echo "pan>สรุปยอดขาย</span> </a> </div>\r\n </div>\r\n\r\n\r\n\r\n\t\t\t \t<div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=import_data\">\r\n <img src=\"images/objects.png\" alt=\"นำเข้าข้อมูลผู้ใช้\" width=\"48\" height=\"48\" bord"; echo "er=\"0\" align=\"middle\" />\r\n "; echo "<s"; echo "pan>นำเข้าข้อมูลผู้ใช้</span> </a> </div>\r\n </div>\r\n\t\t\t <div style=\"float:left;\">\r\n <div class=\"icon\">\r\n <a href=\"index2.php?option=export_data\">\r\n <img src=\"images/objects.png\" alt=\"สำรองข้อมูล\" width=\"48\" height=\"48\" border=\"0\""; echo " align=\"middle\" />\r\n "; echo "<s"; echo "pan>สำรองข้อมูล</span> </a> </div>\r\n </div>\r\n <div style=\"clear:both;\"> </div>\r\n </div>\r\n "; $act = "select * from radacct"; $resultx = mysql_query( $act ); $tims = 0; $timss = 0; while ( $dbarr = mysql_fetch_array( $resultx ) ) { $tim = $dbarr['AcctSessionTime']; $tims += $tim; $timss = $tims / 3600; $oct = $dbarr['AcctInputOctets']; $octs += $oct; $octss = $octs / 1000000; } $tts = explode( ".", $timss ); $tts1 = $tts[0]; $tts22 = $tts[1]; $tts2 = substr( $tts22, 0, 2 ); $octs = explode( ".", $octss ); $octs1 = $octs[0]; $octs22 = $octs[1]; $octs2 = substr( $tts22, 0, 2 ); echo "<br><br><center>\t\tเวลาที่ใช้งานรวมทั้งหมด {$tts1}.{$tts2} ชั่วโมง ปริมาณการ รับ - ส่ง ข้อมูลทั้งหมด {$octs1}.{$octs2} Mb </center>"; } else { include( $_REQUEST['option'].".php" ); } echo " </div>\r\n <div id=\"right\">\r\n\t\t\t<h1>เมนูหลัก</h1>\r\n\t\t\t<ul>\r\n\t\t\t\t<li><a href=\"index2.php\">หน้าแรก</a></li>\r\n\t\t\t\t<li><a href=\"logoff.php\">ออกจากระบบ</a></li>\r\n\t\t\t</ul>\r\n\r\n\t\t\t<h1>เมนูลัดจัดการระบบ</h1>\r\n\t\t\t<ul>\r\n\t\t\t\t<li><a href=\"index2.php?option=manage_user\">จัดการข้อมูลผู้ใช้</a></li>\r\n\t\t"; echo "\t\r\n\t\t\t\t<li><a href=\"index2.php?option=manage_interface\">ปรับแต่งหน้าจอล็อกอิน</a></li>\r\n\t\t\t\t<li><a href=\"index2.php?option=user_online\">รายชื่อผู้ที่กำลังใช้งาน</a></li>\r\n\t\t\t\t<li><a href=\"index2.php?option=user_history\">ประวัติการใช้งาน</a><a href=\"index2.php?option=sysinfo\">สถาน"; echo "ทั่วไปของระบบ</a></li>\r\n\t\t\t\t<li><a href=\"index2.php?option=user_statistic\">สถิติการใช้งานระบบ</a><a href=\"index2.php?option=test_user\">ทดสอบชื่อผู้ใช้งาน</a><a href=\"index2.php?option=status\">ข้อมูลการลงทะเบียน</a></li>\r\n\t\t\t</ul>\r\n </div>\r\n <div id=\"footer\"><br>\r\n "; echo " <!-- ปรับปรุงล่าสุด 30 มีนาคม 2551 เวลา 4:06:15 น. -->\r\n </div>\r\n</div>\r\n</body>\r\n</html>\r\n"; ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง