Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- class myproject extends project
- {
- public function gantt($projectID, $type = '')
- {
- if (empty($type)) {
- $type = $this->cookie->ganttType;
- if (empty($type)) {
- $type = 'type';
- }
- }
- setcookie('ganttType', $type, $this->config->cookieLife, $this->config->webRoot, '', false, true);
- $project = $this->commonAction($projectID);
- $projectID = $project->id;
- $this->project->setMenu($this->project->getPairs(), $projectID);
- $users = $this->loadModel('user')->getPairs('noletter');
- $userList = [];
- foreach ($users as $account => $realname) {
- $user = [];
- $user['key'] = $account;
- $user['label'] = $realname;
- $userList[] = $user;
- }
- $this->view->userList = $userList;
- $ganttColor = [];
- foreach ($this->lang->task->priList as $priKey => $priValue) {
- $ganttColor[$priKey] = zget($this->lang->project->gantt->color, $priKey, '');
- if (empty($ganttColor[$priKey])) {
- .............................................................................
- ....................................................
- ...............................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement