文件位于 component\dm-include\file_formpost \formpost_datatest.php
数组变量的值:arr_jthomev_products_tj      编辑的值:jthomev_products_tj
使用方法:
在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] => 13
                    [pid] => csub20150805_1127429915
                    [ppid] => cate20150805_1125344029
                    [title] => 笔记本电脑笔记本电脑笔记本电脑
                    [titlestyle] => red
                    [alias_jump] => 
                    [sta_tj] => y
                    [sta_new] => n
                    [link] => http://blockapi.demo.demososo.com/teweww.html
                    [dateday] => 2015-08-06
                    [dateedit] => 2015-08-06 00:00:00
                    [hit] => 1716
                    [kv] => 20150806_093046_2423.jpg
                    [kvsm] => 20160820_065945_9561.jpg
                    [kvsm2] => 20200419_164424_6407.jpg
                    [desp] => 这是描述说明文字。。。7.3英寸游戏本17.3英寸游戏。。。。。。这是描述说明文字。。。7.3英寸游戏本17.3英寸游戏。。。。。。这是描述说明文字。。。7.3...
                    [arrcan] => Array
                        (
                            [author] => 
                            [authorcompany] => 
                            [detlinktitle] => 京东
                            [detlinkurl] => https://item.jd.com/7435156.html
                            [downloadurl] => 
                            [linkmore] => 
                            [nodekvshow] => y
                            [nodebz1] => 
                            [nodebz2] => 
                            [nodebz3] => 
                        )

                )

            [1] => Array
                (
                    [id] => 3
                    [pid] => csub20150805_1128542682
                    [ppid] => cate20150805_1125344029
                    [title] => 移动联通电信手机移动联通电信手机
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => y
                    [sta_new] => n
                    [link] => http://blockapi.demo.demososo.com/detail-3.html
                    [dateday] => 2015-08-06
                    [dateedit] => 2015-08-06 00:00:00
                    [hit] => 139
                    [kv] => 20160820_065158_9420.jpg
                    [kvsm] => 20160820_065151_8351.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] => 4
                    [pid] => csub20150805_1129022677
                    [ppid] => cate20150805_1125344029
                    [title] => 手机双卡双待香槟金手机双卡双待香槟金
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => y
                    [sta_new] => n
                    [link] => http://blockapi.demo.demososo.com/detail-4.html
                    [dateday] => 2015-08-06
                    [dateedit] => 2015-08-06 00:00:00
                    [hit] => 106
                    [kv] => 20160820_064911_2203.jpg
                    [kvsm] => 20160820_064917_6826.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] => 6
                    [pid] => csub20150805_1129022677
                    [ppid] => cate20150805_1125344029
                    [title] => 手机双卡双待香槟金222手机双卡双待香槟金222
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => y
                    [sta_new] => n
                    [link] => http://blockapi.demo.demososo.com/detail-6.html
                    [dateday] => 2015-08-06
                    [dateedit] => 2015-08-06 00:00:00
                    [hit] => 161
                    [kv] => 20150806_091923_3218.jpg
                    [kvsm] => 20160820_064047_5245.jpg
                    [kvsm2] => 
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [author] => 
                            [authorcompany] => asfas
                            [stock] => 10000
                            [detpriceold] => 0
                            [detprice] => 0
                            [detlinktitle] => 
                            [detlinkurl] => 
                            [downloadurl] => 
                            [linkmore] => 
                        )

                )

        )

)