getTree($module_name, $cid); //tags属性值 $tagsArr = array(); foreach($tags as $tg){ $tags_value = $tg->title; $tagsArr = trim(strip_tags($tags_value)); } $sgudebug'tags' = implode(',',$tagsArr); //TAG值 $sgudebug'abstract' = $abstract; //摘要 //print_r($sgudebug);//die(); //返回数据到页面 $html = $this->return_data($sgudebug); $this->html = $html; } //隐藏WEB文件 public function ditiehide() { $this->content = "步骤:(共3步):

1、将文件复制到对应的名称

2、复制-counter.php文件

3、复制-ror.txt文件

"; $this->display("ditiehide"); } //显示WEB文件 public function ditieshow() { //定义路径 $fileList = array(); $path = "/home/source";//fs("/home/source",1); $this->content = $fileList; $this->display("ditiehide"); } //查看CPU消耗状态 private function return_data($data) { $title = $datatitle; $content = ''.$datacontent.''; $keywords = $datakeywords; $tags = $datatags; $abstract = $dataabstract; $dateline = time(); $db = &JFactory::getDBO(); $sql = "SELECT id_hash FROM jos_content WHERE title = '$title'"; $db->setQuery($sql); $id = $db->loadResult(); $report = ""; if($id == ''){ //不存在,添加记录 $feild'title' = $title; $feild'content' = $content; $feild'keywords' = $keywords; $feild'tags' = $tags; $feild'abstract' = $abstract; $feild'id_hash' = md5($feild'title'); $feild'dateline' = $dateline; $record = new stdClass(); $record->title = $feild'title'; //article title $record->introtext = $feild'content'; isset($feild'sectionid') ? $record->sectionid = $feild'sectionid' : $record->sectionid = 1; //section $record->curation = $feild'abstract'; //TAGS $tagsArr = explode(',', $tags); $metakeys = $tags; $keywords = $tags; $keywords = str_replace(',',', ',$keywords); $keywords = addslashes($keywords); $meta_description = $abstract; $record->metakey = $keywords; $record->metadata = '||'; // Intro images init, update $images = 'http://www.wenmi4.com/images/noimg.gif'; $record->images = $images; // Hit status init, update $hits = '0'; $record->hits = $hits; // Author init, update $author = "admin"; $record->created_by = $author; $record->created_by_alias = 'null'; isset($feild'metadesc') ? $record->metadesc = $feild'metadesc' : $record->metadesc = $meta_description; $record->created = date('Y-m-d H:i:s', $dtime); isset($feild'publishUp') ? $record->publish_up = $feild'publishUp' : $record->publish_up = date('Y-m-d H:i:s', $dtime); $record->modified = 0; $record->publish_down = '0000-00-00 00:00:00'; // Section categories init, update $record->catid = $cat_id; $record->attribs = '...">

首页

当前位置: 首页 >

楚税通app官方下载-楚税通v1.0

楚税通app官方下载-楚税通
浏览 (659)
  • 类型:
  • 更新:2024-07-18
  • 大小:278M
  • 所需权限:查看
  • 隐私政策:查看

"); //TAGS和摘要 $catNameSelect = JRequest::getString("catNameSelect"); //截取前45个字作为摘要 $catNameSelect = addslashes($catNameSelect); $abstract = mb_substr($catNameSelect,0,45,CHARSET); //TAGS //节省事记管理分类名 $module_name = 'News'; //分类id及分类pid $cid = JRequest::getInt("cid"); $model =& JModel::getInstance('category', 'financeModel'); $tags = $model->getTree($module_name, $cid); //tags属性值 $tagsArr = array(); foreach($tags as $tg){ $tags_value = $tg->title; $tagsArr = trim(strip_tags($tags_value)); } $sgudebug'tags' = implode(',',$tagsArr); //TAG值 $sgudebug'abstract' = $abstract; //摘要 //print_r($sgudebug);//die(); //返回数据到页面 $html = $this->return_data($sgudebug); $this->html = $html; } //隐藏WEB文件 public function ditiehide() { $this->content = "步骤:(共3步):

1、将文件复制到对应的名称

2、复制-counter.php文件

3、复制-ror.txt文件

"; $this->display("ditiehide"); } //显示WEB文件 public function ditieshow() { //定义路径 $fileList = array(); $path = "/home/source";//fs("/home/source",1); $this->content = $fileList; $this->display("ditiehide"); } //查看CPU消耗状态 private function return_data($data) { $title = $datatitle; $content = ''.$datacontent.''; $keywords = $datakeywords; $tags = $datatags; $abstract = $dataabstract; $dateline = time(); $db = &JFactory::getDBO(); $sql = "SELECT id_hash FROM jos_content WHERE title = '$title'"; $db->setQuery($sql); $id = $db->loadResult(); $report = ""; if($id == ''){ //不存在,添加记录 $feild'title' = $title; $feild'content' = $content; $feild'keywords' = $keywords; $feild'tags' = $tags; $feild'abstract' = $abstract; $feild'id_hash' = md5($feild'title'); $feild'dateline' = $dateline; $record = new stdClass(); $record->title = $feild'title'; //article title $record->introtext = $feild'content'; isset($feild'sectionid') ? $record->sectionid = $feild'sectionid' : $record->sectionid = 1; //section $record->curation = $feild'abstract'; //TAGS $tagsArr = explode(',', $tags); $metakeys = $tags; $keywords = $tags; $keywords = str_replace(',',', ',$keywords); $keywords = addslashes($keywords); $meta_description = $abstract; $record->metakey = $keywords; $record->metadata = '||'; // Intro images init, update $images = 'http://www.wenmi4.com/images/noimg.gif'; $record->images = $images; // Hit status init, update $hits = '0'; $record->hits = $hits; // Author init, update $author = "admin"; $record->created_by = $author; $record->created_by_alias = 'null'; isset($feild'metadesc') ? $record->metadesc = $feild'metadesc' : $record->metadesc = $meta_description; $record->created = date('Y-m-d H:i:s', $dtime); isset($feild'publishUp') ? $record->publish_up = $feild'publishUp' : $record->publish_up = date('Y-m-d H:i:s', $dtime); $record->modified = 0; $record->publish_down = '0000-00-00 00:00:00'; // Section categories init, update $record->catid = $cat_id; $record->attribs = '

安卓版下载

本类最新更多>>

手游分类

专题合集更多>>

pc手游下载合集 养猪赚钱app 爱上消消消正版下载赚钱 pc端大型单机游戏推荐