Viewing file: global.php (3.24 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// config database connection
$GLOBALS["HOST_AN"] = "localhost";
$GLOBALS["USERNAME_AN"] = "mis";
$GLOBALS["PASSWORD_AN"] = "LetMeIn";
$GLOBALS["DBNAME_AN"] = "ealumni";
// config database connection eregis
$GLOBALS["HOST_ER"] = "localhost";
$GLOBALS["USERNAME_ER"] = "mis";
$GLOBALS["PASSWORD_ER"] = "LetMeIn";
$GLOBALS["DBNAME_ER"] = "reg";
// config database connection ums
$GLOBALS["HOST_UM"] = "localhost";
$GLOBALS["USERNAME_UM"] = "mis";
$GLOBALS["PASSWORD_UM"] = "LetMeIn";
$GLOBALS["DBNAME_UM"] = "ums";
// ข้อมูลวิทยาลัย
$GLOBALS["COLLEGECODE"] = "";
$GLOBALS["COLLEGENAME"] = "";
$GLOBALS["COLLEGENAMEENG"] = "***";
$GLOBALS["COLLEGEADDRESS"] = "";
$GLOBALS["COLLEGEPHONENO"] = "";
$GLOBALS["DIRECTORATE"] = "สำนักงานปลัดกระทรวงสาธารณสุข";
$GLOBALS["PARTYCOLLEGE"]="สถาบันพระบรมราชชนก";
$GLOBALS["TITLE"] = "....ยินดีต้อนรับ....ระบบทะเบียนศิษย์เก่า....สถาบันพระบรมราชชนก....";
$GLOBALS["SITENAME"] = "ระบบทะเบียนศิษย์เก่า";
//LOGO บัตรข้าราชการ
$GLOBALS["CARDLOGO"] = "../picture/cardlogo.jpg";
// เปลี่ยน banner
$GLOBALS["BANNER"] = "picture/banner.jpg";
// เปลี่ยนพื้นหลังของตารางประวัติที่เป็นหัวข้อ
$GLOBALS["BG_BIO"] = "../picture/bgBio.gif";
$GLOBALS["BG_BION"] = "../picture/bgBion.gif";
$GLOBALS["BG_BIONC"] = "../picture/bgBionC.gif";
$GLOBALS["BG_BIOC"] = "../picture/bgBioC.gif";
$GLOBALS["BG_BIO2"] = "../picture/bgBio2.gif";
$GLOBALS["BG_USR"] = "../picture/bgSt.gif";
// เปลี่ยนรูปลิงค์ top
$GLOBALS["TOP"] = "picture/top.gif";
$GLOBALS["TOPLOGIN"] = "../picture/top.gif";
// เปลี่ยนสีพื้นของตาราง
$GLOBALS["COLOR_BG_TABLE_1"] = "#346EC2";
$GLOBALS["COLOR_BG_TABLE_2"] = "#68A5E8";
$GLOBALS["COLOR_BG_TABLE_3"] = "#D3E0F9";
$GLOBALS["COLOR_BG_TABLE_4"] = "#FFFFFF";
$GLOBALS["COLOR_BG_TABLE_5"] = "#FFE1A4";
$GLOBALS["COLOR_BG_TABLE_6"] = "#3367BD";
$GLOBALS["COLOR_BG_TABLE_7"] = "#629FE7";
// เปลี่ยนสีขอบของตาราง
$GLOBALS["COLOR_BORDER_TABLE_1"] = "#FFFFFF";
$GLOBALS["COLOR_BORDER_TABLE_2"] = "#000000";
$GLOBALS["COLOR_BORDER_TABLE_3"] = "#CCCCCC";
$GLOBALS["COLOR_BORDER_TABLE_4"] = "#999999";
// เปลี่ยนสี background คอลัมน์ตาราง
$GLOBALS["COLOR_BG_TD_1"] = "#9CE2DC";
$GLOBALS["COLOR_BG_TD_2"] = "#CCCCCC";
$GLOBALS["COLOR_BG_TD_3"] = "#000000";
$GLOBALS["COLOR_BG_TD_4"] = "#E9EFFA";
$GLOBALS["COLOR_BG_TD_5"] = "#FFFFFF";
$GLOBALS["COLOR_BG_TD_6"] = "#F0F8FF";
// เปลี่ยนสีตัวอักษร
$GLOBALS["COLOR_FONT_1"] = "#FFFFFF";
$GLOBALS["COLOR_FONT_2"] = "#000066";
$GLOBALS["COLOR_FONT_3"] = "#8C0000";
$GLOBALS["COLOR_FONT_4"] = "#000000";
$GLOBALS["COLOR_FONT_5"] = "#666666";
$GLOBALS["COLOR_FONT_6"] = "#009999";
$GLOBALS["COLOR_FONT_7"] = "#FF6600";
// เปลี่ยนสีหน้าเว็บเพจ
$GLOBALS["COLOR_BG_PAGE"] = "#FFFFFF";
$GLOBALS["COLOR_BG_PAGE_2"] = "#3333FF";
// Config System
$GLOBALS["rowPerPage"] = 30;
$oC2 = new clsConnection($GLOBALS["HOST_ER"],$GLOBALS["DBNAME_ER"],$GLOBALS["USERNAME_ER"], $GLOBALS["PASSWORD_ER"]);
$oC1 = new clsConnection($GLOBALS["HOST_AN"],$GLOBALS["DBNAME_AN"],$GLOBALS["USERNAME_AN"], $GLOBALS["PASSWORD_AN"]);
$oC = new clsConnection($GLOBALS["HOST_UM"],$GLOBALS["DBNAME_UM"],$GLOBALS["USERNAME_UM"], $GLOBALS["PASSWORD_UM"]);
?>
|