文件位于 component\dm-include\file_formpost \formpost_datatest.php
数组变量的值:arr_jthomev_case      编辑的值:jthomev_case
使用方法:
在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] => 1046
                    [pid] => csub20190423_1718017279
                    [ppid] => cate20190423_1717461277
                    [title] => 客户案例客户案例客户案例666666
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => n
                    [sta_new] => n
                    [link] => http://blockapi.demo.demososo.com/detail-1046.html
                    [dateday] => 2019-04-24
                    [dateedit] => 2019-04-24 11:21:40
                    [hit] => 70
                    [kv] => 
                    [kvsm] => 20190424_112147_4943.jpg
                    [kvsm2] => 
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [author] => 
                            [authorcompany] => 
                            [stock] => 
                            [detpriceold] => 0
                            [detprice] => 0
                            [detlinktitle] => 
                            [detlinkurl] => 
                            [downloadurl] => 
                            [linkmore] => 
                            [titlebz1] => 
                            [titlebz2] => 
                            [titlebz3] => 
                            [nodekvshow] => y
                        )

                )

            [1] => Array
                (
                    [id] => 1044
                    [pid] => csub20190423_1718017279
                    [ppid] => cate20190423_1717461277
                    [title] => 客户案例客户案例客户案例666
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => n
                    [sta_new] => n
                    [link] => http://blockapi.demo.demososo.com/detail-1044.html
                    [dateday] => 2019-04-24
                    [dateedit] => 2019-04-24 10:47:01
                    [hit] => 63
                    [kv] => 
                    [kvsm] => 20190424_112108_4789.jpg
                    [kvsm2] => 
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [author] => 
                            [authorcompany] => 
                            [stock] => 
                            [detpriceold] => 0
                            [detprice] => 0
                            [detlinktitle] => 
                            [detlinkurl] => 
                            [downloadurl] => 
                            [linkmore] => 
                            [titlebz1] => 
                            [titlebz2] => 
                            [titlebz3] => 
                            [nodekvshow] => y
                        )

                )

            [2] => Array
                (
                    [id] => 1043
                    [pid] => csub20190423_1718017279
                    [ppid] => cate20190423_1717461277
                    [title] => 客户案例客户案例客户案例5555555555
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => n
                    [sta_new] => n
                    [link] => http://blockapi.demo.demososo.com/detail-1043.html
                    [dateday] => 2019-04-24
                    [dateedit] => 2019-04-24 10:46:48
                    [hit] => 72
                    [kv] => 
                    [kvsm] => 20190424_112113_3162.jpg
                    [kvsm2] => 
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [author] => 
                            [authorcompany] => 
                            [stock] => 
                            [detpriceold] => 0
                            [detprice] => 0
                            [detlinktitle] => 
                            [detlinkurl] => 
                            [downloadurl] => 
                            [linkmore] => 
                            [titlebz1] => 
                            [titlebz2] => 
                            [titlebz3] => 
                            [nodekvshow] => y
                        )

                )

            [3] => Array
                (
                    [id] => 1042
                    [pid] => csub20190423_1717574537
                    [ppid] => cate20190423_1717461277
                    [title] => 客户案例客户案例客户案例333333333
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => n
                    [sta_new] => n
                    [link] => http://blockapi.demo.demososo.com/detail-1042.html
                    [dateday] => 2019-04-24
                    [dateedit] => 2019-04-24 10:45:23
                    [hit] => 67
                    [kv] => 
                    [kvsm] => 20190424_112118_5740.jpg
                    [kvsm2] => 
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [author] => 
                            [authorcompany] => 
                            [stock] => 
                            [detpriceold] => 0
                            [detprice] => 0
                            [detlinktitle] => 
                            [detlinkurl] => 
                            [downloadurl] => 
                            [linkmore] => 
                            [titlebz1] => 
                            [titlebz2] => 
                            [titlebz3] => 
                            [nodekvshow] => y
                        )

                )

            [4] => Array
                (
                    [id] => 1041
                    [pid] => csub20190423_1717574537
                    [ppid] => cate20190423_1717461277
                    [title] => 客户案例客户案例客户案例222222222222
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => n
                    [sta_new] => n
                    [link] => http://blockapi.demo.demososo.com/detail-1041.html
                    [dateday] => 2019-04-24
                    [dateedit] => 2019-04-24 10:45:21
                    [hit] => 65
                    [kv] => 
                    [kvsm] => 20190424_112124_1540.jpg
                    [kvsm2] => 
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [author] => 
                            [authorcompany] => 
                            [stock] => 
                            [detpriceold] => 0
                            [detprice] => 0
                            [detlinktitle] => 
                            [detlinkurl] => 
                            [downloadurl] => 
                            [linkmore] => 
                            [titlebz1] => 
                            [titlebz2] => 
                            [titlebz3] => 
                            [nodekvshow] => y
                        )

                )

            [5] => Array
                (
                    [id] => 1040
                    [pid] => csub20190423_1717574537
                    [ppid] => cate20190423_1717461277
                    [title] => 客户案例客户案例客户案例1111111111111
                    [titlestyle] => 
                    [alias_jump] => 
                    [sta_tj] => n
                    [sta_new] => n
                    [link] => http://blockapi.demo.demososo.com/detail-1040.html
                    [dateday] => 2019-04-24
                    [dateedit] => 2019-04-24 10:45:19
                    [hit] => 54
                    [kv] => 
                    [kvsm] => 20190424_112130_4999.jpg
                    [kvsm2] => 
                    [desp] => DM企业建站系统是由php+mysql开发的一套专门用于中小企业网站建设的开源cms。
可以用来快速建设一个响应式的企业网站( PC,手机,微信都可以访问)。...
                    [arrcan] => Array
                        (
                            [author] => 
                            [authorcompany] => 
                            [stock] => 
                            [detpriceold] => 0
                            [detprice] => 0
                            [detlinktitle] => 
                            [detlinkurl] => 
                            [downloadurl] => 
                            [linkmore] => 
                            [titlebz1] => 
                            [titlebz2] => 
                            [titlebz3] => 
                            [nodekvshow] => y
                        )

                )

        )

)