Esempio n. 1
0
echo empty_to_stripe(text_to_html($profile["homepage"]));
?>
</td>
		</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td colspan="2">
		<br />
		<?php 
$ab_module = $GO_MODULES->get_module('addressbook');
if ($ab_module && ($GO_SECURITY->has_permission($GO_SECURITY->user_id, $ab_module['acl_read']) || $GO_SECURITY->has_permission($GO_SECURITY->user_id, $ab_module['acl_write']))) {
    require_once $ab_module['path'] . 'classes/addressbook.class.inc';
    $ab = new addressbook();
    if (!$ab->user_is_contact($GO_SECURITY->user_id, $_REQUEST['id'])) {
        $button = new button($cmdAdd, "document.location='" . $ab_module['url'] . "contact.php?user_id=" . $_REQUEST['id'] . "&return_to=" . urlencode($link_back) . "';");
        echo '&nbsp;&nbsp;';
    }
}
$button = new button($cmdClose, "javascript:document.location='" . $return_to . "'");
?>
		</td>
	</tr>
	</table>
	</td>
</tr>
</table>
<?php 
require $GO_THEME->theme_path . "footer.inc";
?>