Ejemplo n.º 1
0
 static function task_time_desc($status, $end_time)
 {
     global $_lang;
     $end_time_arr = keke_glob_class::get_taskstatus_desc();
     $now_time = time();
     $desc_time = $end_time - $now_time;
     $desc_time > 0 and $sy_time = kekezu::timeMaxUnits($desc_time);
     if ($status == 8) {
         return '已结束';
     }
     if ($sy_time) {
         return $sy_time . '后' . $end_time_arr[$status]['desc'];
     }
     return $end_time_arr[$status]['desc'];
 }
Ejemplo n.º 2
0
        }
    }
}
$page and $intPage = intval($page);
$strUrl = "index.php?do=tasklist";
$m and $strUrl .= "&m=" . $m;
$s and $strUrl .= "&s=" . $s;
$r and $strUrl .= "&r=" . $r;
$i and $strUrl .= "&i=" . $i;
$pd and $strUrl .= "&pd=" . $pd;
$o and $strUrl .= "&o=" . $o;
$p and $strUrl .= "&p=" . intval($p);
$ky and $strUrl .= "&ky=" . $ky;
$intPage and $strUrl .= "&intPage=" . $intPage;
$intPagesize and $strUrl .= "&intPagesize=" . intval($intPagesize);
$arrTaskTimeDesc = keke_glob_class::get_taskstatus_desc();
$arrPayitemConfig = PayitemClass::getPayitemConfig(null, null, null, 'item_id');
$pd and $arrIndusPInfo = kekezu::get_indus_info($pd);
$i and $arrIndusInfo = kekezu::get_indus_info($i);
$arrTaskNavs = TaskClass::getEnabledTaskModelList();
if ($m) {
    $arrTaskStatus = call_user_func(array($arrTaskNavs[$m]['model_code'] . "_task_class", "get_task_status"));
}
$arrCashCoves = TaskClass::getTaskCashCove();
$arrModelLabel = array(0 => '未知', 1 => '单人', 2 => '多人', 3 => '计件', 4 => '招标', 5 => '订金', 6 => '文件', 7 => '服务');
$arrCityInfo = CommonClass::getDistrictById($p);
$arrDisplaypro = CommonClass::getDistrictByPid('0', 'id,upid,name');
$objTaskT = keke_table_class::get_instance('witkey_task');
$strWhere = " 1=1 ";
$intPage = intval($intPage) ? $intPage : 1;
$intPagesize = intval($intPagesize) ? $intPagesize : 20;