$this->t->set_block('par_view_t','header_list','list1');
$this->t->set_block('par_view_t','indiv_list','list2');
$this->t->set_block('par_view_t','header_list','list1');
$this->t->set_block('par_view_t','indiv_list','list2');
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
//print "year: $year month: $month quarter_start: $quarter_start quarter_end: $quarter_end<br>";
// create the individual id -> individual name mapping
//print "year: $year month: $month quarter_start: $quarter_start quarter_end: $quarter_end<br>";
// create the individual id -> individual name mapping
$sql = "SELECT * FROM tc_indiv where valid=1 ORDER BY name ASC";
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
$sql = "SELECT * FROM tc_indiv where valid=1 ORDER BY name ASC";
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
$this->t->set_var('district_number','*');
$this->t->set_var('district_name',$president_name);
$this->t->set_var('district_number','*');
$this->t->set_var('district_name',$president_name);
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
else if($current_month >= 7 && $current_month <= 9) { $current_month=9; }
else if($current_month >= 10 && $current_month <= 12) { $current_month=12; }
else if($current_month >= 7 && $current_month <= 9) { $current_month=9; }
else if($current_month >= 10 && $current_month <= 12) { $current_month=12; }
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$i=0;
while ($this->db->next_record())