|
|
@ -91,7 +91,7 @@ class PrimeLinePrice_model extends CI_Model {
|
|
|
|
$this->cli_grade ? $sql.=$this->cli_grade : false;
|
|
|
|
$this->cli_grade ? $sql.=$this->cli_grade : false;
|
|
|
|
$this->orderby ? $sql.=$this->orderby : false;
|
|
|
|
$this->orderby ? $sql.=$this->orderby : false;
|
|
|
|
|
|
|
|
|
|
|
|
$query = $this->HT->query($sql,array($this->config->item('site_code'),$this->cli_no));
|
|
|
|
$query = $this->HT->query($sql,array(14,$this->cli_no));
|
|
|
|
if ($this->topnum === 1) {
|
|
|
|
if ($this->topnum === 1) {
|
|
|
|
if ($query->num_rows() > 0) {
|
|
|
|
if ($query->num_rows() > 0) {
|
|
|
|
$row = $query->row();
|
|
|
|
$row = $query->row();
|
|
|
|