#!/usr/bin/perl
################################################################################
# Project : Chinavista YellowPage search engine, Copyright Xindeco BIC #
# Author : walker.Chen (ChenChaoRen) #
# E-mail : walker@chinavista.com #
################################################################################
require "/u/web/chinav/cgi-local/cgi-lib.chen";
#require "/usr/people/walker/cgi-local/cgi-lib.walker";
use Msql;
# Read parameters
ReadParse(*input);
$Lan = &SplitParam($input{'Lan'});
# Classes
$TcNum = 15;
@Tc=([1000,"All","全部","场"],
[2000,"Banking & Finance","银行、金融业","蝗︽磕穨"],
[3000,"Computers & Internet","计算机、国际互联网","璸衡诀瓣悔が羛呼"],
[4000,"Consulting & Legal","咨询、法律","玹高猭"],
[5000,"Entertainment & Recreation","娱乐、消遣","甌贾缓"],
[6000,"Government","政府","現┎"],
[7000,"Health & Fitness","卫生、健康","矫ネ胺眃"],
[8000,"Industry & Manufacturing","工业、制造业","穨硑穨"],
[9000,"Media & Publishing","媒体、出版业","碈砰穨"],
[10000,"Real Estate","房地产业","┬玻穨"],
[11000,"Science & Technology","科学、技术","厩мズ"],
[12000,"Shipping & Forwarding","交通、运输业","ユ硄笲块穨"],
[13000,"Trade","贸易","禩"],
[14000,"Travel","旅游","村"],
[15000,"Other","其它","ㄤウ"]
);
@info=(
["Add your company into our yellowpage",
"加入《中国指南》黄页数据库",
"い瓣玭独计沮畐"],
["ChinaVista","中国指南","い瓣玭"],
["CityVistas","城市指南","カ玭"],
["Business","商业指南","坝穨玭"],
["Tech","科技指南","м玭"],
["Discover China","神州纵横","羇绢"],
["Search","检索","浪"],
["Services","服务","狝叭"],
["Xindeco Business Information Co., Ltd.","信达商情有限公司","獺笷坝薄Τそ"],
["All rights reserved.","版权所有","舦┮Τ"],
["Short name of your company *","贵公司简称 *","禥そ虏嘿 *"],
["Full name of your company *","贵公司全名 *","禥そ *"],
["URL of logo file","标志图片的 URL","夹в瓜 URL"],
["URL of the image of your company","贵公司的照片的 URL","禥そ酚 URL"],
["Province/city your company locates *","贵公司所在的省份/城市 *","禥そ┮/カ *"],
["Classification of your company","贵公司所属行业","禥そ┮妮︽穨"],
["Search keywords(32 characters max.), for example : import textile","检索关键字(最多16个汉字)
如:进口 纺织品","浪闽龄秈 麓珇"],
["Services your company provides","贵公司提供的服务","禥そ矗ㄑ狝叭"],
["Introduction of your company","贵公司的简介","禥そ虏ざ"],
["URL of your web site **",
"贵公司的 WWW 网址 **",
"禥そ WWW 呼 **"],
["Language used in your web site **",
"贵公司网址使用的语言 **",
"禥そ呼ㄏノ粂ē **"],
["Your E-mail address","贵公司的电子信箱","禥そ筿獺絚"],
["Address of your company","贵公司的地址","禥そ"],
["Phone number","贵公司的电话","禥そ筿杠"],
["Fax number","贵公司的传真号码","禥そ肚痷腹絏"],
["URL prefix of maps","贵公司提供的地图的 URL 前缀","禥そ矗ㄑ瓜 URL 玡后"],
["Maps number","地图图片的个数","瓜瓜计"],
["English","英语","璣粂"],
["Chinese GB","简体中文","虏砰いゅ"],
["Chinese BIG-5","繁体中文","羉砰いゅ"],
["Other languages","其他语言","ㄤ粂ē"],
["Submit","提交","矗ユ"],
["Clear","清除重填","睲埃恶"],
["Search yellowpage","检索黄页","浪独"],
["Required","必须填写","ゲ斗恶糶"],
["If your website has several different language versions, please add them separately.","如果您的主页有几个不同语言的版本,请分别添加。","狦眤Τぃ粂ēセ叫だ睰"],
["
For Chinese Companies Only", "
只有中国公司才能添加", "
Τい瓣そ睰"], ["","",""], ["","",""], ["","",""], ["","",""], ["","",""], ["","",""] ); @tech_info=( ["Bugs reports can be mail to walker\@chinavista.com, thanks!", "如有问题,欢迎您发邮件至walker\@chinavista.com。", "Τ拜肈舧眤祇秎ンwalker\@chinavista.com"], ["","",""], ["","",""], ); $ItemsNum = 15; @Items = ( "Name", "FullName", "Logo", "Glance", "Area", "Classification", "Contact", "Services", "Introduction", "WebSite", "Language", "Email", "Address", "Phone", "Fax", "Map", "MapCount" ); @ItemsLen = ( 64, 128, 128, 128, 64, 4, 32, 256, 512, 128, 4, 64, 256, 32, 32, 128, 4 ); @ItemsVal = ( "", "", "http://", "http://", "China", "", "", "", "", "http://", "", "", "", "", "", "", "" ); @Version = ( ["English Version","英文版","璣ゅ"], ["Chinese GB Version","简体中文版","虏砰いゅ"], ["Chinese B5 Version","繁体中文版","羉砰いゅ"], ); @Navi=( ["/home.html","/chhome.html","/b5home.html"], ["/cities/home.html","/cities/chhome.html","/cities/b5home.html"], ["/business/home.html","/business/chhome.html","/business/b5home.html"], ["/tech/home.html","/tech/chhome.html","/tech/b5home.html"], ["/discover.html","/chdiscover.html","/b5discover.html"], ["/search.html","/chsearch.html","/b5search.html"], ["/services.html","/chservices.html","/b5services.html"] ); # Output result print "Content-type: text/html\n\n"; print "
\n"; print "\n";
print "" if( $Lan == 1 );
print "$info[1][$Lan-1] | \n";
print "$info[2][$Lan-1] | \n";
print "$info[3][$Lan-1] | \n";
print "$info[4][$Lan-1] | \n";
print "$info[5][$Lan-1] | \n";
print "$info[6][$Lan-1] | \n";
print "$info[7][$Lan-1]\n";
print "\n" if( $Lan == 1 );
print "
\n";
print "
\n"; $buf = `lynx -source http://www.chinavista.com/adserver/ad_gen.phtml`; print $buf; print "\n"; print "
$info[0][$Lan-1]$info[36][$Lan-1]"; print "
\n" if( $Lan == 1 ); print "| "; print "" if( $Lan == 1 ); print "" if( $Lan == 1 ); print "$Version[0][$Lan-1]\n"; print "" if( $Lan == 1 ); print "" if( $Lan == 1 ); print " | "; } if( $Lan != 2 ) { print ""; print "" if( $Lan == 1 ); print "" if( $Lan == 1 ); print "$Version[1][$Lan-1]\n"; print "" if( $Lan == 1 ); print "" if( $Lan == 1 ); print " | "; } if( $Lan != 3 ) { print ""; print "" if( $Lan == 1 ); print "" if( $Lan == 1 ); print "$Version[2][$Lan-1]\n"; print "" if( $Lan == 1 ); print "" if( $Lan == 1 ); print " | "; } print ""; print "" if( $Lan == 1 ); print "" if( $Lan == 1 ); print "$info[33][$Lan-1]\n"; print "" if( $Lan == 1 ); print "" if( $Lan == 1 ); print " | "; print "
\n";
print " ";
print "\n";
print "\n";
print "" if( $Lan == 1 );
print "";
print " $tech_info[0][$Lan-1] \n";
print "
\n"; print "" if( $Lan == 1 ); print "$info[1][$Lan-1] | \n"; print "$info[2][$Lan-1] | \n"; print "$info[3][$Lan-1] | \n"; print "$info[4][$Lan-1] | \n"; print "$info[5][$Lan-1] | \n"; print "$info[6][$Lan-1] | \n"; print "$info[7][$Lan-1]\n"; print "\n" if( $Lan == 1 ); print "
\n"; print "\n"; print "
| $info[8][$Lan-1]......$info[9][$Lan-1].....©1997 |