Esempio n. 1
0
 static function previewtag($tag_info)
 {
     global $_K;
     $datalist = keke_loaddata_class::loaddata($tag_info);
     if ($tag_info['tag_type'] == 5) {
         $find = '/' . 'src="data' . '/i';
         $replase = 'src="' . $_K[siteurl] . '/data';
         $tag_info[code] = preg_replace($find, $replase, $tag_info[code]);
         echo htmlspecialchars_decode($tag_info['code']);
     } else {
         require keke_tpl_class::parse_code(htmlspecialchars_decode($tag_info[tag_code]), $tag_info[tag_id]);
     }
 }
Esempio n. 2
0
<?php

$tpl_mode = 1;
define('ADMIN_KEKE', TRUE);
require '../app_comm.php';
define('ADMIN_ROOT', S_ROOT . '/' . ADMIN_DIRECTORY . '/');
$_K['admin_tpl_path'] = S_ROOT . '/' . ADMIN_DIRECTORY . '/tpl/';
if ($do == 'previewtag') {
    $tagid = intval($tagid);
    if (!$tagid) {
        die;
    }
    $taglist = kekezu::get_tag(1);
    $tag_info = $taglist[$tagid];
    if ($tag_info['tag_type'] == 9) {
        keke_loaddata_class::preview_addgroup($tag_info['tagname'], $tag_info['loadcount']);
    } else {
        keke_loaddata_class::previewtag($tag_info);
    }
}
Esempio n. 3
0
<?php

define("IN_KEKE", TRUE);
require 'app_comm.php';
$ops = array('time', 'tag');
in_array($op, $ops) or $op = "time";
switch ($op) {
    case "time":
        $last_respons = kekezu::exec_js();
        if ($last_respons) {
            $time_factory = new time_fac_class();
            $time_factory->run();
        }
        break;
    case "tag":
        $html_str = $kekezu->_cache_obj->get('tag_html_data_' . $tag_id);
        $html_str = $html_str ? $html_str : keke_loaddata_class::gettagHTML($tag_id);
        $html_str = str_replace("'", "\\'", trim($html_str));
        $html_str = str_replace("\r\n", "", $html_str);
        $html_str = str_replace("\n", "", $html_str);
        echo "document.write('" . $html_str . "');";
        break;
}
die;
Esempio n. 4
0
        <li><a href="#">诚信保障</a></li>
        <li><a href="#">VIP特权</a></li>
        <li><a href="#">增值工具</a></li>
      </ul>-->
    </div><!--/.nav-collapse -->
  </div>
</div>
</nav>

<div class="container">

<div class="col-sm-7 hidden-xs">
  <div class="welcome-img">
    <div class="thumbnail">
 <?php 
keke_loaddata_class::ad_show('LOGIN_LEFT', 'login', '');
?>
    </div><!-- thumbnail end-->
    <div class="caption">
      <h3>注册用户的特色功能</h3>


      <ul class="list-inline">
        <li><p class="text-muted"><i class="fa fa-check-square"></i> 实名认证后,交易保障。</p></li>
        <li><p class="text-muted"><i class="fa fa-check-square"></i> 订单记录保存,随时随地查看</p></li>
<li><p class="text-muted"><i class="fa fa-check-square"></i> 关键位置推荐,惊喜不断</p></li>
      </ul>

    </div>
  </div><!-- welcome-img end -->
</div>
?>
<!---->
</div>
<!-- for-advertise end -->

<!--
    <div class="home-other">
    	<p>我对 <?php 
echo $_K['sitename'];
?>
 有意见或建议,现在就<a href="javascript:sendSuggest();void(0);">提交</a></p>
</div>
-->
<div class="for-advertise">
<?php 
keke_loaddata_class::ad_show('HOME_CENTAL_THREE', 'index', '');
?>
<!--<img src="" data-src="holder.js/950x50/#f8f8f8:#ddd/text:AD">-->
</div>
<!-- for-advertise end -->

</div>
<!-- container end -->
<script type="text/javascript">
    $(function(){

        $('#jcarousel_bid').jcarousel({
            wrap: 'circular',
            animation: 500,
            vertical: true
        }).jcarouselAutoscroll({