文件位于 component\dm-include\file_formpost \formpost_datatest.php
数组变量的值:arr_jthomev_menu      编辑的值:jthomev_menu
使用方法:
在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
(
    [datares] => yes
    [data] => Array
        (
            [0] => Array
                (
                    [id] => 242
                    [name] => 网站首页
                    [linkurl] => http://slider.demo.demososo.com/
                    [menu_xiala] => 
                    [ppid] => menu20161129_1804453928
                    [pid] => 0
                    [pidname] => smenu20180508_1455556398
                    [type] => page20160307_1115284044
                    [sta_cusmenu] => n
                    [cusmenudesp] => 
                    [son] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 448
                                    [name] => 首页2--更多效果
                                    [linkurl] => http://slider.demo.demososo.com/page-229.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20180508_1455556398
                                    [pidname] => smenu20201012_1321209392
                                    [type] => page20201012_1318198822
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                            [1] => Array
                                (
                                    [id] => 455
                                    [name] => 菜单管理介绍
                                    [linkurl] => https://www.bilibili.com/video/BV1zv41157Ud/
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20180508_1455556398
                                    [pidname] => smenu20210509_1834255988
                                    [type] => cusm20210509_1834255988
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                            [2] => Array
                                (
                                    [id] => 456
                                    [name] => DM视频教程
                                    [linkurl] => https://www.bilibili.com/video/BV1A54y1q7E6/
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20180508_1455556398
                                    [pidname] => smenu20210509_2105129747
                                    [type] => cusm20210509_2105129747
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                            [3] => Array
                                (
                                    [id] => 454
                                    [name] => 其他页面打不开?
                                    [linkurl] => https://www.bilibili.com/video/BV1JA411G7Qb/
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20180508_1455556398
                                    [pidname] => smenu20210509_1833557296
                                    [type] => cusm20210509_1833557296
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                        )

                )

            [1] => Array
                (
                    [id] => 178
                    [name] => 关于我们
                    [linkurl] => http://slider.demo.demososo.com/about.html
                    [menu_xiala] => 
                    [ppid] => menu20161129_1804453928
                    [pid] => 0
                    [pidname] => smenu20170510_1715538289
                    [type] => cusm20170510_1715538289
                    [sta_cusmenu] => n
                    [cusmenudesp] => 
                    [son] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 153
                                    [name] => 公司介绍
                                    [linkurl] => http://slider.demo.demososo.com/about.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20170510_1715538289
                                    [pidname] => smenu20150805_1138522811
                                    [type] => page20150805_1138522811
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                            [1] => Array
                                (
                                    [id] => 173
                                    [name] => 企业文化
                                    [linkurl] => http://slider.demo.demososo.com/culture.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20170510_1715538289
                                    [pidname] => smenu20161207_1036569778
                                    [type] => page20161207_1036569778
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                            [2] => Array
                                (
                                    [id] => 151
                                    [name] => 团队建设
                                    [linkurl] => http://slider.demo.demososo.com/team.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20170510_1715538289
                                    [pidname] => smenu20150805_1143268522
                                    [type] => page20150805_1143268522
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                            [3] => Array
                                (
                                    [id] => 152
                                    [name] => 企业资质
                                    [linkurl] => http://slider.demo.demososo.com/certification.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20170510_1715538289
                                    [pidname] => smenu20151015_0911225612
                                    [type] => page20151015_0911225612
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                        )

                )

            [2] => Array
                (
                    [id] => 155
                    [name] => 新闻中心
                    [linkurl] => http://slider.demo.demososo.com/news.html
                    [menu_xiala] => 
                    [ppid] => menu20161129_1804453928
                    [pid] => 0
                    [pidname] => smenu20150805_1133251007
                    [type] => cate20150805_1133251007
                    [sta_cusmenu] => n
                    [cusmenudesp] => 
                    [son] => Array
                        (
                            [catename] => 新闻中心
                            [catelink] => http://slider.demo.demososo.com/news.html
                            [catename_cur] => 新闻中心
                            [catename_curlink] => http://slider.demo.demososo.com/news.html
                            [datares] => yes
                            [data] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 9
                                            [name] => 公司新闻1
                                            [pidname] => csub20150805_1133441588
                                            [pid] => cate20150805_1133251007
                                            [ppid] => cate20150805_1133251007
                                            [link] => http://slider.demo.demososo.com/category-9.html
                                        )

                                    [1] => Array
                                        (
                                            [id] => 10
                                            [name] => 公司新闻2
                                            [pidname] => csub20150805_1133512388
                                            [pid] => cate20150805_1133251007
                                            [ppid] => cate20150805_1133251007
                                            [link] => http://slider.demo.demososo.com/category-10.html
                                        )

                                    [2] => Array
                                        (
                                            [id] => 11
                                            [name] => 公司新闻3
                                            [pidname] => csub20150805_1133597884
                                            [pid] => cate20150805_1133251007
                                            [ppid] => cate20150805_1133251007
                                            [link] => http://slider.demo.demososo.com/category-11.html
                                        )

                                    [3] => Array
                                        (
                                            [id] => 40
                                            [name] => 公司新闻4
                                            [pidname] => csub20160603_1044113807
                                            [pid] => cate20150805_1133251007
                                            [ppid] => cate20150805_1133251007
                                            [link] => http://slider.demo.demososo.com/category-40.html
                                        )

                                )

                        )

                )

            [3] => Array
                (
                    [id] => 154
                    [name] => 产品中心
                    [linkurl] => http://slider.demo.demososo.com/products.html
                    [menu_xiala] => 
                    [ppid] => menu20161129_1804453928
                    [pid] => 0
                    [pidname] => smenu20150805_1125344029
                    [type] => cate20150805_1125344029
                    [sta_cusmenu] => n
                    [cusmenudesp] => 
                    [son] => 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
                                        )

                                )

                        )

                )

            [4] => Array
                (
                    [id] => 283
                    [name] => 视频中心
                    [linkurl] => http://slider.demo.demososo.com/sp.html
                    [menu_xiala] => 
                    [ppid] => menu20161129_1804453928
                    [pid] => 0
                    [pidname] => smenu20180801_1832569361
                    [type] => cate20160410_0658287350
                    [sta_cusmenu] => n
                    [cusmenudesp] => 
                    [son] => Array
                        (
                            [catename] => 视频中心
                            [catelink] => http://slider.demo.demososo.com/sp.html
                            [catename_cur] => 视频中心
                            [catename_curlink] => http://slider.demo.demososo.com/sp.html
                            [datares] => yes
                            [data] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 38
                                            [name] => 视频分类1
                                            [pidname] => csub20160410_0658592970
                                            [pid] => cate20160410_0658287350
                                            [ppid] => cate20160410_0658287350
                                            [link] => http://slider.demo.demososo.com/category-38.html
                                        )

                                    [1] => Array
                                        (
                                            [id] => 39
                                            [name] => 视频分类2
                                            [pidname] => csub20160410_0659073489
                                            [pid] => cate20160410_0658287350
                                            [ppid] => cate20160410_0658287350
                                            [link] => http://slider.demo.demososo.com/category-39.html
                                        )

                                )

                        )

                )

            [5] => Array
                (
                    [id] => 157
                    [name] => 人才招聘
                    [linkurl] => http://slider.demo.demososo.com/jobs.html
                    [menu_xiala] => 
                    [ppid] => menu20161129_1804453928
                    [pid] => 0
                    [pidname] => smenu20150806_0435579851
                    [type] => page20150806_0435579851
                    [sta_cusmenu] => n
                    [cusmenudesp] => 
                    [son] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 438
                                    [name] => 特色招聘
                                    [linkurl] => http://slider.demo.demososo.com/page-227.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20150806_0435579851
                                    [pidname] => smenu20200717_1304301173
                                    [type] => page20200717_1236257364
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                        )

                )

            [6] => Array
                (
                    [id] => 370
                    [name] => 特色页面
                    [linkurl] => http://slider.demo.demososo.com/page-177.html
                    [menu_xiala] => 
                    [ppid] => menu20161129_1804453928
                    [pid] => 0
                    [pidname] => smenu20190411_1100302257
                    [type] => cusm20190411_1100302257
                    [sta_cusmenu] => n
                    [cusmenudesp] => 
                    [son] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 371
                                    [name] => 滚动页面-scroll fix
                                    [linkurl] => http://slider.demo.demososo.com/page-177.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20190411_1100302257
                                    [pidname] => smenu20190411_1101052975
                                    [type] => page20190401_1835494002
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                            [1] => Array
                                (
                                    [id] => 372
                                    [name] => 滚动页面-scroll sidebar
                                    [linkurl] => http://slider.demo.demososo.com/page-178.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20190411_1100302257
                                    [pidname] => smenu20190411_1101097858
                                    [type] => page20190401_1835598959
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                            [2] => Array
                                (
                                    [id] => 436
                                    [name] => 特色页面-关于我们
                                    [linkurl] => http://slider.demo.demososo.com/page-225.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20190411_1100302257
                                    [pidname] => smenu20200717_1304096957
                                    [type] => page20200316_1049184281
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                            [3] => Array
                                (
                                    [id] => 437
                                    [name] => 特色页面-我们的服务
                                    [linkurl] => http://slider.demo.demososo.com/page-226.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20190411_1100302257
                                    [pidname] => smenu20200717_1304214489
                                    [type] => page20200717_1236177204
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                            [4] => Array
                                (
                                    [id] => 439
                                    [name] => 特色页面-案例
                                    [linkurl] => http://slider.demo.demososo.com/page-228.html
                                    [menu_xiala] => 
                                    [ppid] => menu20161129_1804453928
                                    [pid] => smenu20190411_1100302257
                                    [pidname] => smenu20200717_1304401259
                                    [type] => page20200717_1236321807
                                    [sta_cusmenu] => n
                                    [cusmenudesp] => 
                                )

                        )

                )

            [7] => Array
                (
                    [id] => 245
                    [name] => 联系我们
                    [linkurl] => http://slider.demo.demososo.com/contact.html
                    [menu_xiala] => 
                    [ppid] => menu20161129_1804453928
                    [pid] => 0
                    [pidname] => smenu20180525_2101414003
                    [type] => page20150806_0436437668
                    [sta_cusmenu] => n
                    [cusmenudesp] => 
                )

        )

)