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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

BS+CMS+BLOG的插件——XAS 2.3.0提供下载

[复制链接]
ibeicafy 发表于 2005-5-15 17:29:13 | 显示全部楼层
我执行安装怎么显示空白页?
回复

使用道具 举报

二十出头 发表于 2005-5-16 10:00:52 | 显示全部楼层
安装这个
到我买DZ商业的时候
能否生机?
回复

使用道具 举报

ztz2005 发表于 2005-5-16 10:22:18 | 显示全部楼层
真的很不错!就是还不太会用!

[ Last edited by ztz2005 on 2005-5-16 at 10:39 ]
回复

使用道具 举报

meyu 发表于 2005-5-16 10:44:59 | 显示全部楼层
比死猴子的还难看
回复

使用道具 举报

ztz2005 发表于 2005-5-17 09:16:10 | 显示全部楼层
请问怎样把它改为论坛首页啊!
回复

使用道具 举报

 楼主| smallwl 发表于 2005-5-17 23:21:47 | 显示全部楼层
XAS 3.0.0即将发布。演示地址:
http://www.xooo.net
回复

使用道具 举报

quality 发表于 2005-5-21 11:05:49 | 显示全部楼层
2.2.3用的时候发现无法更新专题,问题如下:
后台更新专题时出现:
Fatal error: Call to undefined function: unbuffered_query() in /usr/.....s/xas/admin_topic.php on line 41

具体代码为:
<?php
/***********************************************************************/
/* 站点文章管理系统(XAS) 1.0.0                                               */
/* admin_system.php 1.0.0                                              */
/* [Discuz! HACK ] 本系统为Discuz! 插件,运行在Discuz!下               */
/* DISCUZ官方网站 https://discuz.dismall.com                                */
/* XAS官方网站: http://www.xooo.net                                    */
/* EMAIL: 362360@qq.com                                                */
/* 作者:小文龙                                                                */
/* 最后更新:2004-12-03 04:00                                          */
/*                                                                     */
/* 有任何问题请至  论坛:http://qq.xooo.net 提出                       */
/***********************************************************************/
if(!defined('XAS')) {
        exit('Access Denied');
}
$discuz_action = 300;


if ($action==''){
        $query = $db->query("SELECT * FROM $xas[pre]_xas_topic ORDER BY tstatus ASC,tintime DESC ");
        while($topic = $db->fetch_array($query)) {
                $xas_numtopic++;
                $topic['id']= $xas_numtopic;
                $topic['tintime'] = gmdate("$dateformat $timeformat", $topic['tintime'] + ($timeoffset * 3600));
                $topic['tname'] =  dhtmlspecialchars($topic['tname']) ;
                $topic['ttext'] =  dhtmlspecialchars($topic['ttext']) ;
               
                $topiclist[] = $topic;
        }
include template('xas_admin_topic');
}
//更新数据
if ($action=='update'){
        if(is_array($order)) {
                $ids = $comma = "";
                foreach($order as $tid) {
                        $ids .= "$comma'$tid'";
                        $comma = ", ";
                }
        $db->unbuffered_query("DELETE FROM $xas[pre]_xas_topic WHERE tid IN ($ids) ");
        }
        if(is_array($tnamenew)) {
                foreach($tnamenew as $tid => $value) {
                        $db->unbuffered_query("UPDATE $xas[pre]_xas_topic SET tname='$tnamenew[$tid]' WHERE tid='$tid'");
                }
        }
        if(is_array($timagesnew)) {
                foreach($timagesnew as $tid => $value) {
                        $db->unbuffered_query("UPDATE $xas[pre]_xas_topic SET timages='$timagesnew[$tid]' WHERE tid='$tid'");
                }
        }
        if(is_array($tstatusnew)) {
                foreach($tstatusnew as $tid => $value) {
                        $db->unbuffered_query("UPDATE $xas[pre]_xas_topic SET tstatus='$tstatusnew[$tid]' WHERE tid='$tid'");
                }
        }
        if(is_array($thiddennew)) {
                foreach($thiddennew as $tid => $value) {
                        $thiddennew[$tid] = ($thiddennew[$tid]=='0')? '0':'1';
                        $db->unbuffered_query("UPDATE $xas[pre]_xas_topic SET thidden='$thiddennew[$tid]' WHERE tid='$tid'");
                }
        }
xas_showmessage('专题设置成功','xasadmin.php?mod=topic');
}
//添加专题
if ($action=='newtopic'){
$thiddennew = ($thiddennew=='0')? '0':'1';
$query = $db->query("INSERT INTO $xas[pre]_xas_topic (tid,ttype,tname,tintime,timages,tstatus,thidden,ttext) VALUES ('', 'big', '$tnamenew', '$timestamp', '$timagesnew', '$tstatusnew', '$thiddennew', '$ttextnew') ");
xas_showmessage('专题添加成功','xasadmin.php?mod=topic');
}
//更新日期
if ($action=='uptime'){
        $db->unbuffered_query("UPDATE $xas[pre]_xas_topic SET tintime='$timestamp' WHERE tid='$tid'");
        xas_showmessage('日期已更新','xasadmin.php?mod=topic');
}
//编辑专题
if ($action=='edittopic'){
        if ($ok!=ok){
        $query = $db->query("SELECT * FROM $xas[pre]_xas_topic WHERE tid='$tid' ");
        $topic = $db->fetch_array($query);
        include template('xas_admin_topic_edit');
        }else{
        $thiddennew = ($thiddennew=='0')? '0':'1';
        $db->unbuffered_query("UPDATE $xas[pre]_xas_topic SET tname='$tnamenew',timages='$timagesnew',tstatus='$tstatusnew',thidden='$thiddennew',tintime='$timestamp' WHERE tid='$tid'");
        xas_showmessage('专题编辑更新','xasadmin.php?mod=topic');
        }

}
?>






麻烦有空的时候协助解决
回复

使用道具 举报

 楼主| smallwl 发表于 2005-5-23 13:02:25 | 显示全部楼层
看到了,unbuffered_query() 没有改回来。

查找:

  1. unbuffered_query
复制代码


替换为:


  1. query
复制代码
回复

使用道具 举报

quality 发表于 2005-5-25 13:00:29 | 显示全部楼层
Originally posted by smallwl at 2005-5-23 13:02
看到了,unbuffered_query() 没有改回来。

查找:

  1. unbuffered_query
复制代码


替换为:


  1. query
复制代码

谢谢了,不过这两天服务器受攻击,过两天再试了
回复

使用道具 举报

quality 发表于 2005-5-25 13:02:55 | 显示全部楼层
还有一个专题文章没有地方添加啊,另外文章系统的公告也不能与论坛的公告同步
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-21 19:09 , Processed in 0.149596 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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