blog =& $blog; $this->con =& $blog->con; } public function getdateBlog() { $req = "SELECT blog_creadt,blog_id ". "FROM ".$this->blog->prefix."blog ". "WHERE blog_id = '".$this->blog->con->escape($this->blog->id)."' and blog_status = 1"; try { $rs = $this->con->select($req); $rs = $rs->toStatic(); } catch (Exception $e) { throw $e; return null; } return $rs; } }