4 function gender_selector($current="",$suffix="") {
5 $select = array('','Male','Female','Other');
7 $o .= "<select name=\"gender$suffix\" id=\"gender-select$suffix\" size=\"1\" >";
8 foreach($select as $selection) {
9 $selected = (($selection == $current) ? ' selected="selected" ' : '');
10 $o .= "<option value=\"$selection\" $selected >$selection</option>";
17 function marital_selector($current="",$suffix="") {
18 $select = array('','Single', 'Lonely', 'Available', 'Unavailable', 'Dating', 'Unfaithful', 'Sex Addict', 'Friends', 'Friends/Benefits', 'Casual', 'Engaged', 'Married', 'Partners', 'Cohabiting', 'Happy', 'Not Looking', 'Swinger', 'Betrayed', 'Separated', 'Unstable', 'Divorced', 'Widowed', 'Uncertain', 'Complicated', 'Don\'t care', 'Ask me' );
20 $o .= "<select name=\"marital[]\" id=\"marital-select\" multiple=\"multiple\" size=\"2\" >";
21 foreach($select as $selection) {
22 $selected = (($selection == $current) ? ' selected="selected" ' : '');
23 $o .= "<option value=\"$selection\" $selected >$selection</option>";
30 //function birthday_selector($current = '') {
31 // if($current && (strlen($current)