Hacked By AnonymousFox

Current Path : C:/AppServ/www/th/controlweb/manage/system_menu/
Upload File :
Current File : C:/AppServ/www/th/controlweb/manage/system_menu/popup_category.php

<? 
include("../lib/session.php"); 
include("../lib/config.php");
include("../lib/connect.php");
include("../lib/function.php");
?>
<html><!-- InstanceBegin template="/Templates/ControlCenter-Popup.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" --> 
<title> 
<?=$System_Variable_Title?>
</title>
<!-- InstanceEndEditable --> 
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<link href="../css/mystyle.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
  <tr valign="top"> 
    <td align="center" valign="top" bgcolor="#FFFFFF"><!-- InstanceBeginEditable name="Programmable Region" --> 
            <? include("../lib/lib.php"); ?>
            <? 
$SystemMenuID=6;
if($EID>0) { 
	$EName = loadEventName($EID);
	$System_EXID=$EID;
} else if($System_EXID>0) {
	$EID=$System_EXID;
	$EName = loadEventName($EID);
} else {
	include("../mod_event/config.php");
	$sql = "SELECT * FROM ".$myModule_Table1." WHERE ".$myModule_Table1."_Status='Enable' ORDER BY ".$myModule_Table1."_Ordering DESC ";
	$Query=MYSQL_DB_QUERY($System_DataBase_Name,$sql) OR DIE("Error: เกิดความผิดพลาด <br>$sql<br>\n");
	$Row=MYSQL_FETCH_ARRAY($Query);
	$EID=$Row[$myModule_Table1."_ID"];
	$EName = $Row[$myModule_Table1."_EventName"];
	$System_EXID=$EID;
} 
?>
            <br>
            <table width="98%" height="22" border="0" cellpadding="2" cellspacing="0" class="table_header">
              <tr> 
                <td width="30" align="center"><img src="<?=getMenuIcon($SystemMenuID)?>"></td>
                <td> 
                  <?=getMenuName($SystemMenuID)?>
                  
                  <? if($EID>0) { ?>
                   on event
                  &quot;
				 <font color="#FFFF00">
                  <?=$EName?>
                  </font>
                  &quot;
                  <? } else { echo " All"; } ?>
                </td>
              </tr>
            </table>
            <table width="97%" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="1" class="table_col3"><img src="../images/blank.gif" width="10" height="2"></td>
              </tr>
              <form action="../system_menu/?" method="get" name="myPageRedirectForm" id="myPageRedirectForm">
                <input name="EID" type="hidden" id="EID" value="<?=$EID?>">
                <input name="SystemMenuID" type="hidden" id="SystemMenuID" value="<?=$SystemMenuID?>">
                <input name="actionType" type="hidden" id="actionType" value="<?=$actionType?>">
              </form>
            </table>
            <br>
            <script language="JavaScript" src="../lib/popup.js" type="text/JavaScript"></script>
            
      <? 
## Load Module Configuration Variable ############################################
include("../system_menu/config.php");
$myModule_Table = $myModule_Table1;
#########################################################
?>
            
            
            
            
            <table width="90%" border="0" cellpadding="0" cellspacing="1" class="table_border">
              <form action="../system_menu/?" method="post" name="myForm" id="myForm">
                <input name="SystemMenuID" type="hidden" id="SystemMenuID" value="<?=$SystemMenuID?>">
                <input name="EID" type="hidden" id="EID" value="<?=$EID?>">
                <input name="action" type="hidden" id="action">
                <input name="myParentID" type="hidden" id="myParentID" value="0">
                <input name="myCategoryID" type="hidden" id="myCategoryID" value="0">
                <input name="SelectStatus" type="hidden" id="SelectStatus">
                <tr> 
                  <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="0" cellspacing="1">
                      
                <tr align="center" class="menu_table_header"> 
                        
                  <td height="24" align="left"> &nbsp;&nbsp;&nbsp;Categories</td>
                </tr>
                    
              </table>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <tr class="table_row1"> 
                        <td height="80" align="center" valign="top"> 
                          <? 
include("../system_menu/config.php"); 
include("../system_menu/function.php"); 
$myParentGroupID=0;
loadTreeMenuView($myParentGroupID,$EID);
?>
                        </td>
                      </tr>
                    </table>
                    <table width="100%" height="10" border="0" cellpadding="3" cellspacing="1">
                      <tr> 
                        <td class="table_footer">&nbsp;</td>
                      </tr>
                    </table></td>
                </tr>
              </form>
            </table>
            <br>
            
            <!-- InstanceEndEditable --></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>
<? 
include("../lib/disconnect.php");
?>

Hacked By AnonymousFox1.0, Coded By AnonymousFox