= '$chk_date' order by idx asc"; $result_p = mysql_query($sql_p); $row_p = mysql_num_rows($result_p); if ($row_p > 0) { for ($i=0;$i<$row_p;$i++) { $idx = mysql_result($result_p,$i,idx); $topsize = mysql_result($result_p,$i,topsize); $leftsize = mysql_result($result_p,$i,leftsize); $widthsize = mysql_result($result_p,$i,widthsize); $heightsize = mysql_result($result_p,$i,heightsize); $heightsize = $heightsize + 24; $scroll = mysql_result($result_p,$i,scroll); if ($scroll == "Y") { $scroll = "yes"; $widthsize = $widthsize + 20; } else { $scroll = "no"; } $popup = $popup . "popup('popup/popup.php?idx=".$idx."&popupid=popup".$idx."',".$widthsize.",".$heightsize.",".$topsize.",".$leftsize.",'popup".$idx."','".$scroll."');"; } } } if(!strpos($hCode,"PROC")){ if($include_con_Path != "main/main.php"){ include $include_top_Path; } } include $include_con_Path; if(!strpos($hCode,"PROC")){ if($include_con_Path != "main/main.php"){ include $include_bot_Path; } } ?>