コード例 #1
0
:1"/></a><br /><?php 
        echo $this->_vars['data']['info'];
    } elseif ($this->_vars['data']['type'] == 2) {
        ?>
 <a href="msnim:chat?contact=<?php 
        echo $this->_vars['data']['link'];
        ?>
"><img width="30" height="30" border="0" src="http://im.live.com/Messenger/IM/Images/Icons/Messenger.Logo.gif"/></a><br /><?php 
        echo $this->_vars['data']['info'];
    } elseif ($this->_vars['data']['type'] == 3) {
        ?>
 <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?php 
        echo tpl_modifier_escape($this->_vars['data']['link'], 'url');
        ?>
&site=cntaobao&s=1&charset=utf-8"><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?php 
        echo tpl_modifier_escape($this->_vars['data']['link'], 'url');
        ?>
&site=cntaobao&s=1&charset=utf-8"/></a><br /><?php 
        echo $this->_vars['data']['info'];
    } elseif ($this->_vars['data']['type'] == 4) {
        ?>
 <a target="_blank" href="http://scs1.sh1.china.alibaba.com/msg.atc?v=1&uid=<?php 
        echo $this->_vars['data']['link'];
        ?>
"><img border="0" src="http://scs1.sh1.china.alibaba.com/online.atc?v=1&uid=<?php 
        echo $this->_vars['data']['link'];
        ?>
&s=102"/></a><br /><?php 
        echo $this->_vars['data']['info'];
    } elseif ($this->_vars['data']['type'] == 5) {
        ?>
コード例 #2
0
star="<?php 
    echo $this->_vars['product']['goods_id'];
    ?>
"<?php 
}
?>
 title="<?php 
echo tpl_modifier_escape($this->_vars['product']['name'], html);
?>
" class="star-off"><a <?php 
if ($this->_vars['login'] == "nologin") {
    ?>
 href="<?php 
    echo "passport", is_numeric("passport") && 'index' == "login" || !"login" ? '' : '-' . "login", '.html';
    ?>
" <?php 
} else {
    ?>
href="#" onclick="return false;"<?php 
}
?>
 class="listact" title="加入收藏" rel="nofollow">加入收藏</a></li> <li class="vdetail zoom"><a title="<?php 
echo tpl_modifier_escape($this->_vars['product']['name'], html);
?>
" href="<?php 
echo "product-{$this->_vars['product']['goods_id']}", is_numeric($this->_vars['product']['goods_id']) && 'index' == index || !index ? '' : '-' . index, '.html';
?>
" pic='<?php 
echo tpl_modifier_storager(isset($this->_vars['product']['big_pic']) && '' !== $this->_vars['product']['big_pic'] ? $this->_vars['product']['big_pic'] : $this->system->getConf('site.default_big_pic'));
?>
' target="_blank" class="listact" title="查看详细">查看详细</a></li> -->
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_content = tpl_block_capture($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this);
    echo $_block_content;
    array_pop($this->_tag_stack);
    $_block_content = '';
    $this->_tag_stack[] = array('tpl_block_capture', array('name' => goodsName));
    tpl_block_capture(array('name' => goodsName), null, $this);
    ob_start();
    if ($this->_vars['setting']['showGoodsName'] == "on") {
        ?>
 <h6><a href="<?php 
        echo "product-{$this->_vars['goods_data']['goods_id']}", is_numeric($this->_vars['goods_data']['goods_id']) && 'index' == "index" || !"index" ? '' : '-' . "index", '.html';
        ?>
" target="_blank" title="<?php 
        echo tpl_modifier_escape($this->_vars['goods_data']['name'], html);
        ?>
"><?php 
        echo tpl_modifier_cut($this->_vars['goods_data']['name'], $this->_vars['setting']['max_length']);
        ?>
</a></h6> <?php 
    }
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_content = tpl_block_capture($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this);
    echo $_block_content;
    array_pop($this->_tag_stack);
    $_block_content = '';
    $this->_tag_stack[] = array('tpl_block_capture', array('name' => goodsDesc));
    tpl_block_capture(array('name' => goodsDesc), null, $this);
    ob_start();
コード例 #4
0
        }
        ?>
row<?php 
        if ($this->_env_vars['foreach']['_finder']['iteration'] % 2 == 0) {
            ?>
 even<?php 
        }
        ?>
" item-id="<?php 
        echo $this->_vars['item'][$this->_vars['_finder']['id']];
        ?>
