function sms_send($mob, $content) { global $webdb; if ($webdb[fetion_id] && $webdb[fetion_pwd] && in_array($mob, explode("\r\n", $webdb[fetion_friend]))) { $url = "http://sms.api.bz/fetion.php?username={$webdb['fetion_id']}&password={$webdb['fetion_pwd']}&sendto={$mob}&message={$content}"; $msg = sockOpenUrl($url); die("{$msg}-{$url}"); return 1; } elseif ($webdb[sms_type] == 'eshang8') { $url = "http://http.chinasms.com.cn/tx/?uid={$webdb['sms_es_name']}&key=" . strtolower(md5($webdb[sms_es_key])) . "&msg={$content}&phone={$mob}&smskind=1"; if (!($msg = sockOpenUrl($url))) { //$msg=file_get_contents($url); } if ($msg === '') { return 0; } elseif ($msg === '100') { return 1; //·¢Ëͳɹ¦ } else { return $msg; } } elseif ($webdb[sms_type] == 'winic') { $url = "http://service.winic.org/sys_port/gateway/?id={$webdb['sms_wi_id']}&pwd={$webdb['sms_wi_pwd']}&to={$mob}&content={$content}&time="; if (!($msg = sockOpenUrl($url))) { //$msg=file_get_contents($url); } if ($msg === '') { return 0; } $detail = explode("/", $msg); if ($detail[0] === '000') { return 1; //·¢Ëͳɹ¦ } else { return $detail[0]; } } elseif ($webdb[sms_type] == 'ccell') { if (WEB_LANG != 'utf-8') { $content = gbk2utf8($content); } $url = "http://server4.chineseserver.net:9801/CASServer/SmsAPI/SendMessage.jsp?userid={$webdb['sms_ccell_id']}&password={$webdb['sms_ccell_pwd']}&destnumbers={$mob}&msg={$content}&sendtime="; if (!($msg = file_get_contents($url))) { //$msg=file_get_contents($url); } if ($msg === '') { return 0; } if (strstr($msg, 'messages="1"')) { return 1; //·¢Ëͳɹ¦ } else { return $msg; } } else { showerr("ϵͳûÓÐÑ¡Ôñ¶ÌÐŽӿÚƽ̨!"); } }
} if (eregi("^dzbbs", $webdb[passport_type]) && $webdb[passport_TogetherLogin]) { @(include ROOT_PATH . "{$webdb['passport_path']}/config.inc.php"); if ($cookiedomain != $webdb[cookieDomain]) { echo '<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />'; echo "<CENTER><A HREF='index.php?lfj=center&job=config' style='color:red;font-size:25px;'>严重警告,你设置的“COOKIE域名”有误,请点击重新设置,你必须跟论坛保持一致,如果论坛设置,那么整站也要设置,如果论坛不设置,整站也不能设置,必须要保持一致.否则同步登录会不成功</A></CENTER>"; exit; } } if ($webdb[SystemType] && is_file("map.php")) { //考虑独立版分类 require_once "map.php"; } require dirname(__FILE__) . "/" . "template/map.htm"; require dirname(__FILE__) . "/" . "foot.php"; } elseif ($job == 'GetOfficialNotice') { $OfficialUrl2 = 'soft.com'; $OfficialUrl1 = 'www.qibo'; $files = read_file("template/map.htm"); if (!strstr($files, '$OfficialNotice') && filesize(ROOT_PATH . "cache/OfficialNotice.txt") > 9) { echo "<SCRIPT LANGUAGE='JavaScript'>\n\t\t\t<!--\n\t\t\tfunction openwindows(){\n\t\t\t\twindow.open('http://{$OfficialUrl1}{$OfficialUrl2}/OfficialNotice.php?E={$qibosoft_Edition}&upgrade_Record={$webdb['upgrade_Record']}');\n\t\t\t\t}\n\t\t\topenwindows();\n\t\t\t//-->\n\t\t</SCRIPT>"; } if (!@copy("http://{$OfficialUrl1}{$OfficialUrl2}/OfficialNotice.php?E={$qibosoft_Edition}&upgrade_Record={$webdb['upgrade_Record']}&U={$webdb['www_url']}&T=QY", ROOT_PATH . "cache/OfficialNotice.txt")) { if (!($OfficialNotice = file_get_contents("http://{$OfficialUrl1}{$OfficialUrl2}/OfficialNotice.php?E={$qibosoft_Edition}&upgrade_Record={$webdb['upgrade_Record']}&U={$webdb['www_url']}&T=QY"))) { $OfficialNotice = sockOpenUrl("http://{$OfficialUrl1}{$OfficialUrl2}/OfficialNotice.php?E={$qibosoft_Edition}&upgrade_Record={$webdb['upgrade_Record']}&U={$webdb['www_url']}&T=QY"); } write_file(ROOT_PATH . "cache/OfficialNotice.txt", $OfficialNotice); } exit; } phpinfo();
jump("修改成功", $FROMURL, 1); } elseif ($job == 'ask') { if ($webdb[cnzz_id] && $webdb[cnzz_pwd]) { echo "<META HTTP-EQUIV=REFRESH CONTENT='0;URL=index.php?lfj=cnzz&job=set'>"; exit; } $mydomain = preg_replace("/http:\\/\\/([^\\/]+)\\/(.*)/is", "\\1", $WEBURL); hack_admin_tpl('ask'); } elseif ($action == 'ask') { if (!$mydomain) { showmsg("域名不能为空"); } $key = md5("{$mydomain}A4bkJUxm"); $url = "http://intf.cnzz.com/user/companion/php168.php?domain={$mydomain}&key={$key}"; if (ini_get('allow_url_fopen') && ($code = file_get_contents($url))) { } elseif ($code = sockOpenUrl($url)) { } if (!strstr($code, '@')) { echo '<meta http-equiv="Content-Type" content="text/html; charset=gb2312">'; if ($code == '-1') { die("KEY值有误"); } elseif ($code == '-2') { die("域名长度有误(1~64)"); } elseif ($code == '-3') { die("域名输入有误"); } elseif ($code == '-4') { die("域名插入数据库有误"); } elseif ($code == '-5') { echo "同一个IP,用户申请次数过多<hr>"; } else { echo $code;