Exemplo n.º 1
0
        <div id="JS_comment_list"> 暂无评论 </div>
        <div id="JS_comment_pager" data-id="9993" data-page="1" class="pager"></div>
      </div>
    </div>
    <div class="comment" style="display:none">
      <h3>我要发表评论:</h3>
      <textarea id="JS_art_content"></textarea>
      <div class="txtInfo"><strong>提示:</strong>你还可以输入<strong id="Js_txtInfo"></strong>个字!</div>
      <p> <span class="Left" id="JS_art_login_status"><a class="red" href="javascript:;" onClick="userLogin();" title="登录">登录</a> | <a href="/user/?act=register" title="注册">注册</a></span><span class="Left"> | 匿名评论请填写邮箱:
        <input id="JS_art_email" type="text">
        ( 邮箱信息不会公开 )</span> <span class="Right"><a class="submit" href="javascript:;" onClick="postComment(this);" data-id="9993"></a></span> </p>
    </div>
  </div>
  <div class="sub_aside">
  <?php 
    $_from = get_advlist_by_id(9);
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    $this->push_vars('', 'ad');
    $this->_foreach['index_image'] = array('total' => count($_from), 'iteration' => 0);
    if ($this->_foreach['index_image']['total'] > 0) {
        foreach ($_from as $this->_var['ad']) {
            $this->_foreach['index_image']['iteration']++;
            ?>
  <div id="ad" class="zxFocus current"><a href="<?php 
            echo $this->_var['ad']['url'];
            ?>
" title="<?php 
            echo $this->_var['ad']['name'];
            ?>
Exemplo n.º 2
0
<?php 
echo $this->smarty_insert_scripts(array('files' => 'common.js,user.js,utils.js'));
?>
<script src="themes/meilele/js/common.js"></script>
<link href="themes/meilele/css/magiczoom.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="themes/meilele/js//mzp-packed-me.js"></script>
</head>
<body>
<script type="text/javascript">(function(){var screenWidth=window.screen.width;if(screenWidth>=1280){document.body.className="root_body";window.LOAD=true;}else{window.LOAD=false;}})()</script>

<?php 
echo $this->fetch('library/page_header.lbi');
?>
 
<?php 
$_from = get_advlist_by_id(15);
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->push_vars('', 'ad');
$this->_foreach['index_image'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['index_image']['total'] > 0) {
    foreach ($_from as $this->_var['ad']) {
        $this->_foreach['index_image']['iteration']++;
        ?>
<div class="w mt10 mb10 top_banner" style="height:60px;overflow:hidden;" id="JS_banner">
  <div id="JS_banner_in">
  <a href="<?php 
        echo $this->_var['ad']['url'];
        ?>
" title="<?php 
Exemplo n.º 3
0
-->
  
  <style>
.lightBox .in{width:800px!important;}
.lightBox{}
</style>
  
</div>
<div class="w" style="width:978px;border:1px solid #eee; background:#fbfbfb;background:-webkit-linear-gradient(#f6f6f6,#fbfbfb 30%);background:-moz-linear-gradient(#f6f6f6,#fbfbfb 30%); padding-top:12px; padding-bottom:10px; margin-top:18px;">
  <div class="clearfix" style="padding-bottom:5px;">
    <div class="Left" style="color:#535353; font-size:13px;font-family:微软雅黑; padding-left:12px;font-size:14px;">以下活动正在进行中</div>
  </div>
  <div class="clearfix">
  <?php 
$_from = get_advlist_by_id(20);
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->push_vars('', 'ad');
$this->_foreach['index_image'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['index_image']['total'] > 0) {
    foreach ($_from as $this->_var['ad']) {
        $this->_foreach['index_image']['iteration']++;
        ?>
    <div class="Left" style="width:456px; height:206px; padding:4px 5px; border:1px solid #d5d5d5; margin-left:12px; display:inline;margin-bottom:12px;"><a href="<?php 
        echo $this->_var['ad']['url'];
        ?>
" title="<?php 
        echo $this->_var['ad']['name'];
        ?>
Exemplo n.º 4
0
			})()
		</script>

<?php 
echo $this->fetch('library/page_header.lbi');
?>
 


<div id="tuan_container" class="w">
  <div class="tg_pos"> <?php 
echo $this->fetch('library/ur_here.lbi');
?>
  </div>
  <?php 
$_from = get_advlist_by_id(7);
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->push_vars('', 'ad');
$this->_foreach['index_image'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['index_image']['total'] > 0) {
    foreach ($_from as $this->_var['ad']) {
        $this->_foreach['index_image']['iteration']++;
        ?>
  <div class="tuan_ad"> <a href="<?php 
        echo $this->_var['ad']['url'];
        ?>
" title="<?php 
        echo $this->_var['ad']['name'];
        ?>
Exemplo n.º 5
0
	 <?php 
        }
        ?>
	
	<?php 
    }
}
unset($_from);
$this->pop_vars();
?>
	
     
    </tr>
    <tr>
    <?php 
$_from = get_advlist_by_id(6);
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->push_vars('', 'ad');
$this->_foreach['index_image'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['index_image']['total'] > 0) {
    foreach ($_from as $this->_var['ad']) {
        $this->_foreach['index_image']['iteration']++;
        ?>
	<?php 
        if ($this->_foreach['index_image']['iteration'] > 7) {
            ?>
      <td class="td_<?php 
            echo $this->_foreach['index_image']['iteration'];
            ?>