setSelects("*"); $r->setTables("blog"); $r->setWhere("link_nm = '$link_nm'"); $r->setWhere("entry_dt = '$dt'"); if(!$ADMIN){ $r->setWhere("status = 'published'"); } $query = $r->buildQuery(); $entry = dbSelect($query, "single"); $_SESSION['hide_js'] = true; ?> / '; } ?>
"; echo "
"; echo strtoupper("$entry[name]"); echo "
"; ?>
"; if($entry['allow_comments']){ ?>
"; } ?>
"; } echo "
"; echo "
"; echo strtoupper("$entry[name]"); echo "
"; ?>
"; ?>
set('text', $text); $c->set('left', $left); $c->set('topCode', ""); $c->printGo(); $leftCol = ob_get_contents(); ob_end_clean(); /***************** LEFT SIDEBAR END */ /***************** MAIN */ ob_start(); include 'tpl_rightCol.php'; $mainCol = ob_get_contents(); ob_end_clean(); /***************** MAIN END */ $layout = new Layout; $layout->setParam("leftCol", $leftCol); $layout->setParam("mainCol", $mainCol); $layout->twoCol(); ?>