<?php //载入个人信息 $logUser = new userProfile($pdo); $usercls = $logUser->loadProfile($_SESSION['userid']); //载入粉丝/关注列表 $focls = new followCls($pdo); //$folist=$focls->loadFollow($_SESSION['userid']); ?> <maincontent> <div class="user-card"> <div class="left-info"> <div class="content-head-card"> <h3>动态<span class="user-id" id="id-user"><?php echo $usercls->getUid(); ?> </span></h3> </div> <div id="main-sharing-card-id"></div> <div class="refresh-column" id="main-card-sharing-more" onclick="getSharing()">更多</div> </div> <div class="right-info"> <div class="user-background"> <img src="<?php echo $usercls->getBackground(); ?>
<?php require "functions/config.php"; $userAccount = testInput($_GET['people']); //初始化个人信息 $user = new userProfile($pdo); $usercls = $user->loadProfile($userID); if ($userID = $user->userIsExist($userAccount)) { //初始化关注/粉丝数据信息 $focls = new followCls($pdo); //初始化个人分享 $shacls = new sharingCls($pdo); $shalist = $shacls->loadSharing($userID[0]); if (!empty($_SESSION)) { $pageTitle = "{$userAccount} - 探索"; } else { header("Location:index.php"); } require "includes/header.php"; ?> <div class="people-user-background-detail"> <div class="people-user-heading"> <div class="people-user-heading-left"> <img src="user/ivydom/background-blur.jpg" alt="i<?php echo $usercls->getName(); ?> " width="260" height="265"> <div class="people-user-heading-left-detail"> <div class="people-user-photo"> <img src="<?php