0) { if ($page != 7) // page 7 has open ended (text) answers, not simple metrics { // question 3 and 8 on page 6 are open ended answers, the rest are metrics if ($page == 6) { if (($item == 3) || ($item == 8)) {$survey_answer = mysql_result($survey_item_result,0,"open_answer");} else { // Page 6: radio button selections $page6_radio_answer = mysql_result($survey_item_result,0,"metric"); switch ($item) { case 1: if ($page6_radio_answer == 1) {$survey_answer = "Be more appreciative and loving myself";} if ($page6_radio_answer == 2) {$survey_answer = "Wonder what is going on";} if ($page6_radio_answer == 3) {$survey_answer = "Tell my partner or myself that I donít deserve it";} if ($page6_radio_answer == 4) {$survey_answer = "Thank my partner";} if ($page6_radio_answer == 5) {$survey_answer = "Other";} break; case 2: if ($page6_radio_answer == 1) {$survey_answer = "Be more appreciative and loving to me";} if ($page6_radio_answer == 2) {$survey_answer = "Wonder what is going on";} if ($page6_radio_answer == 3) {$survey_answer = "Tells me that he/she doesnít deserve it";} if ($page6_radio_answer == 4) {$survey_answer = "Thanks me";} if ($page6_radio_answer == 5) {$survey_answer = "Other";} break; case 4: if ($page6_radio_answer == 1) {$survey_answer = "Argue with her/him until I 'win'";} if ($page6_radio_answer == 2) {$survey_answer = "Leave the scene";} if ($page6_radio_answer == 3) {$survey_answer = "Listen and talk together to solve the issue";} if ($page6_radio_answer == 4) {$survey_answer = "Shut down and go quiet";} if ($page6_radio_answer == 5) {$survey_answer = "Give in to whatever he/she wants or says";} if ($page6_radio_answer == 6) {$survey_answer = "Other";} break; case 5: if ($page6_radio_answer == 1) {$survey_answer = "Argue until he/she 'wins'";} if ($page6_radio_answer == 2) {$survey_answer = "Leave the scene";} if ($page6_radio_answer == 3) {$survey_answer = "Listen and talk together to solve the issue";} if ($page6_radio_answer == 4) {$survey_answer = "Shut down and go quiet";} if ($page6_radio_answer == 5) {$survey_answer = "Give in to whatever I want or say";} if ($page6_radio_answer == 6) {$survey_answer = "Other";} break; case 6: if ($page6_radio_answer == 1) {$survey_answer = "He/She doesnít love me";} if ($page6_radio_answer == 2) {$survey_answer = "He/She doesnít understand me";} if ($page6_radio_answer == 3) {$survey_answer = "A situation we really need to and can figure out";} if ($page6_radio_answer == 4) {$survey_answer = "He/She is 'just upset again'";} if ($page6_radio_answer == 5) {$survey_answer = "He/She is right to be upset with me";} if ($page6_radio_answer == 6) {$survey_answer = "He/She is the problem";} if ($page6_radio_answer == 7) {$survey_answer = "Other";} break; case 7: if ($page6_radio_answer == 1) {$survey_answer = "Not good enough";} if ($page6_radio_answer == 2) {$survey_answer = "Not loveable enough";} if ($page6_radio_answer == 3) {$survey_answer = "Smart enough to figure this out with him/her";} if ($page6_radio_answer == 4) {$survey_answer = "A hero/heroine because I put up with this";} if ($page6_radio_answer == 5) {$survey_answer = "A target for his/her issues";} if ($page6_radio_answer == 6) {$survey_answer = "Never going to please him/or her anyway";} if ($page6_radio_answer == 7) {$survey_answer = "Other";} break; } // current page (from the report we want text returned, from survey - the metric) if ($_SERVER['PHP_SELF'] == "/survey/page6.php") {$survey_answer = $page6_radio_answer;} } // 3 and 8 } // page 6 else {$survey_answer = mysql_result($survey_item_result,0,"metric");} } else {$survey_answer = mysql_result($survey_item_result,0,"open_answer");} } else {$survey_answer = "";} return $survey_answer; } // Get the number of days remaining in a person's survey period function get_days_remaining($partner_key) { $survey_date_query = "SELECT end_date FROM survey_partnership WHERE partner1_fkey = '".$partner_key."' OR partner2_fkey = '".$partner_key."'"; $survey_date_result = mysql_query($survey_date_query); $survey_end_date = mysql_result($survey_date_result,0,"end_date"); $unix_endtime = strtotime($survey_end_date); // convert survey partnership end date to unix time $unix_todaytime = strtotime(date("Y-m-d")); // convert today to unix time $diff = $unix_endtime - $unix_todaytime; $days_remaining = floor($diff / (24 * 60 * 60)); // convert from seconds to days return $days_remaining; } ?> Ci2i Survey: What Ci2i Is and Is Not

 

WHAT Ci2i for Couples IS and WHAT IT IS NOT:

IS:

Ci2i Couples Communication Tool Kit
Building Trust Accounts: Worksheets and information for awareness and building trust in your partnership.
Loving to Listen: Listening skills for couples.
Gimme Some Feedback: Make it a point to ask for and appreciate honest feedback from your partner, friends, and family.
Conflict, What Conflict? Recognizing that conflict is normal and that it can actually be used to strengthen relationships is a valuable concept.

 

IS NOT: