Location: PHPKode > projects > chillyCMS > chillyCMS/modules/subcontent/subcontent.php
<?php
defined('DOIT') or die('Restricted access');

$modsettings=explode(",",$modsettings);

$this->query("select name,content from site_content where id=$modsettings[1] limit 1");
$content = $this->db->getdata();

echo "<div class='subcontent'>";
if ($modsettings[0]==1) { echo "<h3>$content[name]</h3>"; }
echo "<p>$content[content]</p></div>";
?>
Return current item: chillyCMS