public function __construct($task_info) { global $_K; parent::__construct($task_info); $this->_task_url = "<a href=\"{$_K['siteurl']}/index.php?do=task&id={$this->_task_id}\">{$this->_task_title}</a>"; $this->init(); }
public function __construct($task_info) { global $_K; parent::__construct($task_info); $siteurl = preg_replace("/localhost/i", "127.0.0.1", $_K['siteurl'], 1); $this->_task_url = $siteurl . '/index.php?do=task&id=' . $this->_task_id; $this->_notice_url = "<a href=\"{$this->_task_url}\">{$this->_task_title}</a>"; $this->init(); }
public function __construct($task_info) { parent::__construct($task_info); $this->_task_status == '6' || $this->_task_status == '8' and $this->_agree_id = db_factory::get_count(sprintf(" select agree_id from %switkey_agreement where task_id='%d'", TABLEPRE, $this->_task_id)); $this->init(); }
public function __construct($task_info) { parent::__construct($task_info); $this->init(); }