Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已解决] 完整YOHO+VIP+本地农牧场+WOWO100套模板+1300播放器(再次放出。鄙视不回贴)

  [复制链接]
eneas 发表于 2009-12-20 16:58:44 | 显示全部楼层
谢谢你啦,大好人。
回复

使用道具 举报

hnyvvv 发表于 2009-12-20 17:02:23 | 显示全部楼层
没顶的我自己顶自己
回复

使用道具 举报

kagomelee 发表于 2009-12-20 17:12:09 | 显示全部楼层
感谢楼主无私奉献 虽然我的是 asp 的 用不了 不过楼主的无私奉献精神是值得顶的
回复

使用道具 举报

58298822 发表于 2009-12-20 17:14:59 | 显示全部楼层
很强大啊,厉害
回复

使用道具 举报

chico 发表于 2009-12-20 17:17:29 | 显示全部楼层
先顶了再下!!!谢谢分享!!
回复

使用道具 举报

cao1989 发表于 2009-12-20 17:27:58 | 显示全部楼层
好东西。。。。
回复

使用道具 举报

czwt 发表于 2009-12-20 17:33:56 | 显示全部楼层
谢谢了!先下来看看!
回复

使用道具 举报

闪侠 发表于 2009-12-20 18:33:28 | 显示全部楼层
一批这些错误,不知道哪一步没做好,呵呵

= array(); $query = $_SGLOBAL['db']->query("SELECT s.*, sf.note FROM ".tname('session')." s LEFT JOIN ".tname('spacefield')." sf ON sf.uid=s.uid ORDER BY s.lastactivity DESC LIMIT 0,12"); while ($value = $_SGLOBAL['db']->fetch_array($query)) { if(!$value['magichidden']) { $value['note'] = shtmlspecialchars(strip_tags($value['note'])); realname_set($value['uid'], $value['username']); $onlinelist[$value['uid']] = $value; } } if(empty($star) && $onlinelist) { $star = sarray_rand($onlinelist, 1); } //在线人数 $olcount = getcount('session', array()); //应用 $myappcount = 0; $myapplist = array(); if($_SCONFIG['my_status']) { $myappcount = $_SGLOBAL['db']->result($_SGLOBAL['db']->query("SELECT COUNT(*) FROM ".tname('myapp')." WHERE flag>='0'"), 0); if($myappcount) { $query = $_SGLOBAL['db']->query("SELECT appid,appname FROM ".tname('myapp')." WHERE flag>=0 ORDER BY flag DESC, displayorder LIMIT 0,15"); while ($value = $_SGLOBAL['db']->fetch_array($query)) { $myapplist[] = $value; } } } //大家的最新动态 $feedlist = array(); $query = $_SGLOBAL['db']->query("SELECT * FROM ".tname('feed')." WHERE friend='0' ORDER BY dateline DESC LIMIT 0,50"); while ($value = $_SGLOBAL['db']->fetch_array($query)) { realname_set($value['uid'], $value['username']); $feedlist[] = $value; } //格式化动态 foreach ($feedlist as $key => $value) { $feedlist[$key] = mkfeed($value); } //分享 $sharelist = array(); $query = $_SGLOBAL['db']->query("SELECT * FROM ".tname('share')." ORDER BY dateline DESC LIMIT 0,5"); while ($value = $_SGLOBAL['db']->fetch_array($query)) { realname_set($value['uid'], $value['username']); $sharelist[] = $value; } realname_get(); //最后登录名 $membername = empty($_SCOOKIE['loginuser'])?'':sstripslashes($_SCOOKIE['loginuser']); $wheretime = $_SGLOBAL['timestamp']-3600*24*30; $_TPL['css'] = 'network'; include_once template("network"); //检查缓存 function check_network_cache($type) { global $_SGLOBAL; if($_SGLOBAL['network'][$type]['cache']) { $cachefile = S_ROOT.'./data/cache_network_'.$type.'.txt'; $ftime = filemtime($cachefile); if($_SGLOBAL['timestamp'] - $ftime < $_SGLOBAL['network'][$type]['cache']) { return true; } } return false; } //获得SQL function mk_network_sql($type, $ids, $crops, $days, $orders) { global $_SGLOBAL; $nt = $_SGLOBAL['network'][$type]; $wherearr = array('1'); //指定 foreach ($ids as $value) { if($nt[$value]) { $wherearr[] = "main.{$value} IN (".$nt[$value].")"; } } //范围 foreach ($crops as $value) { $value1 = $value.'1'; $value2 = $value.'2'; if($nt[$value1]) { $wherearr[] = "main.{$value} >= '".$nt[$value1]."'"; } if($nt[$value2]) { $wherearr[] = "main.{$value} <= '".$nt[$value2]."'"; } } //时间 foreach ($days as $value) { if($nt[$value]) { $daytime = $_SGLOBAL['timestamp'] - $nt[$value]*3600*24; $wherearr[] = "main.{$value}>='$daytime'"; } } //排序 $order = in_array($nt['order'], $orders)?$nt['order']:array_shift($orders); $sc = in_array($nt['sc'], array('desc','asc'))?$nt['sc']:'desc'; return array('wherearr'=>$wherearr, 'order'=>$order, 'sc'=>$sc); } ?>
回复

使用道具 举报

black147 发表于 2009-12-20 18:35:13 | 显示全部楼层
谢谢分享拉``下载来试试先``谢谢`
回复

使用道具 举报

koyou 发表于 2009-12-20 19:21:59 | 显示全部楼层
thank you very much, 但是为什么显示uid(就是会员名)是乱码?
不相信,去看看。。。。

http://www.enteme.com/home
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-12-27 11:18 , Processed in 0.019474 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表