"> <?php 
        if ($_GET['ctl'] != "member/advance") {
            ?>
 <td><input type="checkbox" tags="<?php 
            echo tpl_modifier_escape($this->_vars['item']['_tags'], "html");
            ?>
" class="sel" name="<?php 
            echo $this->_vars['_finder']['id'];
            ?>
[]" value="<?php 
            echo $this->_vars['item'][$this->_vars['_finder']['id']];
            ?>
"></td> <?php 
        } else {
            ?>
 <td><input type="hidden" class="sel"></td> <?php 
        }
        if ($this->_vars['_finder']['detail_url']) {
            ?>
 <td class="finder-list-command"> <span title="展开查看" class="btn-detail-open" detail="index.php?ctl=<?php 
        echo tpl_modifier_cdate($this->_vars['msglist']['date_line'], 'SDATE_STIME');
        ?>
</span> <div style="clear:both;"></div> <div class="commentText"><?php 
        echo tpl_modifier_escape($this->_vars['msglist']['message'], 'html');
        ?>
</div> </div> </div> <div class="commentReply"> <?php 
        foreach ((array) $this->_vars['msglist']['reply'] as $this->_vars['items']) {
            ?>
 <div class="division item " style=" margin:0px;" > <div class="floatLeft commentReply-admin">回复</div> <span class="author fontcolorOrange"><?php 
            echo $this->_vars['items']['msg_from'];
            ?>
</span>&nbsp;&nbsp;回复: <span class="timpstamp font10px fontcolorGray replies"><?php 
            echo tpl_modifier_cdate($this->_vars['items']['date_line'], 'SDATE_STIME');
            ?>
</span> <div style="clear:both;"></div> <div class="commentText"><?php 
            echo tpl_modifier_escape($this->_vars['items']['message'], 'html');
            ?>
</div> </div> <?php 
        }
        ?>
 </div> <?php 
    }
    ?>
 </div> <?php 
}
?>
 <script>
    var checkFormReqs =function(e){
           e    = new Event(e);
       var form= $(e.target);
          
コード例 #6
0
    echo isset($this->_vars['height']) && '' !== $this->_vars['height'] ? $this->_vars['height'] : '300px';
    ?>
;"><?php 
    echo tpl_modifier_escape($this->_vars['value'], 'html');
    ?>
</textarea> <?php 
} else {
    ?>
 <textarea name="<?php 
    echo $this->_vars['name'];
    ?>
" style="display:none" style="height:<?php 
    echo isset($this->_vars['height']) && '' !== $this->_vars['height'] ? $this->_vars['height'] : '300px';
    ?>
;"><?php 
    echo tpl_modifier_escape($this->_vars['value'], 'html');
    ?>
</textarea> <div id='mce_body_<?php 
    echo $this->_vars['id'];
    ?>
_frm_container' style="height:100%;"> </div> <?php 
}
?>
 </div> <div align='left' style='font-size:14px;font-weight:bold;'> <script>
 var mce_body_<?php 
