{php} //最新 $taskcountnew=$this->GetMysqlArray('tid,subject,money,endtime,process,draft_number,url,draft_success,credit,total,addmoney'," ".$this->GetTable('task')." WHERE process>3 AND process!=8 AND process!=9 AND appid!=82 $citysql ORDER BY topbid DESC,dateline DESC LIMIT 0,15"); //500元以上 $taskcount500=$this->GetMysqlArray('tid,subject,money,endtime,process,draft_number,draft_success,credit,url,total,addmoney'," ".$this->GetTable('task')." WHERE money>=800 AND process>3 AND process!=5 AND process!=6 AND appid!=82 $citysql ORDER BY topbid DESC,dateline DESC LIMIT 0,15"); //24小时 $nowdate=@date("Y-m-d"); $today=strtotime("$nowdate 0:00:00"); $time=$this->NowTime()+(24*60*60); $taskcount24=$this->GetMysqlArray('tid,subject,url,money,endtime,process,draft_number,draft_success,credit,total,addmoney'," ".$this->GetTable('task')." WHERE process>3 AND process!=8 AND process!=9 AND appid!=82 $citysql AND endtime>='$today' AND endtime<='$time' ORDER BY topbid DESC,dateline DESC LIMIT 0,10"); {/php} {ad TaskCount73}
{if $taskcountnew} {for $taskcountnew $key=>$value} {/for} {else} {/if}
赏金 标题 投稿/中标 诚信
¥{if $value['price1']>0}{echo $value['price1']}-{echo $value['price2']}{else}{echo $value['money']}{/if} {echo $value['subject']} {if $value['addmoney']>0} +{echo $value['addmoney']}{/if} {echo $value['draft_number']}/{echo $value['draft_success']} {if $value['credit']==1}保证选标{elseif $value['credit']==2}看情况选标{/if}
暂时没有任务!
{if $taskcount500} {for $taskcount500 $key=>$value} {/for} {else} {/if}
赏金 标题 投稿/中标 诚信
¥{if $value['price1']>0}{echo $value['price1']}-{echo $value['price2']}{else}{echo $value['money']}{/if} {echo $value['subject']} {if $value['addmoney']>0} +{echo $value['addmoney']}{/if} {echo $value['draft_number']}/{echo $value['draft_success']} {if $value['credit']==1}保证选标{elseif $value['credit']==2}看情况选标{/if}
暂时没有任务!
    {if $taskcount24} {for $taskcount24 $key=>$value} {php} $day=($value['endtime']-$this->NowTime())/ (60 * 60);{/php} {if intval($day)>0}
  • {if intval($day)} 剩{echo intval($day)}小时 {else} 剩{echo intval($day*24)}分 {/if}

    ¥{echo $value['money']} {echo $this->str($value['subject'],32)}

  • {/if} {/for} {else}
  • 暂时没有任务!
  • {/if}