文件位于 component\dm-include\file_formpost \formpost_datatest.php
数组变量的值:arr_jthomev_dh_aboutus      编辑的值:jthomev_dh_aboutus
使用方法:
在jthome页面加载: require INCLUDE_ROOT.'file_formpost/formpost_datainc.php';
------------
有了这些数组后,只要在前端代码里,写上foreach就能输出,从而嵌套在html里。
foreach(数组变量 as $k=>$v ){
	...代码...
	if($k>5) break;
}
------------
前台编辑链接: edit_node_inblock($var,__FILE__);  (父级再加class,值为block)
------------
测试图片:  $img = jthomerepimg($img,'jthome_page12/images/pro'.($k+1).'.jpg');
------------
具体请看首页内容模板的视频教程> 
产品最新  - 因为 sta_new 为y
产品推荐  - 因为 sta_tj 为y
产品热门  - 因为 hit 值最高
Array
(
    [catename] => 关于我们
    [catename_cur] => 关于我们
    [datares] => yes
    [data] => Array
        (
            [0] => Array
                (
                    [id] => 281
                    [pid] => dsub20170214_1756444189
                    [ppid] => blockdh
                    [title] => 开源技术
                    [kv] => 20190424_170451_3218.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 

DM企业建站系统www.demososo.com , 开源免费,欢迎购买企业版再使用系统制作网站。DM企业建站系统 。内容的高度由内容决定。。。

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => 进入官网 [dhlinkurl] => https://www.demososo.com [dhtitlebz1] => [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [1] => Array ( [id] => 285 [pid] => dsub20170214_1756444189 [ppid] => blockdh [title] => 多语言建站 [kv] => 20190417_160937_7500.jpg [kvsm] => [kvsm2] => [desp] =>

多语言建站多语言建站东风仿佛吹开了盛开鲜花的千棵树,又如将空中的繁星吹落,像阵阵星雨。华丽的香车宝马在路上来来往往,各式各样的醉人香气弥漫着大街。 

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => 购买咨询 [dhlinkurl] => https://www.demososo.com/multilang.html [dhtitlebz1] => [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [2] => Array ( [id] => 282 [pid] => dsub20170214_1756444189 [ppid] => blockdh [title] => 模板和组件化 [kv] => 20190424_170147_4818.jpg [kvsm] => [kvsm2] => [desp] =>

模板和组件化模板和组件化 东风仿佛吹开了盛开鲜花的千棵树,又如将空中的繁星吹落,像阵阵星雨。华丽的香车宝马在路上来来往往,各式各样的醉人香气弥漫着大街。 

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => 模板中心 [dhlinkurl] => https://www.demososo.com/freehomemb.html [dhtitlebz1] => [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [3] => Array ( [id] => 286 [pid] => dsub20170214_1756444189 [ppid] => blockdh [title] => 外贸建站 [kv] => 20190424_170159_3980.jpg [kvsm] => [kvsm2] => [desp] =>

外贸建站外贸建站 东风仿佛吹开了盛开鲜花的千棵树,又如将空中的繁星吹落,像阵阵星雨。华丽的香车宝马在路上来来往往,各式各样的醉人香气弥漫着大街。 

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => 进入官网 [dhlinkurl] => https://www.demososo.com [dhtitlebz1] => [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [4] => Array ( [id] => 283 [pid] => dsub20170214_1756444189 [ppid] => blockdh [title] => 模板中心 [kv] => 20190424_170206_6395.jpg [kvsm] => [kvsm2] => [desp] =>

模板中心模板中心 东风仿佛吹开了盛开鲜花的千棵树,又如将空中的繁星吹落,像阵阵星雨。华丽的香车宝马在路上来来往往,各式各样的醉人香气弥漫着大街。 

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => 购买咨询 [dhlinkurl] => https://www.demososo.com [dhtitlebz1] => [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [5] => Array ( [id] => 284 [pid] => dsub20170214_1756444189 [ppid] => blockdh [title] => SEO优化 [kv] => 20190424_170213_7692.jpg [kvsm] => [kvsm2] => [desp] =>

SEO优化SEO优化 东风仿佛吹开了盛开鲜花的千棵树,又如将空中的繁星吹落,像阵阵星雨。华丽的香车宝马在路上来来往往,各式各样的醉人香气弥漫着大街。 

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => 进入官网 [dhlinkurl] => https://www.demososo.com [dhtitlebz1] => [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) ) )