navsection = 'about'; $this->content_template = 'about/featuredetails.html'; $this->featureid = intval($suffix); } function Render() { $rs = $this->pg_query_params('SELECT featurename,featuredescription FROM features_features WHERE featureid=$1', array($this->featureid)); $this->tpl->setVariable(pg_fetch_assoc($rs)); $this->title = 'Feature description: ' . pg_fetch_result($rs, 0, 0); } } ?>