<?php //user account $user = 'pride';
//curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://7just7.com/'.$user); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $site = curl_exec($ch); curl_close($ch);
require_once ("class.parser_7just7.php"); $parser = new Parser7just7($site);
print "Name: ".$parser->getName()."\n"; print "Alter: ".$parser->getAlter()."\n"; print "Wohnort: ".$parser->getWohnort()."\n"; print "Land: ".$parser->getLand()."\n"; print "Mitglied seit: ".$parser->getMemberSince()."\n"; print "Online Status: ".$parser->getOnlineStatus()."\n"; print "Bildlink: ".$parser->getPic()."\n"; print "Anzahl Freunde: ".$parser->getFriendsNum()."\n"; //print_r($parser->getFriendsName())."\n"; print "Letzer Besuch: ".$parser->getLastVisit()."\n"; print "Millionen Counter: ".$parser->getMillionCounter()."\n"; ?>
|