Hacked By AnonymousFox

Current Path : C:/AppServ/www/th/controlweb/manage/mod_about/
Upload File :
Current File : C:/AppServ/www/th/controlweb/manage/mod_about/list.php

<? if(false) { ?>
<html><!-- InstanceBegin template="/Templates/Module List.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<!-- InstanceEndEditable --> 
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link href="../../template/t001/color/sky_blue.php" rel="stylesheet" type="text/css">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<? } ?>
<!-- InstanceBeginEditable name="Header Region" --> 
<?
// Header Box Data --------------------

?>
<!-- InstanceEndEditable --> 
<table width="100%" height="22" border="0" cellpadding="0" cellspacing="1">
</table>
<!-- InstanceBeginEditable name="Programmable Region" -->
			<?
			include("../modules/".$Module_Path."/config.php");
			include("../modules/".$Module_Path."/mainpage_config.php");
			for ($index=1;$index<=$Config_Count;$index++) {
				$sql = "SELECT * FROM ".$System_TableName_MainPage_Config.
				" WHERE ".$System_TableName_MainPage_Config."_MainPageID=".$Module_MainPageID.
				" AND ".$System_TableName_MainPage_Config."_ArrayIndex=".$index;
				$Query_Config = mysql_query($sql);
				if (mysql_num_rows($Query_Config)>0) {
					$Row_Config = mysql_fetch_array($Query_Config);
					$Config_Value1[$index] = $Row_Config[$System_TableName_MainPage_Config."_Value1"];
					$Config_Value2[$index] = $Row_Config[$System_TableName_MainPage_Config."_Value2"];
				} else {
					$Config_Value1[$index] = $Config_Default1[$index];
					$Config_Value2[$index] = $Config_Default2[$index];
				}
			}
			
			$sql = "SELECT * FROM ".$Module_TableName_WhatNew.
			" WHERE ".$Module_TableName_WhatNew."_ModuleKey=".$Module_MenuID.
			" AND ".$Module_TableName_WhatNew."_Status='Enable'".
			" AND ( ".$Module_TableName_WhatNew."_StartDate='0000-00-00 00:00:00' OR ".$Module_TableName_WhatNew."_StartDate<=Now() )".
			" AND ( ".$Module_TableName_WhatNew."_ExpireDate='0000-00-00 00:00:00' OR ".$Module_TableName_WhatNew."_ExpireDate>=Now() )".
			" ORDER BY ".$Module_TableName_WhatNew."_".$Config_Value1[6]." ".$Config_Value2[6].
			" LIMIT 0,".$Config_Value1[1];
			$Query_Object = mysql_query($sql);
			?>
            <br>
            <table width="95%"  border="0" cellspacing="1" cellpadding="2">
              <tr>
                <td width="100%">
                  <? if ($Config_Value1[5]=="Yes") { ?>
                  <marquee direction=up height=135 onmouseout=this.start() onmouseover=this.stop() scrollAmount=1 scrollDelay=45 width=100% >
                  <? } ?>
                  <table width="100%"  border="0" cellspacing="1" cellpadding="2">
				  	<? while ($Row_Object = mysql_fetch_array($Query_Object)) {
							$StrImageSize = AdjustImageSize("../".$System_Path_Relative_Upload."/".$Module_MenuID."/thumbnail/".$Row_Object[$Module_TableName_WhatNew."_PictureFile"],$Config_Value1[4]);
							$ImageSize = explode(",",$StrImageSize);
							$ImageWidth = $ImageSize[0];
							$ImageHeight = $ImageSize[1];
					?>
                    <tr>
                      <td align="center" width="<? if ($Config_Value1[3]=="Show") { ?><?=$Config_Value1[4]+20?><? } else { ?>18<? } ?>" <? if ($Config_Value1[3]=="Hide") { ?>align="center"<? } ?>><? if ($Config_Value1[3]=="Show") { ?><img src="<?="../".$System_Path_Relative_Upload."/".$Module_MenuID."/thumbnail/".$Row_Object[$Module_TableName_WhatNew."_PictureFile"]?>" width="<?=$ImageWidth?>" height="<?=$ImageHeight?>"><? } else { ?><img src="../system/images/bullet/square.gif" width="7" height="7" vspace="4"><? } ?></td>
                      <td valign="top"><strong><font color="#666633"><?=$Row_Object[$Module_TableName_WhatNew."_Subject"]?></font></strong> &nbsp;<?
					  if (strlen($Row_Object[$Module_TableName_WhatNew."_Title"])>$Config_Value1[2]) echo substr($Row_Object[$Module_TableName_WhatNew."_Title"],0,$Config_Value1[2])."...";
					  else echo $Row_Object[$Module_TableName_WhatNew."_Title"];
					  ?><strong>&nbsp;&nbsp;<a href="#" onClick="
					  document.myObjectForm<?=$Module_MenuID?>.action.value='view';
					  document.myObjectForm<?=$Module_MenuID?>.myCheckBoxID.value=<?=$Row_Object[$Module_TableName_WhatNew."_ID"]?>;
					  document.myObjectForm<?=$Module_MenuID?>.submit();
					  ">read more</a></strong></td>
                    </tr>
					<? if ($Config_Value1[3]=="Show") { ?>
                    <tr>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
					<? } ?>
					<? } ?>
                  </table>
                  <? if ($Config_Value1[5]=="Yes") { ?>
                  </marquee>
                  <? } ?>
                </td>
              </tr>
            </table>
            <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="Footer Region" --> 
<?
// Footer Box Data --------------------

?>
<!-- InstanceEndEditable --> 
<? if(0) { ?>
</body>
<!-- InstanceEnd --></html><? } ?>

Hacked By AnonymousFox1.0, Coded By AnonymousFox