function get_copyright() { $rs = xconfig("name='copyright'"); $xconfig = mysql_fetch_object($rs); return $xconfig->content; }
function get_copyright() { $rs = xconfig("content", "name = 'copyright'"); $xconfig = mysql_fetch_array($rs); return $xconfig['content']; }