kinway


disconnected
主题工具

想实现一个东西

... 发表于 2008-4-30 22:00  ... 10474 次点击

就是侧栏我想放上如同Viewpro的Currently via In Nowhere
我在index.php里添加了viewpro中的
//S:Nowhere
$query = $db->query("SELECT dateline,content FROM {$tablepre}plugin_now WHERE author='{$member['username']}' ORDER BY dateline DESC LIMIT 1");
$now = $db->fetch_array($query);
if ($now) {
  $now['dateline'] =  make_descriptive_time($now[dateline]);
  $now['content'] = dhtmlspecialchars($now['content']);
}
//E:Nowhere
但是侧栏还是无法调用,只能在viewpro里才可以

本主题共有 2 条回复 | 回到顶部
#1 - 2008-4-30 22:09
kinway 武汉
或者能否在侧栏里放上Nowhere生成的图片,但那个需要更改图片样式还有每个用户都是看到自己的。这个不知道也怎么做。ai
#2 - 2008-4-30 22:39
Sai 桂林

author='{$discuz_userss}'

看完之后有话想说?那就帮楼主加盖一层吧!

在回复之前你需要先进行登录
用户名 / UID
密码
Project Parasynthesis | Based on Discuz! 5.5.0 | Thanks to Livid
About | Help | Developer | N2Design
清除 Cookies - 联系我们 - 无名杂志 - Archiver - Mobile
Processed in 0.039242 second(s), 7 queries, Gzip enabled