about | feed sex | statistics | help | privacy

Sex Centre

require_login(); $old = SexExtract($fb->api_client->profile_getFBML($user)); // if 'update' then the form has been self-referencing submitted if(isset($_POST['update'])) { $pos = $_POST['update']; // change the box $box = '
'. 'sex centre'. '
'. '
'. ''. '
'; try { $fb->api_client->profile_setFBML(null, $user, $box, null, null, $box); } catch(FacebookRestClientException $e) { echo '

FacebookRestClientException (oh no!): '.$e->getMessage().'

'; } // update stats SexLoad(); SexChange($old, $pos); SexSave(); $old = $pos; } // echo pos'n if(isset($old)) { echo '

'. '
'; } else { echo '

No position selected.

'; } // menu echo '
'; SexInterface(); echo '
'; ?>