Hacked By AnonymousFox

Current Path : C:/AppServ/www/new_msd1/webengine/lib/
Upload File :
Current File : C:/AppServ/www/new_msd1/webengine/lib/connect_.php

<?
//session_start();

//extract($_POST);
//extract($_GET);
//extract($_REQUEST);
//extract($_SESSION);

MYSQL_CONNECT($System_DataBase_HostName,$System_DataBase_UserName,$System_DataBase_Password) OR DIE("เกิดข้อผิดพลาด ไม่สามารถ ติดต่อกับฐานข้อมูลได้");
MYSQL_SELECT_DB($System_DataBase_Name) OR DIE("ไม่สามารถทำการเลือกใช้งานฐานข้อมูลได้");

$charset = "SET NAMES 'tis620'";
MYSQL_DB_QUERY($System_DataBase_Name,$charset) OR DIE("Error: เกิดความผิดพลาด <br>$charset<br>\n");



// Staff Action Log
if ($System_Session_User_ID>0) {
	$my_session_id = session_id();
	$current_url = $PHP_SELF;
	if (!strstr($current_url,"?")) $current_url .= "?";
	else $current_url .= "&";
	
	if (!strstr($current_url,"SystemMenuID=")) $current_url .= "SystemMenuID=".$SystemMenuID."&";
	if (!strstr($current_url,"SystemModuleKey=")) $current_url .= "SystemModuleKey=".$SystemModuleKey."&";
	if ($action<>"") {
		if (!strstr($current_url,"action=")) $current_url .= "action=".$action."&";
	}
	if ($myCheckBoxID>0 || $myCheckBoxID<>"") {
		if (!strstr($current_url,"myCheckBoxID=")) $current_url .= "myCheckBoxID=".$myCheckBoxID."&";
	}
	if ($CheckBoxID1>0 || $CheckBoxID1<>"") {
		if (!strstr($current_url,"CheckBoxID1=")) $current_url .= "CheckBoxID1=".$CheckBoxID1."&";
	}
	if ($SelectStatus<>"") {
		if (!strstr($current_url,"SelectStatus=")) $current_url .= "SelectStatus=".$SelectStatus."&";
	}

	ini_set("register_globals","On");

}
?>

Hacked By AnonymousFox1.0, Coded By AnonymousFox