win8下U盘安装Debian7 linux 双系统共存
2013-11-06 22:57
281 查看
在 goods.php 文件,
找到 $smarty->assign('goods', $goods);
在它上面增加下面代码:$cat_arr = get_parent_cats($goods['cat_id']);
foreach ($cat_arr AS $val)
{
$goods['topcat_id']=$val['cat_id'];
$goods['topcat_name']=$val['cat_name'];
}
然后,在商品详情模板文件 goods.dwt 中 就可以这样调用了
顶级分类id:{$goods.topcat_id}
顶级分类名称name:{$goods.topcat_name}
本文出自 “啊磊” 博客,请务必保留此出处http://yyonglei.blog.51cto.com/5158525/1339946
找到 $smarty->assign('goods', $goods);
在它上面增加下面代码:$cat_arr = get_parent_cats($goods['cat_id']);
foreach ($cat_arr AS $val)
{
$goods['topcat_id']=$val['cat_id'];
$goods['topcat_name']=$val['cat_name'];
}
然后,在商品详情模板文件 goods.dwt 中 就可以这样调用了
顶级分类id:{$goods.topcat_id}
顶级分类名称name:{$goods.topcat_name}
本文出自 “啊磊” 博客,请务必保留此出处http://yyonglei.blog.51cto.com/5158525/1339946
相关文章推荐
- 使用U盘安装Debian 7 (Wheezy) Linux系统详细教程
- linux U盘安装系统工具usb-creator-gtk
- 用U盘安装Linux系统
- 使用U盘安装Debian8.2.0系统图文、视频教程
- 怎样把Ubuntu Linux系统安装到u盘
- U盘安装Linux系统教程
- Win7, Mac OS X, Linux三系统共存之Ubuntu 12.04安装笔记
- Linux系统之路——如何在服务器用U盘安装CentOS7.2(一)
- U盘安装linux系统【RHEL 6.3 server】
- 用U盘安装debian系统
- 如何u盘安装Linux系统CentOS7.2
- 安装Kali上的工具在其他Debian系的Linux系统上
- Windows7下U盘安装CentOS7 双系统共存
- U盘启动安装linux系统
- Linux系统安装后只能从U盘启动,解决办法
- 如何用U盘安装linux fadora系统
- U盘安装CentOS7.2 Linux系统和基础配置
- 使用U盘安装Debian系统图文教程
- bt5全称是Back Track five,是继BT3,BT4之后的最新版,这是一个linux环境的便携系统,可以放到U盘或者硬盘中启动,对本身硬盘没有影响,无需在本地安装。
- 利用U盘安装linux系统