include_once("/editorial/global2/network/scripts/networkhd.php");
include_once("includes/config.php");
include_once("includes/global2/cm/scripts/CMconfig.php");
include_once("includes/global2/cm/scripts/class.CM.php");
include_once("includes/global2/cm/scripts/member.php");
?>
############### Questions
if($tquests > 0){
$r = 0;
$stars=0;
while ($qresult->next()) {
extract($qresult->row);
$tease .= "...";
?>
$stars=0;
}
}
else {
// no questions
?>
echo $screenname; ?> has not yet posted questions.
}
if($tquests > 5){
?>
}
else { ?>
}
?>
echo"$cat"; ?> Blog Entries
############### Blogs
if($tblogs > 0){
while ($bresult->next()) {
extract($bresult->row);
// clean out tags and chop the tease length
$tease = strip_tags($tease);
$wordz = str_word_count($tease, 2);
if(count($wordz) > 20){
$pos = array_keys($wordz);
$tease = substr($tease, 0, $pos[20]);
}
$tease .= '...';
?>
$stars=0;
}
}
else {
// no blogs
?>
echo $screenname; ?> has not yet posted blog entries.
}
if($tblogs > 5){
?>
}
else { ?>
}
?>
############### Photos
if($talbums > 0){
$stars=0;
while ($row = mysql_fetch_array($presult)) {
extract($row);
$latestpic = $photo_obj->latestPhoto($id);
$name = stripslashes(str_replace("+"," ",$name));
$showphoto = str_replace(".jpg","_136.jpg",$latestpic);
$picpath = $pics_base.$year."/".$month."/".$day."/".$reg_id."/".$showphoto;
?>
$stars=0;
}
}
else {
// no pics
?>
echo $screenname; ?> has not yet posted photos.
}
if($talbums > 5){
?>
}
else { ?>
}
?>
if($is_pro < 1){ ?>
}
else {
include("probloggers/{$reg_id}_twitter.html");
print"
";
}
?>
echo $screenname ?>'s Favorite Members
############### Favorite Members
if($tfavs > 0){
$tf=0;
while ($favsresult->next()) {
extract($favsresult->row);
$favs_avatar = $member->getAvatar($favs_id);
if(!file_exists($favs_avatar))
$favs_avatar = "includes/global2/cm/profiles/default.jpg";
?>
$tf++;
if($tf > 9)
break;
}
if($tf > 9){
print"
";
}
}
?>
echo $screenname ?> is favorited by
############### Favorited by
if(is_array($favedby_arr)){
foreach($favedby_arr as $fvdby_id => $fvdby_screen) {
?>
}
}
?>
include("includes/global2/cm/scripts/membertags.php"); ?>
include("includes/global2/cm/scripts/membercats.php"); ?>
include("includes/siteft.html"); ?>
include("includes/global2/network/networkft.html"); ?>