コード例 #1
0
      </ul>
      <ul id="visit_other" nc_type="visitlist" style="display: none;">
        <?php if (!empty($output['visitother_list'])){?>
        <?php foreach ($output['visitother_list'] as $k=>$v){?>
        <li>
          <div class="visitor-pic"><span class="thumb size50"><i></i><a href="index.php?act=member_snshome&mid=<?php echo $v['v_ownermid'];?>" target="_blank" data-param="{'id':<?php echo $v['v_ownermid'];?>}" nctype="mcard"> <img src="<?php echo getMemberAvatar($v['v_ownermavatar']);?>" onload="javascript:DrawImage(this,50,50);"> </a></span></div>
          <p class="visitor-name"><a href="index.php?act=member_snshome&mid=<?php echo $v['v_ownermid'];?>" target="_blank" data-param="{'id':<?php echo $v['v_ownermid'];?>}" nctype="mcard"><?php echo $v['v_ownermname'];?></a></p>
          <p class="visitor-time"><?php echo $v['adddate_text'];?> <?php echo $v['addtime_text'];?></p>
        </li>
        <?php }?>
        <?php }else {?>
        <?php echo $lang['sns_visitother_tip_1'];?><a href="index.php?act=member_snsfriend&op=follow"><?php echo $lang['sns_visitother_tip_2'];?></a><?php echo $lang['sns_visitother_tip_3'];?>
        <?php }?>
      </ul>
    </div>
    <?php echo loadadv(372,'html');?> </div>
  <div class="clear"></div>
