3 function can_write_wall(&$a,$owner) {
4 if((! (local_user())) && (! (remote_user())))
6 if((local_user()) && ($_SESSION['uid'] == $owner))
9 $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `id` = %d AND `blocked` = 0",
11 intval($_SESSION['visitor_id'])