<script language="java script">
function change_mystyle(my){
var style_key=my.options[my.selectedIndex].value;
<!--
EOT;
if(!$groupdb['useHomepageStyle']){
print <<<EOT
-->
if(style_key.indexOf("vip")>=0){
if(confirm('这是VIP商家专属模板,只有VIP商家才能使用!\\r\\n 推荐您加入VIP商家服务,是否现在加入?')){
window.location='$webdb[www_url]/member/buygroup.php?job=list';
}else{
my.selectedIndex=-1;
return false;
}
}
<!--
EOT;
}
print <<<EOT
-->
<!--
EOT;
$intro=$db->get_one("SELECT * FROM `{$_pre}company` WHERE `uid`='$uid'");
if(($lfjdb['groupid']!=9)&&($lfjdb['groupid']!=3)){
print <<<EOT
-->
if(style_key=="vip_qibomb_hong"){
if(confirm('只有【VIP商家用户组】才能使用这套VIP模板!\\r\\n推荐您加入【VIP商家】服务\\r\\n请联系客服:0479-8289333!')){
window.location='';
}else{
my.selectedIndex=-1;
return false;
}
}
<!--
EOT;
}
print <<<EOT
-->
document.getElementById('shoostyleicon').src='$Murl/images/homepage_style/'+style_key+'/icon.jpg';
}
</script>