| 收藏本站 | 关于我们
首页 免费模板 收费模板 部分案例 分类模板 地方门户 二次修改 服务定制 酷站欣赏 设计学院 特效代码 字体下载
当前位置:首页 >> 二次修改
V7做中英文切换思路
发布时间:2013-05-23 17:33:04
标签Tags:V7 中英文 双语站
原创作者:飞将军

思路一:可以用万能文章做英文频道

思路二:用两个整站系统

思路三:
中文用 index.php   英文用main.php   可以建立一个main.php

<?php
require(dirname(__FILE__)."/global.php");
$titleDB[title]="$webdb[en_webname]";
$titleDB[keywords] = "$webdb[en_metakeywords]";
$titleDB[description] = "$webdb[en_description]";
$head_tpl = $foot_tpl = $index_tpl = '';
$chdb[main_tpl] = html('enindex',$index_tpl);
$ch_fid = $ch_module = 0;
$ch_pagetype = 8;
$ch = 0;
require(ROOT_PATH."inc/label_module.php");
require(html("enhead",$head_tpl));
require(html('enindex',$index_tpl));
require(html("enfoot",$foot_tpl));
?>

模板目录 建立一个 enhead.htm    enfoot.htm   enindex.htm

点击率:1364
相关文章
网页特效代码
 服务流程 | 积分说明 | 使用说明 | 粤ICP备17004399号 电视直播 | QQ头像获取