文件位于 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] => 151
                    [pid] => dsub20160707_0914597182
                    [ppid] => blockdh
                    [title] => DM外贸建站系统
                    [kv] => 20201016_172752_7860.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [kvsm_cus] => 
                    [desp] => 
                    [despjj] => 
                    [despall] =>  - no despall when type is blockdh in list(excerpt), use desp
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 关于我们
                            [dhlinkurl] => about.html
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [1] => Array
                (
                    [id] => 149
                    [pid] => dsub20160707_0914597182
                    [ppid] => blockdh
                    [title] => DM建站
                    [kv] => 20160924_125009_5777.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [kvsm_cus] => 
                    [desp] => 

欢迎使用DM企业建站系统

[despjj] => [despall] => - no despall when type is blockdh in list(excerpt), use desp [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => 关于我们 [dhlinkurl] => https://www.demososo.com [dhtitlebz1] => [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [2] => Array ( [id] => 150 [pid] => dsub20160707_0914597182 [ppid] => blockdh [title] => DM易系统,多个模板选择 [kv] => 20201016_172809_9941.jpg [kvsm] => [kvsm2] => [kvsm_cus] => [desp] => [despjj] => [despall] => - no despall when type is blockdh in list(excerpt), use desp [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => 关于我们 [dhlinkurl] => about.html [dhtitlebz1] => [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) ) )