application/models/Dashboard_model.php
/*check if what theme is in used*/
check if what theme is in used
check if what theme is in used
public function selectTheme(){
			$this->db->where("themeused.status", "used");
			$ret = $this->db->get("themeused");
			return $ret->row_array();
		 }
public function selectTheme ( ) { $ this -> db -> where ( " themeused.status " , " used " ) ; $ ret = $ this -> db -> get ( " themeused " ) ; return $ ret -> row_array ( ) ; }
check if what theme is in used
check if what theme is in used