文件位于 component\dm-include\file_formpost \formpost_datatest.php
数组变量的值:arr_jthomev_products_cate      编辑的值:jthomev_products_cate
使用方法:
在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] => 产品中心
    [catelink] => http://slider.demo.demososo.com/products.html
    [catename_cur] => 产品中心
    [catename_curlink] => http://slider.demo.demososo.com/products.html
    [datares] => yes
    [data] => Array
        (
            [0] => Array
                (
                    [id] => 2
                    [name] => 平板电视
                    [pidname] => csub20150805_1127279495
                    [pid] => cate20150805_1125344029
                    [ppid] => cate20150805_1125344029
                    [link] => http://slider.demo.demososo.com/category-2.html
                    [son] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 430
                                    [name] => 电视1
                                    [pidname] => csub20201027_1154056270
                                    [pid] => csub20150805_1127279495
                                    [ppid] => cate20150805_1125344029
                                    [link] => http://slider.demo.demososo.com/category-430.html
                                )

                        )

                )

            [1] => Array
                (
                    [id] => 3
                    [name] => 手机
                    [pidname] => csub20150805_1127356368
                    [pid] => cate20150805_1125344029
                    [ppid] => cate20150805_1125344029
                    [link] => http://slider.demo.demososo.com/huawei.html
                    [son] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 5
                                    [name] => 华为
                                    [pidname] => csub20150805_1128542682
                                    [pid] => csub20150805_1127356368
                                    [ppid] => cate20150805_1125344029
                                    [link] => http://slider.demo.demososo.com/category-5.html
                                )

                            [1] => Array
                                (
                                    [id] => 6
                                    [name] => 小米
                                    [pidname] => csub20150805_1129022677
                                    [pid] => csub20150805_1127356368
                                    [ppid] => cate20150805_1125344029
                                    [link] => http://slider.demo.demososo.com/category-6.html
                                )

                            [2] => Array
                                (
                                    [id] => 7
                                    [name] => 其他
                                    [pidname] => csub20150805_1129113039
                                    [pid] => csub20150805_1127356368
                                    [ppid] => cate20150805_1125344029
                                    [link] => http://slider.demo.demososo.com/category-7.html
                                )

                        )

                )

            [2] => Array
                (
                    [id] => 4
                    [name] => 笔记本
                    [pidname] => csub20150805_1127429915
                    [pid] => cate20150805_1125344029
                    [ppid] => cate20150805_1125344029
                    [link] => http://slider.demo.demososo.com/category-4.html
                )

        )

)