='".$isodate."' and leftright='R'"; } else { $strQuery = "SELECT count(leftright) FROM ".$GLOBALS["eztbContents"]." where subgroupid='".$subgroupid."' and publishdate<='".$isodate."' and expiredate>='".$isodate."' and leftright='R'"; } $result = mysql_db_query($GLOBALS["ezContentsDBName"], $strQuery); while ($rs = mysql_fetch_array ($result)) { if ($rs[0] >= 1) { $rightcontent = true; } } mysql_free_result ($result); } if (($GLOBALS["gsLRContentFrame"] == 'Y') || (($GLOBALS["gsLRContentFrame"] == 'A') && ($rightcontent))) { ?>
='".$isodate."' and leftright!='R' ".$GLOBALS["orderText"]; } else { $strQuery = "SELECT * FROM ".$GLOBALS["eztbContents"]." where subgroupid='".$subgroupid."' and publishdate<='".$isodate."' and expiredate>='".$isodate."' and leftright!='R' ".$GLOBALS["orderText"]; } } else { if ($subgroupid == "") { $strQuery = "SELECT * FROM ".$GLOBALS["eztbContents"]." where groupid ='".$groupid."' and subgroupid='0' and publishdate<='".$isodate."' and expiredate>='".$isodate."' ".$GLOBALS["orderText"]; } else { $strQuery = "SELECT * FROM ".$GLOBALS["eztbContents"]." where subgroupid='".$subgroupid."' and publishdate<='".$isodate."' and expiredate>='".$isodate."' ".$GLOBALS["orderText"]; } } $result = mysql_db_query($GLOBALS["ezContentsDBName"], $strQuery); while ($rsContent = mysql_fetch_array ($result)) { if ($rsContent["authorvisible"] !='Y' && $rsContent["updatedatevisible"] !='Y' && $rsContent["headervisible"] !='Y') { ?>
class="teaserheadercontent"> class="headercontent">

">
">

height="100%" valign="bottom" class="sep_column">" width= height="100%"> " valign="top">='".$isodate."' and leftright='R' ".$GLOBALS["orderText"]; } else { $strQuery = "SELECT * FROM ".$GLOBALS["eztbContents"]." where subgroupid='".$subgroupid."' and publishdate<='".$isodate."' and expiredate>='".$isodate."' and leftright='R' ".$GLOBALS["orderText"]; } $result = mysql_db_query($GLOBALS["ezContentsDBName"], $strQuery); while ($rsContent = mysql_fetch_array ($result)) { if ($rsContent["authorvisible"] !='Y' && $rsContent["updatedatevisible"] !='Y' && $rsContent["headervisible"] !='Y') { ?>
class="teaserheadercontent"> class="headercontent">

">
">

" height="1" border="0">