rule; $sql = "SELECT * FROM " . tablename('zzz_reply') . " WHERE `rid`=:rid LIMIT 1"; $row = pdo_fetch($sql, array(':rid' => $rid)); if (empty($row['id'])) { return array(); } $title = pdo_fetchcolumn("SELECT name FROM ".tablename('rule')." WHERE id = :rid LIMIT 1", array(':rid' => $rid)); return $this->respNews(array( 'Title' => $title, 'Description' => $row['description'], 'PicUrl' => $_W['attachurl'] . $row['picture'], 'Url' => $this->createMobileUrl('introduce', array('id' => $rid)), )); } }