X-Git-Url: http://git.pippins.net/embedvideo/.git/static/%27.%20%24this-%3Ephpgw_js_url.%20%27/jscalendar/calendar-win2k-cold-1.css?a=blobdiff_plain;f=inc%2Fclass.tc.inc.php;h=b57856160c79ba01143957b2aad9c8e9db739e0e;hb=8abee5d598cfb1b52e0d1b929db6dc6c33f5bddd;hp=13fd2d54c45bc88abb7d19ebde4f1b65db64fcd1;hpb=2170507af3edb44973e565d117499b6fd9c61e14;p=eq%2F.git diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php index 13fd2d5..b578561 100644 --- a/inc/class.tc.inc.php +++ b/inc/class.tc.inc.php @@ -1748,17 +1748,17 @@ class tc } // Save any changes made to the int notes table - $new_data = get_var('int_notes',array('POST')); + $new_data = get_var('hti_notes',array('POST')); foreach ($new_data as $entry) { - $int_notes = $entry['notes']; + $hti_notes = $entry['notes']; $indiv_id = $entry['indiv_id']; $indiv_name = $entry['indiv_name']; - $int_pri = $entry['pri']; - //print "int_notes: $int_notes indiv_name: $indiv_name
"; + $hti_pri = $entry['pri']; + //print "hti_notes: $hti_notes indiv_name: $indiv_name
"; // Perform database save actions here $this->db->query("UPDATE tc_indiv set " . - " int_notes='" . $int_notes . "'" . - ",int_pri='" . $int_pri . "'" . + " hti_notes='" . $hti_notes . "'" . + ",hti_pri='" . $hti_pri . "'" . " WHERE indiv=" . $indiv_id,__LINE__,__FILE__); } @@ -1902,14 +1902,14 @@ class tc $indiv_id = $this->db2->f('indiv'); $indiv_name = $this->db2->f('name'); $indiv_phone[$indiv_id] = $this->db2->f('phone'); - $indiv_int_pri[$indiv_id] = $this->db2->f('int_pri'); - $indiv_int_notes[$indiv_id] = $this->db2->f('int_notes'); + $indiv_hti_pri[$indiv_id] = $this->db2->f('hti_pri'); + $indiv_hti_notes[$indiv_id] = $this->db2->f('hti_notes'); } $id = $indiv_id; $name = $indiv_name; $phone = $indiv_phone[$id]; - $int_pri = $indiv_int_pri[$id]; - $int_notes = $indiv_int_notes[$id]; + $hti_pri = $indiv_hti_pri[$id]; + $hti_notes = $indiv_hti_notes[$id]; // If the companionship has already had its quarterly interview, // Skip the other companion in the companionship. @@ -1917,7 +1917,7 @@ class tc $completed_data.= "$name"; $completed_data.= "$phone"; $completed_data.= "$date"; - $completed_data.= "$int_notes"; + $completed_data.= "$hti_notes"; $completed_data.= ''; $tr_color2 = $this->nextmatchs->alternate_row_color($tr_color2); $this->t->set_var('tr_color2',$tr_color2); @@ -1948,10 +1948,10 @@ class tc $table_data.= "$name"; $table_data.= "$phone"; $table_data.= ""; - $table_data.= ''; foreach(range(0,6) as $num) { if($num == 0) { $num = 1; } else {$num = $num*5; } - if($int_pri == $num) { + if($hti_pri == $num) { $selected[$num] = 'selected="selected"'; } else { $selected[$num] = ''; @@ -1960,9 +1960,9 @@ class tc } $table_data.= ''; $table_data.= "$date"; - $table_data.= ''; - $table_data.= ''; - $table_data.= ''; + $table_data.= ''; + $table_data.= ''; + $table_data.= ''; $table_data.= ''; $table_data.= ''."\n"; $i++; @@ -1977,12 +1977,12 @@ class tc $comps_with_quarterly_int++; $int_completed=1; $date = $this->db2->f('date'); - $int_notes = $this->db2->f('notes'); - if(strlen($int_notes) > 40) { $int_notes = substr($int_notes,0,40) . "..."; } + $hti_notes = $this->db2->f('notes'); + if(strlen($hti_notes) > 40) { $hti_notes = substr($hti_notes,0,40) . "..."; } $completed_data.= "$name"; $completed_data.= "$phone"; $completed_data.= "$date"; - $completed_data.= "$int_notes"; + $completed_data.= "$hti_notes"; $completed_data.= ''; } }