代码拉取完成,页面将自动刷新
<?php
include_once 'config.php';
include_once 'user_head.php';
include_once 'ad_head.php';
include_once 'search_head.php';
include_once 'config.php';
include_once 'user_head.php';
include_once 'user_right.php';
include_once 'userinfo_head.php';
include_once 'foot.php';
header("Content-Type: text/html; charset=UTF-8");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
error_reporting(E_ERROR | E_WARNING | E_PARSE);
$authStatus = "1000";
if ($user_id > 0) {
$client = new SoapClient($GLOBAL_REMOTE_API); //开始调用接口
$user_head_parms = array("userProxyId" => $user_id);
$user_head_result = $client->userGetInfo($user_head_parms); //Response->Result
//获取用户信息
$userGetInfoResult = $user_head_result->userGetInfoResult;
$userGetInfoResultArray = json_decode($userGetInfoResult, TRUE);
//开始解析
//获取用户信息
$userGetInfo_totalCount = $userGetInfoResultArray[0]['totalCount'];
$userGetInfo_success = $userGetInfoResultArray[0]['success'];
$userGetInfo_data = $userGetInfoResultArray[0]['data'];
if ($userGetInfo_totalCount > 0 && $userGetInfo_success == true) {
$ProxyName = $userGetInfo_data[0]['ProxyName'];
$phoneNumber = $userGetInfo_data[0]['phoneNumber'];
$authStatus = $userGetInfo_data[0]['authStatus'];
}
}
if ($authStatus == "") {
$authStatus = 0;
}
//输出模板
$filename = "apply_improvement.html";
$file = @fopen($filename, "r");
if ($file) {
$contents = @fread($file, filesize($filename));
$contents = str_replace("{\$userId}", $user_id, $contents);
$contents = str_replace("{\$ProxyName}", $ProxyName, $contents);
$contents = str_replace("{\$phoneNumber}", $phoneNumber, $contents);
$contents = str_replace("{\$ad_head_html}", $ad_head_html, $contents);
$contents = str_replace("{\$search_head_html}", $search_head_html, $contents);
$contents = str_replace("{\$right_user}", $right_user, $contents);
$contents = str_replace("{\$authStatus}", $authStatus, $contents);
$contents = str_replace("{\$user_head_html}", $user_head_html, $contents);
$contents = str_replace("{\$userright_html}", $userright_html, $contents);
$contents = str_replace("{\$userinfo_head_html}", $userinfo_head_html, $contents);
$contents = str_replace("{\$foot_html}", $foot_html, $contents);
echo $contents;
fclose($file);
}
?>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。