<?php
ob_start();
if($_GET['ajax'])
{
header("Cache-Control:no-cache,must-revalidate");
header("Content-type:text/html;charset= utf-8");
header("Content-Type: text/plain; charset=gb2312");
$content = @file_get_contents("http://www.ishare.la/readme/".$_GET['ajax']."/".$_GET['type'].".txt");
echo $content;
exit;
}
error_reporting(7);
define('IC_ROO', substr(__FILE__, 0, -9));
//初始化安装的定义
require_once './install.inc.php';
if(INSTALL_CLIENT)
{
require_once IC_ROOT.'/ic_client/plugin/'.INSTALL_CLIENT.'/install.inc.php';
}
require_once IC_ROOT.'/ic_client/client.php';
require_once IC_ROOT.'/ic_client/install/install.lang.php';
if(!function_exists('file_put_contents')) {
function file_put_contents($filename,$data){
$fp=fopen($filename,"wb");
fwrite($fp,$data);
fclose($fp);
}
}
$step=getgpc('step');
if(empty($upwd))
{
$step = $_GET['step'];
}
if(empty($step))
{
$step = 'step0';
}
install_header();
install_menuer($step);
echo '<DIV id=center>';
echo '<DIV id=squeeze>';
echo '<DIV class=right-corner>';
echo '<DIV class=left-corner>';
echo '<H2>'.$lang[$step].'</H2>';
echo '<DIV class=clear-block>';
if($step=='step3')
{
$pass = TRUE;
$dirs = array('../data');
$result = array();
if(function_exists('mysql_connect')) {
$result['mysql'] = '<td class="w pdleft1">'.$lang['supportted'].'</td>';
} else {
$result['mysql'] = '<td class="nw pdleft1">'.$lang['unsupportted'].'</td>';
$pass = FALSE;
}
if(PHP_VERSION > '4.3.0') {
$result['phpversion'] = '<td class="w pdleft1">'.PHP_VERSION.'</td>';
} else {
$result['phpversion'] = '<td class="nw pdleft1">'.PHP_VERSION.'</td>';
$pass = FALSE;
}
if(@ini_get(file_uploads)) {
$max_size = @ini_get(upload_max_filesize);
$result['upload'] = '<td class="w pdleft1">'.$lang['max_size'].$max_size.'</td>';
} else {
$result['upload'] = '<td class="nw pdleft1">'.$lang['unsupportted'].'</td>';
$pass = FALSE;
}
$curr_disk_space = intval(diskfreespace('.') / (1024 * 1024)).'M';
if($curr_disk_space > 10) {
$result['diskfree'] = '<td class="w pdleft1">'.$curr_disk_space.'</td>';
} else {
$result['diskfree'] = '<td class="nw pdleft1">'.$curr_disk_space.'</td>';
$pass = FALSE;
}
?>
<div class="main">
<table class="tb" style="">
<tr>
<th><?php echo $lang['project'];?></th>
<th class="padleft"><?php echo $lang['ucenter_required'];?></th>
<th class="padleft"><?php echo $lang['ucenter_best'];?></th>
<th class="padleft"><?php echo $lang['curr_server'];?></th>
</tr>
<tr>
<td><?php echo $lang['os'];?></td>
<td class="padleft"><?php echo $lang['unlimit'];?></td>
<td class="padleft">UNIX/Linux/FreeBSD</td>
<td class="padleft"><?php echo PHP_OS;?></td>
</tr>
<tr>
<td>PHP <?php echo $lang['version'];?></td>
<td class="padleft">4.3.0+</td>
<td class="padleft">5.0.0+</td>
<?php echo $result['phpversion'];?>
</tr>
<tr>
<td><?php echo $lang['attach_upload'];?></td>
<td class="padleft"><?php echo $lang['allow'];?></td>
<td class="padleft"><?php echo $lang['allow'];?></td>
<?php echo $result['upload'];?>
</tr>
<tr>
<td>MySQL <?php echo $lang['supportted'];?></td>
<td class="padleft">MySQL4.0+</td>
<td class="padleft">MySQL5.0+</td>
<?php echo $result['mysql'];?>
</tr>
<tr>
<td><?php echo $lang['disk_free'];?></td>
<td class="padleft">10M+</td>
<td class="padleft"><?php echo $lang['unlimit'];?></td>
<?php echo $result['diskfree'];?>
</tr>
</table>
<h2 class="title"><?php echo $lang['priv_check'];?></h2>
<table class="tb" style="">
<tr>
<th><?=$lang['step1_file']?></th>
<th class="padleft"><?=$lang['step1_need_status']?></th>
<th class="padleft"><?=$lang['step1_status']?></th>
</tr>
<?
// if(!file_exists(IC_ROO.'../config.inc.php')) {
// $fp = @fopen(IC_ROO.'../config.inc.php', 'w');
// @fclose($fp);
// }
foreach($dirs as $dir) {
$iswritable = is_writable(IC_ROO.'/'.$dir);
$pass == TRUE && !$iswritable && $pass = FALSE;
echo '<tr><td>'.$dir.'</td><td class="w pdleft1">'.$lang['writeable'].'</td><td'.($iswritable ? ' class="w pdleft1">'.$lang['writeable'] : ' class="nw pdleft1">'.$lang['unwriteable']).'</td></tr>';
}
?>
</table>
<h2 class="title"><?php echo $lang['func_depend'];?></h2>
<table class="tb" style="">
<tr>
<th><?php echo $lang['func_name'];?></th>
<th class="padleft"><?php echo $lang['check_result'];?></th>
<th class="padleft"><?php echo $lang['suggestion'];?></th>
</tr>
<?php
$functions = array('mysql_connect'=>FALSE, 'fsockopen'=>FALSE, 'gethostbyname'=>FALSE, 'file_get_contents'=>FALSE, 'xml_parser_create'=>FALSE);
$advices = array(
'mysql_connect' => $lang['advice_mysql'],
'fsockopen' => $lang['advice_fopen'],
//'gethostbyname' => '服务器 DNS 解析可能有问题,请联系空间商,确定 DNS 解析没有问题',
'file_get_contents' => $lang['advice_file_get_contents'],
'xml_parser_create' => $lang['advice_xml'],
);
foreach($functions as $name=>$status) {
if($name == 'fsockopen') {
$status = @fsockopen('www.ishare.la', 80, $errno, $errstr, 15) || @fsockopen('ishare.la', 80, $errno, $errstr, 15);
} else {
$status = function_exists($name);
}
$status = function_exists($name);
if(!$status) {
$pass = FALSE;
}
echo '<tr><td>'.$name.'()</td>'.($status ? '<td class="w pdleft1">'.$lang['supportted'].'</td>' : '<td class="nw pdleft1">'.$lang['unsupportted'].'</td>').($status ? '<td class="padleft">'.$lang['none'].'</td>' : '<td><font color="red">'.$advices[$name].'</font></td>').'</tr>';
}
?>
</table>
<?php
echo '<form action="./?step=step4" method="post">';
//echo $hidden;
if($pass) {
$nextstep = ' <input type="button" onclick="history.back();" value="'.$lang['old_step'].'"> <input type="submit" value="'.$lang['new_step'].'">';
} else {
$nextstep = ' <input type="button" disabled="disabled" value="'.$lang['step1_unwriteable'].'">';
}
echo '<div class="btnbox marginbot"> '.$nextstep.'</div>';
echo '</form>';
}
elseif($step=='step4')
{
if(!isset($client))
{
$client = 'iCenter';
}
$msg = getgpc('msg', 'P');
if(file_exists(IC_CONFIG))
{
unlink(IC_CONFIG);
}
if(file_exists(IC_ROOT.'/ic_client/data/shield_word.txt'))
{
unlink(IC_ROOT.'/ic_client/data/shield_word.txt');
}
?>
<div class="main">
<div id="errormsg" class="errormsg"> </div>
<form name="registform" action="./?step=step5" method="post" onsubmit="return check_registform(this);">
<?
if($msg)
{
?>
<div class="desc">
<ul>
<?=$msg?>
</ul>
</div>
<?
}
$arrs=get_all_floders('../plugin');//遍历文件夹
?>
<table class="tb2">
<tr>
<td><?=$lang['step2_dbhost']?>:</td>
<td><input name="username" type="text" class="txt" value="<?=$HTTP_COOKIE_VARS["iCenter_User"]?>" /> 没有帐号?<a href="http://www.ishare.la/reg.html" target="_blank">注册</a></td>
</tr>
<tr>
<td><?=$lang['step2_dbname']?>:</td>
<td><input name="password" type="password" class="txt" value="<?=$HTTP_COOKIE_VARS["iCenter_Passwd"]?>" /></td>
</tr>
<tr>
<td><?=$lang['step2_dbuser']?>:</td>
<td><input name="npassword" type="password" class="txt" value="<?=$HTTP_COOKIE_VARS["iCenter_passwd"]?>" /></td>
</tr>
<tr>
<td><?=$lang['step2_dbpw']?>:</td>
<td><select name="ucharset"><option value="gbk">GBK</option><option value="utf-8">UTF-8</option><option value="gb2312">GB2312</option></select></td>
</tr>
<tr>
<td><?=$lang['step2_tablepre']?>:</td>
<td><select name="synchronous"><option value="1">开启</option><option value="0">关闭</option></select></td>
</tr>
<tr>
<td>问答应用:</td>
<td><select name="iASK"><option value="1">开启</option><option value="0
没有合适的资源?快使用搜索试试~ 我知道了~
[论坛社区]互联网网站即时通信平台 v1.3.1 简体中文_ic_client.rar
共86个文件
php:55个
png:12个
gif:8个
0 下载量 198 浏览量
2024-04-12
01:38:06
上传
评论
收藏 163KB RAR 举报
温馨提示
【项目资源】:包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。【项目质量】:所有源码都经过严格测试,可以直接运行。功能在确认正常工作后才上传。【适用人群】:适用于希望学习不同技术领域的小白或进阶学习者。可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。【附加价值】:项目具有较高的学习借鉴价值,也可直接拿来修改复刻。对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。【沟通交流】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。鼓励下载和使用,并欢迎大家互相学习,共同进步。
资源推荐
资源详情
资源评论
收起资源包目录
[论坛社区]互联网网站即时通信平台 v1.3.1 简体中文_ic_client.rar (86个子文件)
[论坛社区]互联网网站即时通信平台 v1.3.1 简体中文_ic_client
ic_client
api.php 9KB
lib
uccode.class.php 5KB
index.htm 1B
xml.class.php 3KB
base.php 20KB
client.php 9KB
data
index.htm 0B
cache
index.htm 0B
install
index.php 28KB
install.lang.php 9KB
images
style.css 32KB
tree-bottom.png 976B
tree.png 979B
dialogclose2.gif 13KB
bg-bar-white.png 110B
logo.gif 2KB
progress.gif 790B
bg-content.png 485B
defaults.css 3KB
loading.gif 355B
bg-content-left.png 3KB
ajax_loading.gif 875B
logo.png 4KB
maintenance.css 502B
qq.gif 1KB
iLogo.png 51KB
bg-content-right.png 3KB
task-list.png 128B
system-menus.css 1KB
menu-leaf.gif 175B
minnelli.css 220B
system.css 13KB
watchdog-ok.png 3KB
print.css 3KB
gradient-inner.png 189B
throbber.gif 1KB
body.png 712B
div.js 11KB
install.inc.php 376B
show.php 338B
index.php 211B
plugin
cyask_3.1
get.php 4KB
post.php 334B
install.php 7KB
install.inc.php 226B
iCenter
get.php 94B
post.php 0B
install.php 0B
install.inc.php 208B
discuz_7.0.0
get.php 4KB
post.php 4KB
install.php 7KB
install.inc.php 233B
dedecms_5.1
get.php 6KB
post.php 257B
install.php 6KB
install.inc.php 221B
mypic_1.32
get.php 1KB
post.php 403B
install.php 7KB
install.inc.php 232B
PHPWind_v6.3.2
get.php 4KB
post.php 3KB
install.php 7KB
install.inc.php 238B
discuz_6.0.0
get.php 4KB
post.php 4KB
install.php 7KB
install.inc.php 240B
piccms_1.25
get.php 3KB
post.php 234B
install.php 5KB
install.inc.php 232B
discuz_6.1.0
get.php 4KB
post.php 4KB
install.php 7KB
install.inc.php 237B
dvbbs_php
read.php 442B
get.php 4KB
post.php 250B
install.php 380B
PHPWind_7.0
get.php 4KB
post.php 3KB
install.php 6KB
install.inc.php 231B
error.php 2KB
共 86 条
- 1
资源评论
小肥羊k
- 粉丝: 2046
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功