echo $this->_vars['id'];
?>
_Height=function(v){
     v=v?$('mce_body_<?php 
echo $this->_vars['id'];
?>
コード例 #7
0
 件</span></td> </tr> <?php 
if (!constant('SAAS_MODE')) {
    ?>
 <tr> <th class="dashboard_number_orange">当前版本</th> <td><span class="dashboard_number_orange"><?php 
    echo $this->_vars['version']['app'];
    ?>
.<?php 
    echo $this->_vars['version']['rev'];
    ?>
</span></td> </tr> <?php 
}
?>
 </tbody> </table> <?php 
if (!constant('SAAS_MODE')) {
    ?>
 <iframe frameborder="0" src="http://top.shopex.cn/promotion/version/version.php?function=view&version=<?php 
    echo tpl_modifier_escape($this->_vars['version']['app'], url);
    ?>
&versionno=<?php 
    echo tpl_modifier_escape($this->_vars['version']['rev'], url);
    ?>
" width="180" height="109" scrolling="auto"></iframe> <?php 
}
?>
 </div></td> <td><div class="serviceitems"> <h3>新手帮助</h3> <div class="contentbg" style="height:193px;padding:0;"> <iframe frameborder="0" src="http://top.shopex.cn/promotion/softwareHelp/" width="100%" height="100%" scrolling="auto"></iframe> </div> </div></td> <td><div class="serviceitems" style=" width:590px;background:#E2E8EB; border:1px solid #ccc; overflow:hidden"> <div class="contentbg" ><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" name="dayReport" width="680" height="220" id="dayReport"> <param name="wmode" value="transparent"> <param name="movie" value="images/linechart.swf?fillcolor=0xFF9933&reporttype=day&header=visible&linecolor=0x784016&backcolor=0xffffff&raycolor=0xF5E1AA&xml=<?php 
echo $this->_vars['day'];
?>
"> <embed src="images/linechart.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="fillcolor=0xFF9933&linesize=2&reporttype=day&header=visible&linecolor=0x784016&backcolor=0xffffff&raycolor=0xF5E1AA&xml=<?php 
echo $this->_vars['day'];
?>
" type="application/x-shockwave-flash" width="600" height="220" name="dayReport" wmode="transparent"></embed></object></div> </div></td> </tr> </table> </div> 
                echo $this->_vars['comlist']['author'];
                ?>
<!--<?php 
                if ($this->_vars['comlist']['levelname'] != "") {
                    ?>
 [<?php 
                    echo $this->_vars['comlist']['levelname'];
                    ?>
]<?php 
                }
                ?>
 --></span>说: <span class="timpstamp font10px fontcolorGray replies prepend-1"><?php 
                echo tpl_modifier_cdate($this->_vars['comlist']['time'], 'SDATE_STIME');
                ?>
</span> <div style="clear:both;"></div> <div class="commentText"><?php 
                echo tpl_modifier_escape($this->_vars['comlist']['comment'], 'html');
                ?>
</div> </div> <div class="floatRight"><a class="floatRight lnk " href='<?php 
                echo tpl_function_link(array('ctl' => "comment", 'act' => "reply", 'arg0' => $this->_vars['comlist']['comment_id'], 'arg1' => "discuss"), $this);
                ?>
'>回复此评论</a></div> </div> <div class="commentReply"> <?php 
                foreach ((array) $this->_vars['comlist']['items'] as $this->_vars['items']) {
                    ?>
 <div class="division item " style=" margin:0px;" > <div class="floatLeft commentReply-admin">回复</div> <span class="author fontcolorOrange"><?php 
                    echo $this->_vars['items']['author'];
                    ?>
<!--<?php 
                    if ($this->_vars['items']['levelname'] != "") {
                        ?>
 [<?php 
                        echo $this->_vars['items']['levelname'];
コード例 #9
0
$_block_content = tpl_block_help($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this);
echo $_block_content;
array_pop($this->_tag_stack);
$_block_content = '';
?>
</div> <div class='span-auto'><span class="sysiconBtn edit selectspec">选择规格项</span><span class="sysiconBtn delete closespec">关闭规格</span></div> </div> <table cellspacing="0" cellpadding="0" border="0" class="gridlist"> <thead id="productNodeTitle"> <tr> <th>货号</th> <?php 
foreach ((array) $this->_vars['specname'] as $this->_vars['key'] => $this->_vars['snItem']) {
    ?>
 <th><?php 
    echo tpl_modifier_escape($this->_vars['snItem']['spec_name'], 'html');
    ?>
 <input type="hidden" name="vars[<?php 
    echo $this->_vars['key'];
    ?>
]" value="<?php 
    echo tpl_modifier_escape($this->_vars['snItem']['spec_name'], 'html');
    ?>
" /> </th> <?php 
}
foreach ((array) $this->_vars['spec']['idataInfo'] as $this->_vars['key'] => $this->_vars['item']) {
    ?>
 <th class="idata" ><?php 
    echo $this->_vars['item'];
    ?>
 <input type="hidden" name="idataInfo[<?php 
    echo $this->_vars['key'];
    ?>
]" value="<?php 
    echo $this->_vars['item'];
    ?>
" /></th> <?php 
コード例 #10
0
            echo $CURRENCY->changer($this->_vars['product']['mktprice']);
            ?>
</span><?php 
        } else {
            ?>
&nbsp;<?php 
        }
        ?>
</td> <td><ul class="button"> <?php 
        echo tpl_function_goodsmenu(array('product' => $this->_vars['product'], 'setting' => $this->_vars['setting']), $this);
        ?>
 <!-- <li class="btncmp"> <a href="javascript:void(0)" onclick="gcompare.add({gid:'<?php 
        echo $this->_vars['product']['goods_id'];
        ?>
',gname:'<?php 
        echo tpl_modifier_escape(addslashes($this->_vars['product']['name']), html);
        ?>
',gtype:'<?php 
        echo $this->_vars['product']['type_id'];
        ?>
'});" class="btncmp" title="商品对比"> 商品对比 </a> </li>--> </ul></td> </tr> </table> </div> </div> </td> <?php 
        if (!($this->_env_vars['foreach']['goods']['iteration'] % $this->system->getConf('gallery.display.grid.colnum'))) {
            ?>
 </tr> <?php 
            if (!$this->_env_vars['foreach']['goods']['last']) {
                ?>
 <tr valign="top"> <?php 
            }
        } elseif ($this->_env_vars['foreach']['goods']['last']) {
            ?>
 <td colspan="<?php 
コード例 #11
0
        }
        ?>
 </a> <?php 
    } elseif ($this->_vars['href']) {
        ?>
 <a href="<?php 
        echo $this->_vars['href'];
        ?>
" target="_blank" style="margin:0;padding:0" title="<?php 
        echo tpl_modifier_escape($this->_vars['text'], "html");
        ?>
"> <img src="<?php 
        echo $this->_vars['type']['icon'];
        ?>
" style="cursor:pointer;" title="<?php 
        echo tpl_modifier_escape($this->_vars['text'], "html");
        ?>
" /><?php 
        if ($this->_vars['label']) {
            echo $this->_vars['label'];
        }
        ?>
 </a> <?php 
    } else {
        ?>
 <span id="<?php 
        echo $this->_vars['dom_id'];
        ?>
"> <img src="<?php 
        echo $this->_vars['type']['icon'];
        ?>
コード例 #12
0
            ?>
</span><?php 
        }
        if ($this->_vars['setting']['showtime']) {
            ?>
<span class="cmt_time"><?php 
            echo tpl_modifier_userdate($this->_vars['item']['time']);
            ?>
</span><?php 
        }
        ?>
 <a target="_blank" href='<?php 
        echo "product-{$this->_vars['item']['goods_id']}", is_numeric($this->_vars['item']['goods_id']) && 'index' == "index" || !"index" ? '' : '-' . "index", '.html';
        ?>
' title="<?php 
        echo tpl_modifier_escape($this->_vars['item']['name'], html);
        ?>
"><?php 
        echo tpl_modifier_cut($this->_vars['item']['comment'], $this->_vars['setting']['content_length']);
        ?>
</a> </div> </div> </td> <?php 
        if (!($this->_env_vars['foreach']['name']['iteration'] % $this->_vars['setting']['limittd'])) {
            ?>
 </tr> <?php 
            if (!$this->_env_vars['foreach']['name']['last']) {
                ?>
<tr valign="top"><?php 
            }
        } elseif ($this->_env_vars['foreach']['name']['last']) {
            ?>
 <td colspan="<?php 
if (!function_exists('tpl_modifier_cdate')) {
    require CORE_DIR . '/include_v5/smartyplugins/modifier.cdate.php';
}
if (!function_exists('tpl_modifier_escape')) {
    require CORE_DIR . '/include_v5/smartyplugins/modifier.escape.php';
}
?>
 <div class="MemberMain"> <div style="margin-right:175px;"> <div class="title">我的积分</div> <div class="points"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="200"> <div class="currentpoints"> <div style="padding-top:30px;"> <strong>您当前的有效积分:</strong><br /> <span style="font-size:20px; font-weight:bold; color:#fd6b00; "><?php 
echo $this->_vars['total'];
?>
</span> </div> </div> </td> <td style="line-height:20px;"> <strong>积分规则:</strong><br /> 1. 当积分已达到某一兑换积分标准时,顾客可将累计积分依照网站相应积分及兑换标准兑换回馈商品,网站将即时从用户会员积分中扣减相应积分。<br /> 2. 各项回馈项目(包含各项商品、服务或抵用券等)及兑换标准及兑换规则均以兑换当时最新回馈活动公告或目录为准。<br /> 3. 部分兑换商品有数量限制的,兑完为止。<br /> 4. 公告或目录如有有效期限的,逾期即不得兑换。<br /> 5. 积分兑换区的商品为只可用积分兑换的商品(如积分价格:100积分)。 </td> </tr> </table> </div> <br /><br /> <table class="memberlist" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th>日期</th> <th>积分</th> <th>摘要</th> </tr> <tbody> <?php 
if (count($this->_vars['historys']) > 0) {
    foreach ((array) $this->_vars['historys'] as $this->_vars['logs']) {
        ?>
 <tr> <td><?php 
        echo tpl_modifier_cdate($this->_vars['logs']['time'], FDATE_STIME);
        ?>
</td> <td class="point"><?php 
        echo $this->_vars['logs']['point'];
        ?>
</td> <td class="textleft"><?php 
        echo tpl_modifier_escape($this->_vars['logs']['describe'], 'html');
        ?>
</td> </tr> <?php 
    }
} else {
    ?>
 <tr> <td height="60" colspan="3">尚无积分历史</td> </tr> <?php 
}
?>
 </tbody> </table> </div> </div>