文件位于 component\dm-include\file_formpost \formpost_datatest.php
数组变量的值:arr_jthomev_dh_clients      编辑的值:jthomev_dh_clients
使用方法:
在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] => 177
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => 1
                    [kv] => 20160708_051831_1555.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [1] => Array
                (
                    [id] => 178
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => 2
                    [kv] => 20160708_051837_3866.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [2] => Array
                (
                    [id] => 179
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => 3
                    [kv] => 20160708_051843_3631.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [3] => Array
                (
                    [id] => 180
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => 4
                    [kv] => 20160708_051848_7868.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [4] => Array
                (
                    [id] => 181
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => 5
                    [kv] => 20160708_051853_3681.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [5] => Array
                (
                    [id] => 183
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => 7
                    [kv] => 20160708_051905_7435.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [6] => Array
                (
                    [id] => 184
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => 8
                    [kv] => 20160708_051910_3697.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [7] => Array
                (
                    [id] => 185
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => 9
                    [kv] => 20160708_051924_7490.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [8] => Array
                (
                    [id] => 186
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => 10
                    [kv] => 20160708_051916_7969.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [9] => Array
                (
                    [id] => 1117
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => xiaomi
                    [kv] => 20191218_123343_4259.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => n
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [10] => Array
                (
                    [id] => 1118
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => vivo
                    [kv] => 20191218_123351_6067.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => n
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

            [11] => Array
                (
                    [id] => 182
                    [pid] => dsub20160708_0509074359
                    [ppid] => blockdh
                    [title] => 6
                    [kv] => 20160708_051858_5293.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 
                    [despjj] => 
                    [arrcan] => Array
                        (
                            [dhcssname] => 
                            [dhcssstyle] => 
                            [isfull] => y
                            [dhlinktitle] => 
                            [dhlinkurl] => 
                            [dhtitlebz1] => 
                            [dhtitlebz2] => 
                            [dhtitlebz3] => 
                            [textformat] => default
                            [dhblockid] => 
                        )

                )

        )

)