文件位于 component\dm-include\file_formpost \formpost_datatest.php
数组变量的值:arr_jthomev_dh_slider      编辑的值:jthomev_dh_slider
使用方法:
在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] => 150
                    [pid] => dsub20160707_0914597182
                    [ppid] => blockdh
                    [title] => DM系统西部数码主机
                    [kv] => 20200419_081809_7324.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => https://host.demososo.com
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [1] => Array
                (
                    [id] => 151
                    [pid] => dsub20160707_0914597182
                    [ppid] => blockdh
                    [title] => DM系统西部数码主机
                    [kv] => 20200419_081818_6028.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => https://host.demososo.com
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [2] => Array
                (
                    [id] => 149
                    [pid] => dsub20160707_0914597182
                    [ppid] => blockdh
                    [title] => 图片1
                    [kv] => 20160924_125009_5777.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 

欢迎使用DM企业建站系统

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => 1111 [dhlinkurl] => [dhtitlebz1] => [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) ) )