//调用JTable
$article=JTable::getInstance('content');
//载入指定id的文章
$article->load($aid);
//文章名称
$this->escape($article->title);
//文章别名
$article->slug=$article->alias?($article->id.':'.$article->alias):$article->id;
//文章地址
//require_once JPATH_SITE.'/components/com_content/helpers/route.php';
JLoader::register('ContentHelperRoute',JPATH_SITE.'/components/com_content/helpers/route.php');
$article->link=JRoute::_(ContentHelperRoute::getArticleRoute($article->slug,$article->catid,$article->language));
//获取文本简介
$introtext=strip_tags($article->introtext);
$introtext=mb_substr($introtext,0,70,'utf-8');
//获取图片
$images=json_decode($this->item->images);
//引言图片
$images->image_intro;
//全文图片
$images->image_fulltext;
//提取无html的文章简介
$introtext = mb_substr($this->item->introtext,0,100,'utf-8');
$introtext = strip_tags($introtext);