文件位于 component\dm-include\file_formpost \formpost_datatest.php
数组变量的值:arr_jthomev_products_new      编辑的值:jthomev_products_new
使用方法:
在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] => 252
                    [pid] => csub20150805_1129113039
                    [ppid] => cate20150805_1125344029
                    [title] => 手机 双卡双待手机 双卡双待手机 双卡双待
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => n
                    [sta_new] => y
                    [link] => http://blockapi.demo.demososo.com/detail-252.html
                    [dateday] => 2016-08-20
                    [dateedit] => 2016-08-20 00:00:00
                    [hit] => 328079
                    [kv] => 
                    [kvsm] => 20160820_065655_3605.jpg
                    [kvsm2] => 20200419_164434_6306.jpg
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [author] => 
                            [authorcompany] => 
                            [detlinktitle] => 苏宁天猫
                            [detlinkurl] => https://detail.tmall.com/item.htm?id=579794586729
                            [downloadurl] => 
                            [linkmore] => 
                            [nodekvshow] => y
                            [titlebz1] => 
                            [titlebz2] => 
                            [titlebz3] => 
                        )

                )

            [1] => Array
                (
                    [id] => 2
                    [pid] => csub20150805_1129113039
                    [ppid] => cate20150805_1125344029
                    [title] => 手机双卡双待22222 手机双卡双待22222
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => n
                    [sta_new] => y
                    [link] => http://blockapi.demo.demososo.com/detail-2.html
                    [dateday] => 2015-08-06
                    [dateedit] => 2015-08-06 00:00:00
                    [hit] => 146
                    [kv] => 20160820_065418_4988.jpg
                    [kvsm] => 20160820_065425_3224.jpg
                    [kvsm2] => 
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [titlecss] => 
                            [author] => 
                            [authorcompany] => 
                            [sta_noaccess] => n
                            [sta_tj] => y
                            [sta_new] => y
                            [stock] => 10000
                            [detpriceold] => 0
                            [detprice] => 0
                            [detlinktitle] => 
                            [detlinkurl] => 
                            [downloadurl] => 
                            [videourl] => 
                            [videotitle] => 
                            [linkmore] => 
                            [seocus1] => 
                            [seocus2] => 
                            [seocus3] => 
                        )

                )

            [2] => Array
                (
                    [id] => 7
                    [pid] => csub20150805_1129113039
                    [ppid] => cate20150805_1125344029
                    [title] => 手机16G版3G手机手机16G版3G手机
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => n
                    [sta_new] => y
                    [link] => http://blockapi.demo.demososo.com/detail-7.html
                    [dateday] => 2015-08-06
                    [dateedit] => 2015-08-06 00:00:00
                    [hit] => 120
                    [kv] => 20150806_092048_7826.jpg
                    [kvsm] => 20160820_064001_4739.jpg
                    [kvsm2] => 
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [titlecss] => 
                            [author] => 
                            [authorcompany] => 
                            [sta_noaccess] => n
                            [sta_tj] => y
                            [sta_new] => y
                            [stock] => 10000
                            [detpriceold] => 0
                            [detprice] => 0
                            [detlinktitle] => 
                            [detlinkurl] => 
                            [downloadurl] => 
                            [videourl] => 
                            [videotitle] => 
                            [linkmore] => 
                            [seocus1] => 
                            [seocus2] => 
                            [seocus3] => 
                        )

                )

            [3] => Array
                (
                    [id] => 12
                    [pid] => csub20150805_1127429915
                    [ppid] => cate20150805_1125344029
                    [title] => 14.0英寸笔记本电脑14.0英寸笔记本电脑
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => n
                    [sta_new] => y
                    [link] => http://blockapi.demo.demososo.com/detail-12.html
                    [dateday] => 2015-08-06
                    [dateedit] => 2015-08-06 00:00:00
                    [hit] => 158
                    [kv] => 20150806_092914_1276.jpg
                    [kvsm] => 20160820_062914_8463.jpg
                    [kvsm2] => 
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [author] => 
                            [authorcompany] => 
                            [detlinktitle] => 
                            [detlinkurl] => 
                            [downloadurl] => 
                            [linkmore] => 
                            [nodekvshow] => y
                            [titlebz1] => 
                            [titlebz2] => 
                            [titlebz3] => 
                        )

                )

        )

)