文件位于 component\dm-include\file_formpost \formpost_datatest.php
数组变量的值:arr_jthomev_dh_pj      编辑的值:jthomev_dh_pj
使用方法:
在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] => 194
                    [pid] => dsub20160708_0508436425
                    [ppid] => blockdh
                    [title] => 李先生
                    [kv] => 20160708_053224_8385.jpg
                    [kvsm] => 
                    [kvsm2] => 
                    [desp] => 

客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => [dhlinkurl] => [dhtitlebz1] => CTO [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [1] => Array ( [id] => 195 [pid] => dsub20160708_0508436425 [ppid] => blockdh [title] => 刘小姐 [kv] => 20160708_053219_9347.jpg [kvsm] => [kvsm2] => [desp] =>

客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => [dhlinkurl] => [dhtitlebz1] => CFO [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [2] => Array ( [id] => 196 [pid] => dsub20160708_0508436425 [ppid] => blockdh [title] => 周经理 [kv] => 20160708_053215_7122.jpg [kvsm] => [kvsm2] => [desp] =>

客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => [dhlinkurl] => [dhtitlebz1] => 销售经理 [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [3] => Array ( [id] => 197 [pid] => dsub20160708_0508436425 [ppid] => blockdh [title] => 张总监 [kv] => 20160708_053210_2374.jpg [kvsm] => [kvsm2] => [desp] =>

客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => [dhlinkurl] => [dhtitlebz1] => 技术总监 [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [4] => Array ( [id] => 198 [pid] => dsub20160708_0508436425 [ppid] => blockdh [title] => 黄师傅 [kv] => 20160708_053206_1162.jpg [kvsm] => [kvsm2] => [desp] =>

客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。

[despjj] => [arrcan] => Array ( [dhcssname] => [dhcssstyle] => [isfull] => y [dhlinktitle] => [dhlinkurl] => [dhtitlebz1] => CFO [dhtitlebz2] => [dhtitlebz3] => [textformat] => default [dhblockid] => ) ) [5] => Array ( [id] => 199 [pid] => dsub20160708_0508436425 [ppid] => blockdh [title] => 十三姨 [kv] => 20160708_053202_1372.jpg [kvsm] => [kvsm2] => [desp] =>

客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。客户评价内容。。。

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