示例#1
0
session_start();
require_once 'twitteroauth/twitteroauth.php';
require_once 'config/config.php';
require_once 'config/db.php';
require_once 'lib/user.php';
require_once 'lib/follower.php';
require_once 'lib/following.php';
require_once 'lib/follower2.php';
require_once 'lib/following2.php';
require_once 'lib/centroid.php';
$db = new db();
$user_dao = new User_dao();
$user = $user_dao->getAll();
$Centroid_Dao = new Centroid_dao();
$centroid = $Centroid_Dao->getAll();
$Following_Dao = new Following_Dao();
$similarity = $Following_Dao->get();
//$cluster = $Following_dao->get
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>MyTwit</title>
<style type="text/css">
<!--
body {
	background-image: url(images/bg.gif);
}
.style3 {