网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
02月07日漏签0天
php吧 关注:280,451贴子:1,321,146
  • 看贴

  • 图片

  • 吧主推荐

  • 视频

  • 游戏

  • 7回复贴,共1页
<<返回php吧
>0< 加载中...

那位大侠给看看这段代码什么意思!

  • 只看楼主
  • 收藏

  • 回复
  • boy918
  • 路过酱油
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
<?php echo get_channel(array('bid' => 104,'len' => 0), $this);?>
<?php unset($this->_sections['list_channel']);
$this->_sections['list_channel']['name'] = 'list_channel';
$this->_sections['list_channel']['loop'] = is_array($_loop=$this->_tpl_vars['list_channel']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['list_channel']['show'] = true;
$this->_sections['list_channel']['max'] = $this->_sections['list_channel']['loop'];
$this->_sections['list_channel']['step'] = 1;
$this->_sections['list_channel']['start'] = $this->_sections['list_channel']['step'] > 0 ? 0 : $this->_sections['list_channel']['loop']-1;
if ($this->_sections['list_channel']['show']) {
$this->_sections['list_channel']['total'] = $this->_sections['list_channel']['loop'];
if ($this->_sections['list_channel']['total'] == 0)
$this->_sections['list_channel']['show'] = false;
} else
$this->_sections['list_channel']['total'] = 0;
if ($this->_sections['list_channel']['show']):
for ($this->_sections['list_channel']['index'] = $this->_sections['list_channel']['start'], $this->_sections['list_channel']['iteration'] = 1;
$this->_sections['list_channel']['iteration'] <= $this->_sections['list_channel']['total'];
$this->_sections['list_channel']['index'] += $this->_sections['list_channel']['step'], $this->_sections['list_channel']['iteration']++):
$this->_sections['list_channel']['rownum'] = $this->_sections['list_channel']['iteration'];
$this->_sections['list_channel']['index_prev'] = $this->_sections['list_channel']['index'] - $this->_sections['list_channel']['step'];
$this->_sections['list_channel']['index_next'] = $this->_sections['list_channel']['index'] + $this->_sections['list_channel']['step'];
$this->_sections['list_channel']['first'] = ($this->_sections['list_channel']['iteration'] == 1);
$this->_sections['list_channel']['last'] = ($this->_sections['list_channel']['iteration'] == $this->_sections['list_channel']['total']);
?>
<li><img src="../images/7_03.gif" width="9" height="7" style="padding-left:10px;" /><a href="<?php echo $this->_tpl_vars['list_channel'][$this->_sections['list_channel']['index']]['url']; ?>
" class="C_lan2"><font color="#245893"><?php echo $this->_tpl_vars['list_channel'][$this->_sections['list_channel']['index']]['title']; ?>
</font></a></li>
<?php endfor; endif; ?>


  • zhang0ZGC
  • 变魔术
    12
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼


2026-02-07 01:16:25
广告
不感兴趣
开通SVIP免广告
  • 不怕输怕遇猪
  • CLI
    13
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
代码比较简单,但是看着烦.


  • 李连杰
  • 继承
    11
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
逗我呢吧


  • Golanger
  • 框架好玩
    7
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
太长 懒得看


  • 昵称十亿个字
  • HHVM
    14
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
too long!!!


  • 你们都是坏人6
  • 变魔术
    12
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼


  • 天涯love土豆
  • 框架好玩
    7
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
函数不懂的追踪一下就好了


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 7回复贴,共1页
<<返回php吧
分享到:
©2026 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示