得到放大图地址,质量可以在后台设置.txt
<?php
/**
* 得到缩略图的图片地址
* var_dump(get_ih_src($random_featured_product->fields['products_image']));
* @param unknown_type $image 原图片的地址
* @param unknown_type $width 默认是大图
* @param unknown_type $height
*/
function get_ih_src($image, $width = LARGE_IMAGE_MAX_WIDTH, $height = LARGE_IMAGE_MAX_HEIGHT) {
$img_div = zen_image(DIR_WS_IMAGES . $image, '', $width, $height);
$t_match = preg_match('/src="([^"]*)"/', $img_div, $new_img_array);
$new_img = $t_match ? $new_img_array[1] : '';
return $new_img;
}
?>
====================================
E:\XAMPP\htdocs\includes
product_listing.php:all listing输出(包括多选框)
E:\xampp\htdocs\includes\modules
meta_tags.php 所有标签控制
E:\xampp\htdocs\includes
database_tables.php 数据库表名重定义
E:\xampp\htdocs\includes\templates\lite_blue\common
tpl_header.php 显示头部导航
\includes\templates\lite_blue\common
tpl_main_page.php 首页版面布局(内容)
includes\templates\template_default\templates
tpl_index_categories.php 首页版面内容
\includes\templates\template_default\templates
tpl_index_product_list.php 产品分类页
\includes\modules
product_listing.php 显示产品列表
\includes\templates\lite_blue\templates
tpl_product_info_display.php 产品详细页
产品详细页数据调用程序
E:\XAMPP\htdocs\includes\modules\pages\product_info
main_template_vars.php
\includes\languages\english
meta_tags.php 定义各种页面的标签
addd13798\includes\modules\product
collect_info.php 添加(修改)产品页
collect_info_metatags.php 添加(修改)网页标签页
\includes\languages\lite_blue
english.php 定义了程序的所有常量
/includes/languages/english/html_includes/define_main_page.php
自定义页
E:\XAMPP\phpMyAdmin\
tbl_change.php 更改批量修改Keywords高度
tpl_main_page.php
<?php
/**
* displays links sideboxe on home page
*/
if ($this_is_home_page) {
require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/define_bottom_links.php');
}
?>
=================================
1、语言包文件
box\boxt_extrabox\news_catalog_dhtml.php里添加菜单项