"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "controllers/crawllog.ctrl.php" between
seopanel.v.4.7.0.zip and seopanel.v.4.8.0.zip

About: Seo Panel is a seo control panel for managing search engine optimization of your websites.

crawllog.ctrl.php  (seopanel.v.4.7.0):crawllog.ctrl.php  (seopanel.v.4.8.0)
skipping to change at line 273 skipping to change at line 273
$catTypeSql = "select distinct mail_category from mail_logs"; $catTypeSql = "select distinct mail_category from mail_logs";
$catTypeList = $this->db->select($catTypeSql); $catTypeList = $this->db->select($catTypeSql);
$this->set('catTypeList', $catTypeList); $this->set('catTypeList', $catTypeList);
$fromTime = !empty($info['from_time']) ? $info['from_time'] : date('Y -m-d', strtotime('-30 days')); $fromTime = !empty($info['from_time']) ? $info['from_time'] : date('Y -m-d', strtotime('-30 days'));
$toTime = !empty($info['to_time']) ? $info['to_time'] : date('Y-m-d') ; $toTime = !empty($info['to_time']) ? $info['to_time'] : date('Y-m-d') ;
$this->set('fromTime', $fromTime); $this->set('fromTime', $fromTime);
$this->set('toTime', $toTime); $this->set('toTime', $toTime);
// sql created using param // sql created using param
$sql .= " $conditions and log_time >='$fromTime 00:00:00' and log_tim e<='$toTime 23:59:59' order by id DESC"; $sql .= " $conditions and log_time >='".addslashes($fromTime)." 00:00 :00' and log_time<='".addslashes($toTime)." 23:59:59' order by id DESC";
// pagination setup // pagination setup
$this->db->query($sql, true); $this->db->query($sql, true);
$this->paging->setDivClass('pagingdiv'); $this->paging->setDivClass('pagingdiv');
$this->paging->loadPaging($this->db->noRows, SP_PAGINGNO); $this->paging->loadPaging($this->db->noRows, SP_PAGINGNO);
$pagingDiv = $this->paging->printPages('log.php', 'listform', 'script DoLoadPost', 'content', '&sec=mail' ); $pagingDiv = $this->paging->printPages('log.php', 'listform', 'script DoLoadPost', 'content', '&sec=mail' );
$this->set('pagingDiv', $pagingDiv); $this->set('pagingDiv', $pagingDiv);
$sql .= " limit ".$this->paging->start .",". $this->paging->per_page; $sql .= " limit ".$this->paging->start .",". $this->paging->per_page;
$logList = $this->db->select($sql); $logList = $this->db->select($sql);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)