<?php
require "admin_globals.php";
require "admin_check.php";
$bbsarray=array(
'dz20' => 'Discuz!2.0',
'dz22' => 'Discuz!2.2',
'pw20' => 'phpwind2.0',
'ip13' => 'IPB1.3',
'pb208' => 'PHPBB2.0.8',
'vbb23' => 'VBB2.3.4',
);
function checked($str1,$str2)
{
if ($str1==$str2)
{
$info = "checked";
}
else
{
$info = "";
}
return $info;
}
function namedir($str)
{
switch ($str)
{
case 'search' : $return='信息查询 模板组';break;
case 'common' : $return='公用文件 模板组';break;
case 'company' : $return='企业用户控制 模板组';break;
case 'personal' : $return='个人用户控制 模板组';break;
case 'html' : $return='生成html文件模板组 模板组';break;
case 'view' : $return='信息详情 模板组';break;
case 'header' : $return='静态文件 头体 模板组';break;
case 'center' : $return='静态文件 主体 模板组';break;
case 'footer' : $return='静态文件 脚体 模板组';break;
}
return $return;
}
function write_yes($filename)
{
$return=!file_exists($filename) ? $filename.' <font color=\'#ff0000\'>不存在,请通过 FTP 上传此文件.</font>' : (!is_writable($filename) ? $filename.' <font color=\'#ff0000\'>不可写,请通过 FTP 将此文件属性设成 0777 可写.</font>' : ' <font color=\'#6699cc\'>成功</font>');
return $return;
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="robots" content="index,follow">
<meta name="keywords" content="毕业生,毕业生就业,毕业生找工作,大学生论坛,培训,测评,素质测评,人才资讯,毕业生,兼职,人才、管理论坛,广告....好工作、好人才 尽在大河人才网">
<meta name="generator" content="毕业生,毕业生就业,毕业生找工作,大学生论坛,培训,测评,素质测评,人才资讯,毕业生,兼职,人才、管理论坛,广告....好工作、好人才 尽在大河人才网">
<meta name="description" content="J_Space - Powered by 158jobs.com 寂寞游侠">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
<title><?php echo $webtitle;?></title>
<link href="images/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
color: #FF0000;
font-weight: bold;
}
-->
</style>
</head>
<body>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="18" height="16" align="right" valign="bottom"><img src="images/left_top.gif" width="18" height="16"></td>
<td align="center" valign="bottom" background="images/row_top.gif"></td>
<td width="14" align="left" valign="bottom"><img src="images/right_top.gif" width="14" height="16"></td>
</tr>
<tr>
<td align="right" background="images/left_bg.gif"> </td>
<td align="center" valign="middle" background="images/main_bg.gif">
<?
if ($HTTP_POST_VARS['save_config'])
{
if (!is_writeable('../config.inc.php')) {echo clickback('config.inc.php 文件没有可写入的权限!');}
else
{
$tablepre=addslashes($HTTP_POST_VARS['tablepre']);
$bbstype = addslashes($HTTP_POST_VARS['bbstype']);
$bbspre=addslashes($HTTP_POST_VARS['bbspre']);
$adminemail=addslashes($HTTP_POST_VARS['adminemail']);
$webtitle=addslashes($HTTP_POST_VARS['webtitle']);
$cookpath=addslashes($HTTP_POST_VARS['cookpath']);
$cookdomain=addslashes($HTTP_POST_VARS['cookdomain']);
$fp = fopen('../config.inc.php', 'r');
$configfile = fread($fp, filesize('../config.inc.php'));
fclose($fp);
$configfile = preg_replace("/[$]tablepre\s*\=\s*[\"'].*?[\"']/is", "\$tablepre = '$tablepre'", $configfile);
$configfile = preg_replace("/[$]bbstype\s*\=\s*[\"'].*?[\"']/is", "\$bbstype = '$bbstype'", $configfile);
$configfile = preg_replace("/[$]bbspre\s*\=\s*[\"'].*?[\"']/is", "\$bbspre = '$bbspre'", $configfile);
$configfile = preg_replace("/[$]adminemail\s*\=\s*[\"'].*?[\"']/is", "\$adminemail = '$adminemail'", $configfile);
$configfile = preg_replace("/[$]webtitle\s*\=\s*[\"'].*?[\"']/is", "\$webtitle = '$webtitle'", $configfile);
$configfile = preg_replace("/[$]cookpath\s*\=\s*[\"'].*?[\"']/is", "\$cookpath = '$cookpath'", $configfile);
$configfile = preg_replace("/[$]cookdomain\s*\=\s*[\"'].*?[\"']/is", "\$cookdomain = '$cookdomain'", $configfile);
$fp = fopen('../config.inc.php', 'w');
fwrite($fp, trim($configfile));
fclose($fp);
echo refreshback('操作成功');
echo showmsg('config.php?action=config','2');
echo endhtml();
echo wwwwanenet();
exit;
}
}
else if ($HTTP_POST_VARS['save_env'])
{
if (!is_writeable('../common/system.php')) {echo clickback('../common/system.php 文件不可写');exit;}
else
{
$tpldir = $HTTP_POST_VARS['tpldir'];
$htmltpldir = $HTTP_POST_VARS['htmltpldir'];
$imgdir = $HTTP_POST_VARS['imgdir'];
$htmlroot = $HTTP_POST_VARS['htmlroot'];
$charset = $HTTP_POST_VARS['charset'];
$tablewidth = $HTTP_POST_VARS['tablewidth'];
$gzip_info = $HTTP_POST_VARS['gzip_info'];
$process_info = $HTTP_POST_VARS['process_info'];
$online_info = $HTTP_POST_VARS['online_info'];
$onlinetime = $HTTP_POST_VARS['onlinetime'];
$mailreg = $HTTP_POST_VARS['mailreg'];
$cookieway = $HTTP_POST_VARS['cookieway'];
$cookietime = $HTTP_POST_VARS['cookietime'];
$sendjob_time = $HTTP_POST_VARS['sendjob_time'];
$sendfind_time = $HTTP_POST_VARS['sendfind_time'];
$sendhunterjob_time = $HTTP_POST_VARS['sendhunterjob_time'];
$sendhunterfind_time = $HTTP_POST_VARS['sendhunterfind_time'];
$sign_putfind = $HTTP_POST_VARS['sign_putfind'];
$sign_putjob = $HTTP_POST_VARS['sign_putjob'];
$sign_comhunter = $HTTP_POST_VARS['sign_comhunter'];
$sign_perhunter = $HTTP_POST_VARS['sign_perhunter'];
$sign_pxschool = $HTTP_POST_VARS['sign_pxschool'];
$sign_lesson = $HTTP_POST_VARS['sign_lesson'];
$fp = fopen('../common/system.php', 'r');
$configfile = fread($fp, filesize('../common/system.php'));
fclose($fp);
$configfile = preg_replace("/[$]tpldir\s*\=\s*[\"'].*?[\"']/is", "\$tpldir = '$tpldir'", $configfile);
$configfile = preg_replace("/[$]htmltpldir\s*\=\s*[\"'].*?[\"']/is", "\$htmltpldir = '$htmltpldir'", $configfile);
$configfile = preg_replace("/[$]imgdir\s*\=\s*[\"'].*?[\"']/is", "\$imgdir = '$imgdir'", $configfile);
$configfile = preg_replace("/[$]htmlroot\s*\=\s*[\"'].*?[\"']/is", "\$htmlroot = '$htmlroot'", $configfile);
$configfile = preg_replace("/[$]charset\s*\=\s*[\"'].*?[\"']/is", "\$charset = '$charset'", $configfile);
$configfile = preg_replace("/[$]tablewidth\s*\=\s*[\"'].*?[\"']/is", "\$tablewidth = '$tablewidth'", $configfile);
$configfile = preg_replace("/[$]gzip_info\s*\=\s*[\"'].*?[\"']/is", "\$gzip_info = '$gzip_info'", $configfile);
$configfile = preg_replace("/[$]process_info\s*\=\s*[\"'].*?[\"']/is", "\$process_info = '$process_info'", $configfile);
$configfile = preg_replace("/[$]online_info\s*\=\s*[\"'].*?[\"']/is", "\$online_info = '$online_info'", $configfile);
$configfile = preg_replace("/[$]onlinetime\s*\=\s*[\"'].*?[\"']/is", "\$onlinetime = '$onlinetime'", $configfile);
$configfile = preg_replace("/[$]mailreg\s*\=\s*[\"'].*?[\"']/is", "\$mailreg = '$mailreg'", $configfile);
$configfile = preg_replace("/[$]cookieway\s*\=\s*[\"'].*?[\"']/is", "\$cookieway = '$cookieway'", $configfile);
$configfile = preg_replace("/[$]cookietime\s*\=\s*[\"'].*?[\"']/is", "\$cookietime = '$cookietime'", $configfile);
$configfile = preg_replace("/[$]sendjob_time\s*\=\s*[\"'].*?[\"']/is", "\$sendjob_time = '$sendjob_time'", $configfile);
$configfile = preg_replace("/[$]sendfind_time\s*\=\s*[\"'].*?[\"']/is", "\$sendfind_time = '$sendfind_time'", $configfile);
$configfile = preg_replace("/[$]sendhunterjob_time\s*\=\s*[\"'].*?[\"']/is", "\$sendhunterjob_time = '$sendhunterjob_time'", $configfile);
$configfile = preg_replace("/[$]sendhunterfind_time\s*\=\s*[\"'].*?[\"']/is", "\$sendhunterfind_time = '$sendhunterfind_time'", $config
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
J_Space 寂寞游侠修改美化加强版 (481个子文件)
style.css 2KB
style.css 2KB
Thumbs.db 46KB
Thumbs.db 44KB
Thumbs.db 41KB
Thumbs.db 36KB
Thumbs.db 9KB
Thumbs.db 8KB
Thumbs.db 5KB
Thumbs.db 5KB
Thumbs.db 5KB
Thumbs.db 5KB
Thumbs.db 5KB
Thumbs.db 5KB
Thumbs.db 5KB
20041201bNKUL.exe 36KB
index_07.gif 52KB
index_05.gif 46KB
middle_adv.gif 45KB
showimg.gif 45KB
index_08.gif 42KB
index_06.gif 39KB
count_top.gif 23KB
index_03.gif 20KB
index_04.gif 16KB
index_04.gif 16KB
fd.gif 13KB
index_01.gif 11KB
left_march2.gif 10KB
logo.gif 7KB
index_02.gif 5KB
la.gif 4KB
la.gif 4KB
reg_com.gif 3KB
water.gif 2KB
small_top.gif 2KB
news-top.gif 2KB
managecomhunter.gif 2KB
putcomhunter.gif 2KB
manageschool.gif 2KB
registerschool.gif 2KB
managepx.gif 2KB
putpx.gif 2KB
putperhunter.gif 2KB
manageperhunter.gif 2KB
comphoto.gif 2KB
prc.gif 2KB
prc.gif 2KB
px_top.gif 2KB
contactinfo.gif 2KB
putteacher.gif 2KB
news_index.gif 2KB
zgz.gif 2KB
zgz.gif 2KB
findteacher.gif 1KB
law_index.gif 1KB
teacher_job.gif 1KB
center_top.gif 1KB
hunterreciver.gif 1KB
teacher_find.gif 1KB
job_way.gif 1KB
center_top.gif 1KB
school.gif 1KB
putjob.gif 1KB
comhunter.gif 1KB
lesson.gif 1KB
chpwd.gif 1KB
basicinfo.gif 1KB
managejob.gif 1KB
teacher_manage.gif 1KB
infohunter.gif 1KB
putfind.gif 1KB
managefind.gif 1KB
forjob.gif 1KB
otherinfo.gif 1KB
peixun_put.gif 1KB
peixun_manage.gif 1KB
comtext.gif 1KB
perhunter.gif 1KB
perinfo.gif 1KB
favourite.gif 1KB
myphoto.gif 1KB
send.gif 1KB
control.gif 1KB
reciver.gif 1KB
left.gif 1KB
more.gif 1KB
right.gif 1KB
center_top.gif 1KB
mainad_top.gif 996B
menu_type.gif 994B
mainad_bg.gif 899B
center.gif 874B
bg1.gif 817B
mainad_down.gif 785B
reg_per.gif 525B
center_down.gif 479B
center_down.gif 479B
center_down.gif 479B
center_down.gif 479B
共 481 条
- 1
- 2
- 3
- 4
- 5
资源评论
普通网友
- 粉丝: 882
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功