Category : twitter-bootstrap

public function showPerformance($staff_id,$term_id,$year){ //$staff_id="ST00236"; $data[‘subjectdata’]=$this->scores_mdl->getSubjectData($staff_id,$term_id,$year); $data[‘term’]=$term_id; $data[‘year’]=$year; $data[‘staff_id’]=$staff_id; $data[‘view’]="view_performance"; $data[‘module’]="scores"; echo Modules::run(‘templates/main’, $data); } public function getPerformanceData($staff_id,$term_id,$year,$subject_id){ $reports=$this->scores_mdl->getPerformance($staff_id,$term_id,$year,$subject_id); return $reports; //print_r($reports); } public function staffData($staff_id,$term_id,$year){ //$this->db->distinct(‘scores.term_id’); $this->db->where("scores.year",$year); $this->db->where("scores.term_id",$term_id); $this->db->where(‘scores.staff_id’,$staff_id); //$this->db->join("staff","staff.staff_id=scores.staff_id"); $this->db->join("indicators","indicators.indicator_id=scores.indicator_id"); $this->db->join("subjects","subjects.subject_id=scores.subject_id"); $this->db->join("classes","classes.class_id=scores.class_id"); //$this->db->join("terms","terms.term_id=scores.term_id"); //$this->db->group_by(‘scores.term_id,scores.year’); $query = $this->db->get($this->table); return $query->result(); } line 28 is here: <?php echo $subjectdata[1]->year; ?> Sourc..

Read more

I have a ‘bootstrap list group item’. I am trying to create a link inside the link area. The code below works: // THIS CODE WORKS // <a href="" class="list-group-item list-group-item-action active text-white rounded-0"> // — JUST A BUNCH OF HTML COMES HERE — // <i class="fa fa-trash" aria-hidden="true" onclick="window.open(‘?delete=<?=$x?>’,’_self’);return false;"></i> </a> Now what I ..

Read more

I’m working on a single page website, it used to work with a lot of pages. Currently, I have a collapse for every page in my index. My header has the links to show every one of these collapse. <div class="container"> <div class="collapse" id="collapseRevisar"><?php include ‘revisar.php’; ?></div> <div class="collapse" id="collapseRevisados"><?php include ‘revisado.php’ ?></div> <div class="collapse" ..

Read more