Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mod

  • Loading branch information...
commit 56f44fa8f3051ebc6c64ee8ad05ffedbf9088f88 1 parent 1525c55
@CoolCloud authored
View
10 database/update/gpt.sql
@@ -3,4 +3,12 @@ ALTER TABLE `order` ADD order_from varchar(255);
ALTER TABLE `order` ADD referer varchar(255);
-- team
-ALTER TABLE `team` ADD goods_id mediumint(8);
+ALTER TABLE `team` ADD goods_id mediumint(8);
+alter table team add index idx_user_id(user_id);
+alter table team add index idx_begin_end_time(begin_time,end_time);
+alter table team add index idx_city_id(city_id);
+alter table team add index idx_group_id(group_id);
+alter table team add index idx_sort_order(sort_order);
+alter table team add index idx_state(state);
+
+alter table `order` add index idx_team_id(team_id);
View
2  web/tuangou/app.php
@@ -27,7 +27,7 @@
$login_user = Table::Fetch('user', $login_user_id);
$hotcities = option_hotcategory('city', false, true);
$allcities = option_category('city', false, true);
-$groups_nav = option_hotcategory('group');
+$groups_nav = option_hotcategory('group', true);
$city = cookie_city(null);
if (!isset($_COOKIE['referer'])) {
View
6 web/tuangou/include/template/block_side_others.html
@@ -4,7 +4,7 @@
$others_city_id = abs(intval($city['id']));
$others_now = time();
if ( abs(intval($INI['system']['sideteam'])) && !$disable_multi){
- $oc = array(
+ $oc = array(
'team_type' => 'normal',
"id <> '$others_team_id'",
"begin_time < '$others_now'",
@@ -13,7 +13,7 @@
);
$others = DB::LimitQuery('team', array(
'condition' => $oc,
- 'order' => 'ORDER BY `sort_order` DESC, `id` DESC',
+ 'order' => 'ORDER BY `now_number` desc ',
'size' => $others_side_ns,
));
}
@@ -29,7 +29,7 @@
<!--${$one['now_number']+=$one['add_number']}-->
<h3>${++$index}、<a href="/team.php?id={$one['id']}">{$one['title']}</a></h3>
<!--{if $one['image']}--><p><a href="/team.php?id={$one['id']}"><img src="${team_image($one['image'], true)}" width="195" border="0" /></a></p><!--{/if}-->
- <p class="price">团购价: <span>{$currency}${moneyit($one['team_price'])}</span> <br>原价: <s>{$currency}${moneyit($one['market_price'])}</s> <br>折扣: ${team_discount($one)}折</p>
+ <p class="price">团购价: <span>{$currency}${moneyit($one['team_price'])}</span> <br>原价: <s>{$currency}${moneyit($one['market_price'])}</s> <br>折扣: ${team_discount($one)}折</p>
<div class="others_btn">
<div class="now_num">已有 <strong>{$one['now_number']}</strong> 人购买</div>
<a href="/team.php?id={$one['id']}" title="{$one['title']}" target="_blank"><span>查看详情</span></a>
View
31 web/tuangou/include/template/team_multi.html
@@ -123,48 +123,17 @@
<div style="width:100%; height:10px; float:left;"></div>
<script>window.x_init_hook_multiclock{$tindex} = function(){X.misc.multiclock('deal-timeleft{$tindex}', 'counter{$tindex}');};</script>
<?
-
break;
-
-
-
?>
<!--{/loop}-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<div class="clear"><div>
<div id="index-deals">
<div class="secondary">
<!--${$indexT=0}-->
<!--${$indexm=2}-->
<!--{loop $teamothers $index $one}-->
-
-
-
-
<!--{if $one['id'] <> $team['id']}-->
<!--{if $indexT < '30' }-->
<div class="item_{$indexm}">
View
22 web/tuangou/include/template/tookoo/block_side_others.html
@@ -4,8 +4,8 @@
$others_city_id = abs(intval($city['id']));
$others_now = time();
if ( abs(intval($INI['system']['sideteam'])) ) {
- $oc = array(
- 'city_id' => array($others_city_id, 0),
+ $oc = array(
+ 'city_id' => array($others_city_id, 0),
'team_type' => 'normal',
"id <> '$others_team_id'",
"begin_time < '$others_now'",
@@ -13,7 +13,7 @@
);
$others = DB::LimitQuery('team', array(
'condition' => $oc,
- 'order' => 'ORDER BY `sort_order` DESC, `id` DESC',
+ 'order' => 'ORDER BY `now_number` desc',
'size' => $others_side_ns,
));
}
@@ -21,20 +21,20 @@
<!--{if $others}-->
<!--${$index=0}-->
-
+
<div class="con_rcon">
- <h3 class="con_rtitle1 pngFix" style="z-index: -1;"><span>每日边栏热卖</span></h3> <!--{loop $others $one}-->
+ <h3 class="con_rtitle1 pngFix" style="z-index: -1;"><span>每日边栏热卖</span></h3> <!--{loop $others $one}-->
<div class="con_everd2" style="border-bottom:none;">
<div class="con_rimg">
<!--{if $one['image']}--><a href="/team.php?id={$one['id']}"><img src="${team_image($one['image'], true)}" width="210" border="0" /></a><!--{/if}-->
<div class="con_rimgtitle">${mb_substr(strip_tags($one['title']), 0, 17, 'UTF-8')}</div>
<p class="con_rprice"><span>折扣价:</span><span class="numspan">{$currency}{$one['team_price']}</span><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="numspan">${team_discount($one)}</span>折</p>
<p class="con_rprice"><span class="numspan" id="sideDeal_588_Count">{$one['now_number']}</span><span>人购买</span><input type="button" class="smore_btn pngFix" value="点击购买" onclick="javascript:document.location.href='/team.php?id={$one['id']}';"/></p>
- </div></div><!--{/loop}-->
-
-
+ </div></div><!--{/loop}-->
+
+
<div class="con_rcbottom1"></div> </div>
-
-
-<!--{/if}-->
+
+
+<!--{/if}-->
View
2  web/tuangou/include/template/tookoo/header.html
@@ -77,7 +77,7 @@
<li><a href="/" title="今日团购" <!--{if ($pagetitle == '')}--> class="nava current3" <!--{else}--> class="nava"<!--{/if}-->>今日团购</a><!--{if ($pagetitle == '')}--><sup>当前</sup> <!--{/if}--></li>
<!--{loop $groups_nav $gid $group_name}-->
<li><a href="/team/index.php?gid={$gid}" title="{$group_name}"
- <!--{if ($group_id == $gid && $pagetitle)}--> class="nava current3" <!--{else}--> class="nava"<!--{/if}-->>{$group_name}</a>
+ <!--{if ($group_id == $gid && $pagetitle)}--> class="nava current3" <!--{else}--> class="nava"<!--{/if}-->>{$group_name}</a>
<!--{if ($group_id == $gid && $pagetitle)}--><sup class="nava"></sup> <!--{/if}--></li>
<!--{/loop}-->
<!--<li><a href="/team/todays.php" title="所有团购" <!--{if ($pagetitle == '所有团购')}--> class="nava current3" <!--{else}--> class="nava"<!--{/if}-->>所有团购</a><!--{if ($pagetitle == '所有团购')}--><sup class="nava">当前</sup> <!--{/if}--></li>-->
View
383 web/tuangou/qq/forward.php
@@ -3,312 +3,157 @@
// +----------------------------------------------------------------------+
// | The Club Portal v1.0 |
// +----------------------------------------------------------------------+
-// | Copyright (c) 2011, Tencent Inc. All rights reserved. |
+// | Copyright (c) 2009, Tencent Inc. All rights reserved. |
// +----------------------------------------------------------------------+
// | Authors: The Club Dev Team, ISRD, Tencent Inc. |
-// | tenfyguo <tenfyguo@tencent.com> |
+// | ghoscalesu <ghoscalesu@tencent.com> |
// +----------------------------------------------------------------------+
-//定义编码
-define("EC_GBK", 100);
-define("EC_GB2312", 200);
-define("EC_UTF8", 300);
-
-
-//商户的配置数组
-$MALL_CONNECT_CONFIG = array (
- //这里以elong这个商户为demo例子进行说明
- 10071 => array(
- 'showmsgVersion' => 1,
- 'cnName' => '光盘团', //商家中文名
- 'enId' => 'guangpantuan', //商家英文Id
- 'domain' => 'guangpantuan', //商家站点域名列表,中间通过'|'分割
- 'index' => 'http://tuan.voogin.cc/', //商家首页地址
- 'loginURL' => 'http://tuan.voogin.cc/qq/QQLoginV2.0.php',//商家的联合登录跟单中转cgi URL
- //'loginURL' => 'http://cb2.qq.com:13601/test/QQLoginV2.0.php',//商家的联合登录跟单中转cgi URL
-
- 'key1' => 'caibei123test1', //TODO:这里先填写测试的key,后续上线前需要QQ彩贝给到正式的key替换这里
- 'key2' => 'caibei123test2', //TODO:这里先填写测试的key,后续上线前需要QQ彩贝给到正式的key替换这里
- 'charEncoding' => EC_UTF8 //商家的站点编码
-
- )
-
-
-);
-
-
-//测试的QQ号码数组,这里配置五个测试号码,用于测试,这里的昵称,需要跳转后到商户的站点能够正常的显示
-$UIN_CONNECT_CONFIG = array(
- 1002000201 => array(
- 'Acct' => '0000000000000000000000000000A4D9',
- 'OpenId' => '0000000000000000000000000000A4D9',
- 'NickName' => "ぐ.HHH m",
- 'ClubInfo' => 1,
- 'CBPoints' => 1000
- ),
-
- 1002000202 => array(
- 'Acct' => '0000000000000000000000000000B47A',
- 'OpenId' => '0000000000000000000000000000B47A',
- 'NickName' => "①頭o亂髪",
- 'ClubInfo' => 0,
- 'CBPoints' => 100
- ),
-
- 1002000203 => array(
- 'Acct' => '00000000000000000000000000009D0B',
- 'OpenId' => '00000000000000000000000000009D0B',
- 'NickName' => "紴缡頩啲嗳鲭┕'Idiot…",
- 'ClubInfo' => 1,
- 'CBPoints' => 100
- ),
-
- 1002000204 => array(
- 'Acct' => '000000000000000000000000000081B4',
- 'OpenId' => '000000000000000000000000000081B4',
- 'NickName' => ",!@#¥%&*哈哈哈哈?>\\",
- 'ClubInfo' => 1,
- 'CBPoints' => 190
- ),
-
- 1002000205 => array(
- 'Acct' => '00000000000000000000000000003395',
- 'OpenId' => '00000000000000000000000000003395',
- 'NickName' => "<u>o(╥﹏╥)o</u>",
- 'ClubInfo' => 0,
- 'CBPoints' => 190
- )
-);
-
-/////////////////////////////////////////////////函数定义区开始///////////////////////////////////////////////////////
-//设置不cache
-function cbSetNoCache() {
- // HTTP/1.1
- header("Cache-Control: no-store, no-cache, must-revalidate");
- header("Cache-Control: post-check=0, pre-check=0", false);
- // HTTP/1.0
- header("Pragma: no-cache");
-}
-
-//昵称最多输出12个字符
-function nick_filter( $nick, $encodeHTML=true ) {
- if(strlen( trim($nick) ) > 20) {
- $nick = substr( $nick, 0, 20);
+/*
+* TODO:这里可以添加商家自己需要的php库
+*
+*/
+error_reporting(E_ALL);
+require_once(dirname(dirname(__FILE__)) . '/app.php');
+/*
+*定义双方约定的加密key,具体的值再接入时双方约定填入即可
+*key等商家开发好后,提供此cgi的url给QQ返利,然后QQ返利系统自动生成key分配给商家。
+*/
+define('QQ_FANLI_CONNECT_KEY1', 'caibei123test1'); //TODO:这里先填写测试的key,后续上线前需要QQ彩贝给到正式的key替换这里
+define('QQ_FANLI_CONNECT_KEY2', 'caibei123test2'); //TODO:这里先填写测试的key,后续上线前需要QQ彩贝给到正式的key替换这里
+
+/*
+*定义商家自己站点的首页地址,用于参数验证失败或者md5验证失败的时候跳转到首页
+*/
+define('MALL_HOME_PAGE_URL', 'http://www.guangpantuan.com');
+
+/**
+ *跳转并且退出
+ */
+function jumpToURL($url, $isExit = true) {
+ header("location:$url");
+ if($isExit){
+ exit(0);
}
-
- $nick = str_replace( "\n" , '' , $nick );
- $nick = str_replace( "\r" , '' , $nick );
-
- return $encodeHTML? str_replace(' ','&nbsp;',htmlspecialchars($nick, ENT_QUOTES)) : $nick;
}
+/**
+ *读取相关的参数并且判断是否已经通过签名
+ *@return true,则已经通过签名验证,否则返回false
+ */
+function checkMd5() {
+ //读取除了vkey外的所有参数,并且放入数组map中
+ $map = $_POST;
+ unset($map['Vkey']);
-//验证目标url是否合法
-function make_safe_url($mall_id, $to_url='')
-{
- global $MALL_CONNECT_CONFIG;
- $domain = @$MALL_CONNECT_CONFIG[$mall_id]['domain'];
- if( $domain == '' ) {
- return '';
- }
-
- if($to_url == '' || strlen($to_url) > 500)
- {
- return ''; //若超过一定长度的url,则默认为空
- }
+ //进行按参数的升序排序
+ ksort($map);
- $url_arr = parse_url($to_url);
- $url_host = @$url_arr['host'];
+ //进行签名,注意考虑到md5加密输出的大小写问题,所有约定md5的输出均为小写
+ $vkey = implode('', array_values($map));
+ $md5_1 = strtolower(md5($vkey.QQ_FANLI_CONNECT_KEY1));
+ $vkey = strtolower(md5($md5_1.QQ_FANLI_CONNECT_KEY2));
- //跳转域名匹配
- if(preg_match ('/^(\w+\.)?'.$domain.'\./i', $url_host))
- {
- return $to_url;
- }
- else
- {
- return '';
- }
-}
+ return $vkey == $_POST['Vkey'];
-//GBK转换成UTF-8编码
-function gbk2utf8($str) {
- return @iconv( "GBK", "UTF-8//IGNORE", $str ) ;
}
-function getViewinfo($uin , $mId , $clubinfo)
-{
- global $MALL_CONNECT_CONFIG, $UIN_CONNECT_CONFIG;
- //编码
- $encode = @$MALL_CONNECT_CONFIG[$mId]['charEncoding'];
-
- //昵称
- $nickname = nick_filter( $UIN_CONNECT_CONFIG[$uin]['NickName']);
- if( $encode == EC_UTF8 ) {
- $nickname = gbk2utf8($nickname);
+/**
+ * 解析viewinfo
+ *
+ * @return array $viewinfo_array
+ */
+function parseViewinfo(&$viewinfo_array){
+ $viewinfo = @$_POST['ViewInfo'];
+ if(get_magic_quotes_gpc()){
+ $viewinfo = stripslashes($viewinfo);
}
- $point = $UIN_CONNECT_CONFIG[$uin]['CBPoints'];
-
- $bonus = '5%';
+ parse_str( $viewinfo , $viewinfo_array );
- $viewinfoArr = array(
- 'ShowMsg' => getShowmsg($nickname , $clubinfo , $point , $bonus , $mId) ,
- 'NickName' => $nickname ,
- 'CBPoints' => $point ,
- 'CBBonus' => $bonus
- );
+ //对md5验证,因为\'和'认为是一样的字符串,不过前者是转义而已,所以md5验证是ok的
- return http_build_query($viewinfoArr);
+ //重要!!!
+ //注意对应的设置showmsg的js代码:dom.innerHTML=$showmsg,而不能用dom.innerText=$showmsg方法
}
-function getShowmsg($nickname , $clubinfo , $point , $bonus , $mId)
-{
- global $MALL_CONNECT_CONFIG;
- $showmsgVersion = @$MALL_CONNECT_CONFIG[$mId]['showmsgVersion'];
- $encode = @$MALL_CONNECT_CONFIG[$mId]['charEncoding'];
-
- $club = ($clubinfo==1 ? '会员' : '用户') ;
-
- switch($showmsgVersion) {
- case 1 :
- $msg = ',您是QQ用户,消费成功可获彩贝积分奖励。';
-
- if( $encode == EC_UTF8 ) {
- return gbk2utf8('您好!') . $nickname . gbk2utf8($msg);
- } else {
- return '您好!' . $nickname . $msg;
- }
+/*
+* 第一步,进行md5验证
+*/
- break;
-
- case 2 :
- $msg = ',您是QQ用户,消费成功可获彩贝积分奖励';
-
- if( $encode == EC_UTF8 ) {
- return $nickname . gbk2utf8($msg);
- } else {
- return $nickname . $msg;
- }
+$check_ret = checkMd5();
+if (!$check_ret) {
+ //验证通不过,则跳转到站点首页,这里应该记录对应的log
+ jumpToURL(MALL_HOME_PAGE_URL);
+}
- break;
- default :
- return $nickname;
- break;
+$acct = @$_POST['Acct'];
+$url = @$_POST['Url'];
+$clubinfo = @intval($_POST['ClubInfo']);
+
+/*
+* TODO:第二步,进行联合vip和联合登录态的设置,这里由于跟各个商家的实现不同都会不一样,商家可以填充这里的逻辑,
+* 示例代码只给出伪码表示
+*/
+$expire = 60*60*24*7;
+$openId = @$_POST['OpenId'];
+setCookie("gpt_from_referer", 'A100060164'. $openId, time() + $expire, '/');
+setCookie("gpt_from", 'LINKTECH', time() + $expire, '/');
+setCookie("qq_OpenId", $openId, time() + $expire, '/');
+$eu = Table::Fetch('user', $acct, 'username');
+if(empty($eu)){
+ //创建帐户,创建帐户的时候需要保存acct、openid到DB,openid在推送订单给 彩贝/网盟 的时候需要带上
+
+ $new_user = array(
+ 'username' => $acct,
+ 'password' => rand(10000000,99999999),
+ );
+ if ( $user_id = ZUser::Create($new_user, false) ) {
+ Session::Set('user_id', $user_id);
+ } else {
+ jumpToURL($url);
}
}
-
-function getVKey($mId , $param)
-{
- global $MALL_CONNECT_CONFIG;
- $key1 = $MALL_CONNECT_CONFIG[$mId]['key1'];
- $key2 = $MALL_CONNECT_CONFIG[$mId]['key2'];
-
- ksort($param);
- $vkey = implode('', $param);
- $md5_1 = strtolower(md5($vkey.$key1));
- $vkey = strtolower(md5($md5_1.$key2));
-
- return $vkey;
+//TODO:若是联合VIP,则根据clubinfo的值赠送对应的商家会员资格
+if($clubinfo==100){
+ //财付通的支付方式过来,商家这里对其他支付方式等进行屏蔽处理逻辑
}
-
-
-function getOutputHtml($mId , $param , $vkey)
+else
{
- global $MALL_CONNECT_CONFIG;
- $handleUrl = @$MALL_CONNECT_CONFIG[$mId]['loginURL'];
+ //其他的联合vip处理或者忽略(若不接入联合vip)
- $loginFrom = htmlspecialchars($param['LoginFrom']);
- $viewinfo = htmlspecialchars($param['ViewInfo']);
- $toUrl = htmlspecialchars($param['Url']);
- $attach = htmlspecialchars($param['Attach']);
-
- return <<<EOD
- <html>
- <body>
- <form id="jumpForm" action="{$handleUrl}" method="post">
- <input type="hidden" name="Acct" value="{$param['Acct']}" />
- <input type="hidden" name="OpenId" value="{$param['OpenId']}" />
- <input type="hidden" name="LoginFrom" value="{$loginFrom}" />
- <input type="hidden" name="ClubInfo" value="{$param['ClubInfo']}" />
- <input type="hidden" name="ViewInfo" value="{$viewinfo}" />
- <input type="hidden" name="Url" value="{$toUrl}" />
- <input type="hidden" name="Ts" value="{$param['Ts']}" />
- <input type="hidden" name="Attach" value="{$attach}" />
- <input type="hidden" name="Vkey" value="{$vkey}" />
- </form>
- </body>
-
- <script language="JavaScript">
- document.getElementById('jumpForm').submit();
- </script>
- </html>
-EOD;
-}
-
-
-////////////////////////////////////////////////////////函数定义区结束///////////////////////////////////////
-cbSetNoCache();
-
-//第1步,获取所有的参数列表并判断参数有效性
-$toUrl = @$_GET['to_url'];
-$mId = @intval($_GET['m_id']);
-$attach = @$_GET['attach'];
-$loginFrom = @$_GET['login_from'];
-$uin = @intval($_GET['uin']);
-
-
-
-//第2步,参数验证合法性
-if( !array_key_exists($mId , $MALL_CONNECT_CONFIG) ) {
- echo "非法的商户id,对应的商户id必须是在对应的商户配置数组中配置";
- exit();
-}
-
-if( !array_key_exists($uin , $UIN_CONNECT_CONFIG) ) {
- echo "非测试QQ号码";
- exit();
}
-//if($toUrl != '') {
-// $toUrl = make_safe_url($mId, $toUrl);
-//}
-if( strlen($attach) > 1024 ) {
- $attach = '';
-}
-
-if( $loginFrom == '' ) {
- $loginFrom = 'caibei';
-}
+//设置用户商家页面显示的提示语到cookie,站点每次进行显示则从cookie中读取对应的值进行显示,如“您好,尊敬的QQ会员,xx昵称”
+$viewinfo_array = null;
+parseViewinfo($viewinfo_array);
+//print_r($viewinfo_array);
+//展示给用户的欢迎语,需要显示在站点顶部
+$showmsg = @$viewinfo_array['ShowMsg'];
+setCookie("QQ_showmsg", $showmsg, time() + $expire, '/');
-//第4步,关键的处理方法:联合登陆逻辑开始
-$openId = $UIN_CONNECT_CONFIG[$uin]['OpenId'];
-$acct = $UIN_CONNECT_CONFIG[$uin]['Acct'];
-$clubinfo = $UIN_CONNECT_CONFIG[$uin]['ClubInfo'];;
-$viewinfo = getViewinfo($uin , $mId , $clubinfo);
-$ts = date('YmdHis');
+//用户可使用的彩贝积分,根据需要保存cookie
+$point = @intval($viewinfo_array['CBPoints']);
+//setcookie("QQ_point", $point);
-//传给商家的参数
-$postParam = array(
- 'Acct' => $acct ,
- 'OpenId' => $openId ,
- 'LoginFrom' => $loginFrom ,
- 'ClubInfo' => $clubinfo ,
- 'ViewInfo' => $viewinfo ,
- 'Url' => $toUrl ,
- 'Ts' => $ts ,
- 'Attach' => $attach
-);
+//购买后的返利比率,根据需要保存cookie
+$bonus = @$viewinfo_array['CBBonus'];
+//setcookie("QQ_bonus", $bonus);
-$vkey = getVKey($mId , $postParam);
+//用户的QQ昵称,根据需要保存cookie
+$nickname = @$viewinfo_array['NickName'];
+//setcookie("QQ_nickname", $nickname);
-//第5步,输出跳转代码
-echo getOutputHtml($mId , $postParam , $vkey);
+//统计用字段,在用户支付的时候,需要将此字段和订单关联起来,如:可以在订单的一个字段中写入该参数
+$attach = @$_POST['Attach'];
+setCookie("QQ_attach", $attach, time() + $expire, '/');
+//重点:必须回调url参数指定的地址,不能改成跳到商家首页,否则用户无法跟踪到订单
+jumpToURL($url);
?>
View
2  web/tuangou/static/theme/tookoo/main.css
@@ -60,7 +60,7 @@ a.alogout{float:left;width:30px;height:25px;line-height:25px;display:block;curso
.nav_l{float:left;width:8px;height:49px;overflow:hidden;background:url(i/side_bg.png) no-repeat left -54px;}
.nav_m{float:left;width:966px;height:49px;background:url(i/headnavfoot_bg01.gif) repeat-x left -148px;}
.nav_r{float:left;width:8px;height:49px;overflow:hidden;background:url(i/side_bg.png) no-repeat left top;}
-.nav_m ul{float:left;padding:5px 0px 0px 35px;width:662px;height:41px;overflow:hidden;}
+.nav_m ul{float:left;padding:5px 0px 0px 35px;width:862px;height:41px;overflow:hidden;}
.nav_m li{float:left;width:107px;height:41px;color:#fff;font-size:15px;font-weight:bold;line-height:41px;font-family:"微软雅黑","宋体";}
.nav_m a.nava,.nav_m a.nava:hover,.nav_m a.nava:visited{padding-left:33px;width:74px;height:41px;cursor:pointer;color:#fff;text-decoration:none;display:block;}
.nav_m a.nava:hover{background:url(i/btn.png) repeat-x left -52px;}
Please sign in to comment.
Something went wrong with that request. Please try again.