</div>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/smilies/smilies_data.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/smilies/smilies.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/jquery.caretInsert.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/jcarousel/jquery.jcarousel.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/jquery.ajaxdatalazy.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/jquery.charCount.js" charset="utf-8"></script>
<script type="text/javascript">
var max_recordnum = '<?php echo $output['max_recordnum'];?>';
	document.onclick = function(){ $("#smilies_div").html(''); $("#smilies_div").hide();};
	$(function(){
		//提交分享心情表单
		$("#weibobtn").bind('click',function(){
			if($("#weiboform").valid()){
コード例 #2
0
         <?php 
    if ($key == '18') {
        ?>
        <div class="f-banner f-banner-four"><?php 
        echo loadadv(374);
        ?>
</div>
        <?php 
    }
    ?>

        <?php 
    if ($key == '31') {
        ?>
        <div class="f-banner f-banner-one"><?php 
        echo loadadv(375);
        ?>
</div>
        <?php 
    }
    ?>
  
 
    <?php 
}
?>



    </div><!---->
</div>
コード例 #3
0
ファイル: common_store.php プロジェクト: noikiy/shop-2
	<?php 
}
?>
});
</script>
</head>

<body>
<!-- PublicTopLayout Begin -->
<?php 
require_once template('layout/layout_top');
?>

<DIV id=homeTopAd01 style=" position:absolute; left:50%; margin:0 0 0 -600px; ">
<div style="margin:0 auto; width:1200px;" ><?php 
echo loadadv(3);
?>
</div>
<div style=" position:absolute; z-index:1; top:0; right:0; "><a style="CURSOR: hand" onClick="homeTopAd()"><img src="<?php 
echo SHOP_TEMPLATES_URL;
?>
/images/close.png" width="32" height="32" /></a></div>
</DIV>
<div id=homeTopAd02 style=" height:70px; "></div>
<SCRIPT>
 function homeTopAd(){
  document.getElementById("homeTopAd01").style.display="none";
   document.getElementById("homeTopAd02").style.display="none";
 }
</SCRIPT>
コード例 #4
0
ファイル: home_ad.php プロジェクト: noikiy/shop-2
        <div class="item ">
          <div class="s-img"> <?php 
echo loadadv(8);
?>
 </div>
        </div>
        <div class="item w-bg">
          <div class="s-img"> <?php 
echo loadadv(9);
?>
 </div>
        </div>
        <div class="item ">
          <div class="s-img"> <?php 
echo loadadv(10);
?>
 </div>
        </div>
        <div class="item w-bg">
          <div class="s-img"> <?php 
echo loadadv(11);
?>
 </div>
        </div>
      </div>
    </div>
  </div>
</div>
</div>

コード例 #5
0
ファイル: index.php プロジェクト: flying3615/chuniang
  <div class="mt10">
    <div class="mt10"><?php 
echo loadadv(11, 'html');
?>
</div>
  </div>
</div>
<!--StandardLayout Begin--> 
<?php 
echo $output['web_html']['index'];
?>
 
<!--StandardLayout End-->
<div class="wrapper">
  <div class="mt10"><?php 
echo loadadv(9, 'html');
?>
</div>
</div>
<!--link Begin-->
<!--<div class="full_module wrapper">
  <h2><b><?php 
echo $lang['index_index_link'];
?>
</b></h2>
  <div class="piclink">
    <?php 
if (is_array($output['$link_list']) && !empty($output['$link_list'])) {
    foreach ($output['$link_list'] as $val) {
        if ($val['link_pic'] != '') {
            ?>
コード例 #6
0
ファイル: pointprod.php プロジェクト: noikiy/haifenbao
        }
        ?>
          <?php 
    }
    ?>
        </ul>
      </dd>
    </dl>
  </div>
  <?php 
}
?>
</div>
<div class="nc-layout-right">
<?php 
echo loadadv(35, 'html');
?>
	<?php 
if (C('voucher_allow') == 1) {
    ?>
    <div class="nc-voucher-list">
      <div class="title">
        <h3><?php 
    echo $lang['home_voucher_newtitle'];
    ?>
</h3><span><a href="<?php 
    echo urlShop('pointvoucher', 'index');
    ?>
"><?php 
    echo $lang['home_voucher_moretitle'];
    ?>
コード例 #7
0
ファイル: pointprod.php プロジェクト: noikiy/shopnc-minion
          <dl>
            <dt>积分兑换礼品</dt>
            <dd>可使用积分兑换商城超值礼品</dd>
          </dl>
        </div>
        <div class="button"> <a href="javascript:login_dialog();" class="ncp-btn" style="width:120px;"><?php 
    echo $lang['pointprod_list_hello_login'];
    ?>
</a> </div>
      </div>
      <?php 
}
?>
    </div>
    <div class="ncp-banner-right"><?php 
echo loadadv(12, 'html');
?>
</div>
  </div>
  <?php 
if (C('voucher_allow') == 1) {
    ?>
  <div class="ncp-main-layout">
    <div class="title">
      <h3><i class="voucher"></i>热门代金券</h3>
      <span class="more"><a href="<?php 
    echo urlShop('pointvoucher', 'index');
    ?>
"><?php 
    echo $lang['home_voucher_moretitle'];
    ?>
コード例 #8
0
ファイル: home_ad.php プロジェクト: noikiy/shopnc-minion
            <div class="s-ext"><b>详情...</b></div>
            <ul class="s-hotword"></ul>
          </div>
          <div class="s-img"> <?php 
echo loadadv(10);
?>
 </div>
        </div>
        <div class="item w-bg">
          <div class="aside"> <a class="s-link" target="_blank" href="#phphos"></a>
            <h3>广告8</h3>
            <div class="s-name"> <a target="_blank" href="#phphos">标题8</a> </div>
            <div class="s-ext"><b>活动1</b></div>
            <ul class="s-hotword">
              <li><i></i>详情...</li>
              <li><i></i>更多...</li>
            </ul>
          </div>
          <div class="s-img"> <?php 
echo loadadv(22);
?>
 </div>
        </div>
      </div>
    </div>

  </div>
</div>
</div>

コード例 #9
0
ファイル: index.php プロジェクト: noikiy/ejia
	<div>
		<div>
			<?foreach($output['activity_detail_list'] as $v):?>
			<img src="<?php echo cthumb($v['goods_image'], '60', $v['store_id']);?>" />
			<p><?=$v['goods_name']?></p>
			<p><?=$v['goods_price']?></p>
			<?endforeach;?>
		</div>
	</div>
</div>
-->
<!-- E 最新评论+热门活动 -->

<div class="wrapper" style="padding-bottom:10px; position: relative;">
	<div class="mt10" id="bottomAdv"><?php echo loadadv(9,'html');?></div>
	<span class="span_close">×</span>
</div>
<!--link Begin-->
<!-- <div class="full_module wrapper">
		<h2><b><?php echo $lang['index_index_link'];?></b></h2>
		<div class="piclink">
			<?php if(is_array($output['$link_list']) && !empty($output['$link_list'])) {
				foreach($output['$link_list'] as $val) {
					if($val['link_pic'] != ''){
			?>
			<span><a href="<?php echo $val['link_url']; ?>" target="_blank"><img src="<?php echo $val['link_pic']; ?>" title="<?php echo $val['link_title']; ?>" alt="<?php echo $val['link_title']; ?>" width="88" height="31" ></a></span>
			<?php
					}
			}
		 }
コード例 #10
0
ファイル: store_list.php プロジェクト: noikiy/ejia
    <dt>店铺类目<?php echo $lang['nc_colon'];?></dt>
    <dd>
      <a href="<?php echo urlShop('store_list','index');?>">全部</a>
      <?php foreach($output['class_list'] as $k=>$v){?>
	      <?php if ($_GET['cate_id'] == $v['sc_parent_id']){?>
	      <a href="<?php echo urlShop('store_list','index',array('cate_id'=>$k));?>"><?php echo $v['sc_name'];?></a>
	      <?php }elseif (!isset($v['child']) && $output['class_list'][$_GET['cate_id']]['sc_parent_id'] == $v['sc_parent_id']){?>
	      <a href="<?php echo urlShop('store_list','index',array('cate_id'=>$k));?>"><?php echo $v['sc_name'];?></a>
	      <?php }?>
      <?php }?>
    </dd>
  </dl>
  <?php }?>
</div>-->
	<div style="width: 208px; float: left; ">
		 <div class="nch-module" style=" border: 1px #ccc solid; margin-bottom: 10px;"><?php echo loadadv(37,'html');?></div>
		<!-- 最近浏览 -->

		<div class="nch-module nch-module-style03" style=" border: 1px #ccc solid;">
		  <div class="title">
			<h3 style="height: 36px; line-height: 36px; text-indent: 10px; font-size: 14px; background: #f5f5f5; ">最近浏览</h3>
		  </div>
		  <div class="content" style="width: 208px; margin-top: 0;">
			<div class="nch-sidebar-viewed" id="nchSidebarViewed">
			  <ul>
				<?php if(!empty($output['viewed_goods']) && is_array($output['viewed_goods'])){?><?php foreach ($output['viewed_goods'] as $k=>$v){?>
				<li class="nch-sidebar-bowers">
				  <div class="goods-pic"><a href="<?php echo urlShop('goods','index',array('goods_id'=>$v['goods_id'])); ?>" target="_blank"><img src="<?php echo thumb($v, 60); ?>" title="<?php echo $v['goods_name']; ?>" alt="<?php echo $v['goods_name']; ?>" ></a></div>
				  <dl>
					<dt><a href="<?php echo urlShop('goods','index',array('goods_id'=>$v['goods_id'])); ?>" target="_blank"><?php echo $v['goods_name']; ?></a></dt>
					<dd><?php echo $lang['currency'];?><?php echo $v['goods_promotion_price']; ?></dd>
コード例 #11
0
ファイル: brand_goods.php プロジェクト: noikiy/ejia
 <div class="left">
   <div class="nch-module nch-module-style01">
     <div class="title">
       <h3><?php echo $lang['brand_index_recommend_brand'];?></h3>
     </div>
     <div class="content">
       <?php if(!empty($output['brand_r'])){?>
       <ul class="nch-sidebar-brand">
         <?php foreach($output['brand_r'] as $key=>$brand_r){?>
         <li class="picture"> <a href="<?php echo urlShop('brand', 'list',array('brand'=>$brand_r['brand_id']));?>" target="_blank"> <span class="brand-logo"><img src="<?php echo brandImage($brand_r['brand_pic']);?>" alt="<?php echo $brand_r['brand_name'];?>" /></span> <span class="brand-name"><?php echo $brand_r['brand_name'];?></span></a> </li>
         <?php }?>
       </ul>
       <?php }?>
     </div>
   </div>
   <div class="nch-module nch-module-style03"><?php echo loadadv(37,'html');?> </div>
   <!-- 浏览历史 -->
   <div class="nch-module nch-module-style03">
     <div class="title">
       <h3><?php echo $lang['brand_index_viewed_goods']; ?></h3>
     </div>
     <div class="content">
       <div class="nch-sidebar-viewed" id="nchSidebarViewed">
         <ul>
         <?php if(!empty($output['viewed_goods'])){ ?>
           <?php foreach ($output['viewed_goods'] as $k=>$v){?>
           <li>
             <div class="goods-pic"><a href="<?php echo urlShop('goods','index',array('goods_id'=>$v['goods_id'])); ?>"><img src="<?php echo thumb($v, 60); ?>" title="<?php echo $v['goods_name']; ?>" alt="<?php echo $v['goods_name']; ?>" ></a></div>
             <dl>
               <dt><a href="<?php echo urlShop('goods','index',array('goods_id'=>$v['goods_id'])); ?>"><?php echo $v['goods_name']; ?></a></dt>
               <dd><?php echo $lang['currency'];?><?php echo $v['goods_promotion_price']; ?></dd>
コード例 #12
0
ファイル: search.php プロジェクト: noikiy/shopnc-minion
        ?>
          </li>
          <?php 
    }
    ?>
        </ul>
      </div>
    </div>
    <?php 
}
?>
    <!-- S 推荐展位 -->
    <div nctype="booth_goods" class="nch-module" style="display:none;"> </div>
    <!-- E 推荐展位 -->
    <div class="nch-module"><?php 
echo loadadv(2, 'html');
?>
</div>
    <!-- 最近浏览 -->

    <div class="nch-module nch-module-style03">
      <div class="title">
        <h3><?php 
echo $lang['goods_class_viewed_goods'];
?>
</h3>
      </div>
      <div class="content">
        <div class="nch-sidebar-viewed" id="nchSidebarViewed">
          <ul>
            <?php 
コード例 #13
0
ファイル: index.php プロジェクト: mengtaolin/shopping
  <div class="mt10">
    <div class="mt10"><?php 
echo loadadv(11, 'html');
?>
</div>
  </div>
</div>
<!--StandardLayout Begin--> 
<?php 
echo $output['web_html']['index'];
?>
 
<!--StandardLayout End-->
<div class="wrapper">
  <div class="mt10"><?php 
echo loadadv(1048, 'html');
?>
 </div>
</div>
<!--link Begin-->
<!--<div class="full_module wrapper">
  <h2><b><?php 
echo $lang['index_index_link'];
?>
</b></h2>
  <div class="piclink">
    <?php 
if (is_array($output['$link_list']) && !empty($output['$link_list'])) {
    foreach ($output['$link_list'] as $val) {
        if ($val['link_pic'] != '') {
            ?>
コード例 #14
0
ファイル: layout_top.php プロジェクト: xuxuecheng/shopnc
<?php

defined('InShopNC') or exit('Access Invalid!');
?>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<center><?php 
echo loadadv(9);
?>
</center>
<?php 
if ($output['hidden_nctoolbar'] != 1) {
    ?>
<div id="ncToolbar" class="nc-appbar">
  <div class="nc-appbar-tabs" id="appBarTabs">
    <?php 
    if ($_SESSION['is_login']) {
        ?>
    <div class="user" nctype="a-barUserInfo">
      <div class="avatar"><img src="<?php 
        echo getMemberAvatar($_SESSION['avatar']);
        ?>
"/></div>
      <p>我</p>
    </div>
    <div class="user-info" nctype="barUserInfo" style="display:none;"><i class="arrow"></i>
      <div class="avatar"><img src="<?php 
        echo getMemberAvatar($_SESSION['avatar']);
        ?>
"/>
        <div class="frame"></div>
コード例 #15
0
        <?php 
    echo $lang['sns_visitother_tip_1'];
    ?>
<a href="index.php?act=member_snsfriend&op=follow"><?php 
    echo $lang['sns_visitother_tip_2'];
    ?>
</a><?php 
    echo $lang['sns_visitother_tip_3'];
    ?>
        <?php 
}
?>
      </ul>
    </div>
    <?php 
echo loadadv(372, 'html');
?>
 </div>
  <div class="clear"></div>
</div>
<script type="text/javascript" src="<?php 
echo RESOURCE_SITE_URL;
?>
/js/smilies/smilies_data.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php 
echo RESOURCE_SITE_URL;
?>
/js/smilies/smilies.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php 
echo RESOURCE_SITE_URL;
?>
コード例 #16
0
ファイル: index111.php プロジェクト: noikiy/ejia
    <div class="title">
      <h3><?php echo $lang['nc_xianshi'];?></h3>
    </div>
    <div id="saleDiscount" class="sale-discount">
      <ul>
        <?php foreach($output['xianshi_item'] as $val) { ?>
        <li>
          <dl>
            <dt class="goods-name"><?php echo $val['goods_name']; ?></dt>
            <dd class="goods-thumb"><a href="<?php echo urlShop('goods','index',array('goods_id'=> $val['goods_id']));?>"> <img src="<?php echo thumb($val, 240);?>"></a></dd>
            <dd class="goods-price"><?php echo ncPriceFormatForList($val['xianshi_price']); ?> <span class="original"><?php echo ncPriceFormatForList($val['goods_price']);?></span></dd>
            <dd class="goods-price-discount"><em><?php echo $val['xianshi_discount']; ?></em></dd>
            <dd class="time-remain" count_down="<?php echo $val['end_time']-TIMESTAMP;?>"><i></i><em time_id="d">0</em><?php echo $lang['text_tian'];?><em time_id="h">0</em><?php echo $lang['text_hour'];?> <em time_id="m">0</em><?php echo $lang['text_minute'];?><em time_id="s">0</em><?php echo $lang['text_second'];?> </dd>
            <dd class="goods-buy-btn"></dd>
          </dl>
        </li>
        <?php } ?>
      </ul>
    </div>
  </div>
  <?php } ?>
</div>

<!--StandardLayout Begin--> 
<?php echo $output['web_html']['index'];?> 
<!--StandardLayout End-->
<div class="wrapper">
  <div class="mt10"><?php echo loadadv(9,'html');?></div>
</div>
<script type="text/javascript" src="<?php echo SHOP_RESOURCE_SITE_URL;?>/js/home_index.js" charset="utf-8"></script> 
コード例 #17
0
ファイル: goods.php プロジェクト: bubargaininc/oak_oak
            <ul class="notice-sub">
                <li class="order-notice-content">您关注的Selena的小铺又有新的产品上架了....<em class="bluetxt">2 min ago</em></li>

            </ul>
        </span>
        <a href="<?php 
echo urlShop('goods', 'taolun', array('goods_id' => $_GET['goods_id']));
?>
        " class="goanyway"><img src="<?php 
echo SHOP_TEMPLATES_URL;
?>
/img/order/ae-order-go.png" alt="">讨论</a>
    </div>
    <div class="pdp-main clearfix inner">
        <div class="adpdp" ><?php 
echo loadadv(35);
?>
</a>



        </div>
        <div class="detail bxsd clearfix">
            <div class="info-gallery">
                <div class="hd">
                    <ul>
                    </ul>
                </div>
                <div class="bd">
                    <ul>
                        <?php 
コード例 #18
0
ファイル: brand_goods.php プロジェクト: noikiy/shopnc-minion
        ?>
" /></span> <span class="brand-name"><?php 
        echo $brand_r['brand_name'];
        ?>
</span></a> </li>
          <?php 
    }
    ?>
        </ul>
        <?php 
}
?>
      </div>
    </div>
    <div class="nch-module nch-module-style03"><?php 
echo loadadv(1, 'html');
?>
 </div>
    <!-- 浏览历史 -->
    <div class="nch-module nch-module-style03">
      <div class="title">
        <h3><?php 
echo $lang['brand_index_viewed_goods'];
?>
</h3>
      </div>
      <div class="content">
        <div class="nch-sidebar-viewed" id="nchSidebarViewed">
          <ul>
          <?php 
if (!empty($output['viewed_goods'])) {
コード例 #19
0
ファイル: common_layout.php プロジェクト: mengtaolin/shopping
</script>
</head>
<body>
<!-- PublicTopLayout Begin -->
<?php 
require_once template('layout/layout_top');
?>

<!--//zmr>v92-->
 <?php 
if (loadadv(1047)) {
    ?>
 
<DIV id=homeTopAd01 style=" position:absolute; left:50%; margin:0 0 0 -600px; ">
<div style="margin:0 auto; width:1200px;" ><?php 
    echo loadadv(1047);
    ?>
</div>
<div style=" position:absolute; z-index:1; top:5px; right:5px; "><a style="CURSOR: hand" onClick="homeTopAd()"><img src="<?php 
    echo SHOP_TEMPLATES_URL;
    ?>
/images/close.png" width="24" height="24" /></a></div>
</DIV>
<div id=homeTopAd02 style=" height:80px; "></div>
<SCRIPT>
 function homeTopAd(){
  document.getElementById("homeTopAd01").style.display="none";
   document.getElementById("homeTopAd02").style.display="none";
 }
</SCRIPT>
 <?php 
コード例 #20
0
ファイル: search.php プロジェクト: noikiy/ejia
              </li>
              <?php }?>
            </ul>
            <?php }?>
          </li>
          <?php }?>
        <?php } ?>
          
        </ul>
      </div>
    </div>
    <?php }?>
    <!-- S 推荐展位 -->
    <div nctype="booth_goods" class="nch-module" style="display:none;"> </div>
    <!-- E 推荐展位 -->
    <div class="nch-module"><?php echo loadadv(37,'html');?></div>
    <!-- 最近浏览 -->

    <div class="nch-module nch-module-style03">
      <div class="title">
        <h3><?php echo $lang['goods_class_viewed_goods']; ?></h3>
      </div>
      <div class="content">
        <div class="nch-sidebar-viewed" id="nchSidebarViewed">
          <ul>
            <?php if(!empty($output['viewed_goods']) && is_array($output['viewed_goods'])){?><?php foreach ($output['viewed_goods'] as $k=>$v){?>
            <li class="nch-sidebar-bowers">
              <div class="goods-pic"><a href="<?php echo urlShop('goods','index',array('goods_id'=>$v['goods_id'])); ?>" target="_blank"><img src="<?php echo thumb($v, 60); ?>" title="<?php echo $v['goods_name']; ?>" alt="<?php echo $v['goods_name']; ?>" ></a></div>
              <dl>
                <dt><a href="<?php echo urlShop('goods','index',array('goods_id'=>$v['goods_id'])); ?>" target="_blank"><?php echo $v['goods_name']; ?></a></dt>
                <dd><?php echo $lang['currency'];?><?php echo $v['goods_promotion_price']; ?></dd>
コード例 #21
0
ファイル: brand_goods.php プロジェクト: uwitec/xbshop
        ?>
" /></span> <span class="brand-name"><?php 
        echo $brand_r['brand_name'];
        ?>
</span></a> </li>
          <?php 
    }
    ?>
        </ul>
        <?php 
}
?>
      </div>
    </div>
    <div class="nch-module nch-module-style03"><?php 
echo loadadv(37, 'html');
?>
 </div>
    <!-- 浏览历史 -->
    <div class="nch-module nch-module-style03">
      <div class="title">
        <h3><?php 
echo $lang['brand_index_viewed_goods'];
?>
</h3>
      </div>
      <div class="content">
        <div class="nch-sidebar-viewed" id="nchSidebarViewed">
          <ul>
          <?php 
if (!empty($output['viewed_goods'])) {
コード例 #22
0
ファイル: common_layout.php プロジェクト: noikiy/ejia
function searchInput() {
	if($('#keyword').val()==searchTxt)
		$('#keyword').attr("value","");
	return true;
}
$('#keyword').attr("value","<?php echo $_GET['keyword'];?>");
</script>-->
</head>
<body>
<!-- PublicTopLayout Begin -->
<?php require_once template('layout/layout_top');?>
<!-- PublicHeadLayout Begin -->

<? if ($_GET['act']!='login' && (!isset($_GET['op']) || $_GET['op']=='index')):?>
<div id="top_banner">
	<div class="wrapper" id="topAdv"><?php echo loadadv(1047);?></div>
	<span class="span_close">×</span>
</div>
<? endif;?>
<script type="text/javascript">
$(function(){
	//$("#topAdv,#bottomAdv").children('a').attr({'href':'javascript:;','target':'_self'});
	$(".span_close,#bottomAdv").click(function(){
		$(this).parent().animate({
			'opacity':'0'
		},function(){
			$(this).animate({
				'height':'0'
			});
		});