require_once('include/datetime.php');
require_once("include/Scrape.php");
require_once("include/html2bbcode.php");
-require_once("include/Contact.php");
/*
* poco_load
$update = true;
if ($update) {
-
q("UPDATE `gcontact` SET `photo` = '%s', `name` = '%s', `nick` = '%s', `addr` = '%s', `network` = '%s',
`birthday` = '%s', `gender` = '%s', `keywords` = %d, `hide` = %d, `nsfw` = %d,
`alias` = '%s', `notify` = '%s', `url` = '%s',
$rr['generation'] = 2;
}
- if ($rr["avatar"] == "")
- $rr["avatar"] = $rr["photo"];
-
if (($rr['about'] == "") AND isset($rr['pabout']))
$rr['about'] = $rr['pabout'];
$entry['updated'] = date("c", strtotime($entry['updated']));
}
if($fields_ret['photos'])
- $entry['photos'] = array(array('value' => $rr['avatar'], 'type' => 'profile'));
+ $entry['photos'] = array(array('value' => $rr['photo'], 'type' => 'profile'));
if($fields_ret['network']) {
$entry['network'] = $rr['network'];
if ($entry['network'] == NETWORK_STATUSNET)