
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf8" />
  <title>金币管理系统 -soku.cc IO源码站</title>
  <link href="/Public/index/css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
 <style type="text/css">
  img{max-height:300px;_width:expression(this.height > 300 ? "300px" : this.height);}
</style>
 <link href="/Public/umeditor/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="/Public/umeditor/third-party/jquery.min.js"></script>
    <script type="text/javascript" src="/Public/umeditor/third-party/template.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/Public/umeditor/umeditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/Public/umeditor/umeditor.min.js"></script>
    <script type="text/javascript" src="/Public/umeditor/lang/zh-cn/zh-cn.js"></script>
  <div class="divtb">
    <form class="form" name="form" action="__CONTROLLER__/task_tj" method="post" >
    <input type='hidden' name='at_id' value="{$detail.at_id}"/>
      <table width="100%" border="0" cellpadding="5" cellspacing="0" class="tb">
       <tr class="bg1">
        <td width="84" align="left" class="bj1">佣金</td>
        <td width="170" class="bg1">
          <strong class="tx7">{$detail.yongj}</strong> 元
        </td>
        <td width="84" class="bj1">押金</td>
        <td width="170"><strong class="tx7">{$detail.yaj}</strong> 金币</td>
        <td width="70" align="left" class="bj1">接单要求</td>
        <td><strong class="tx7">{$detail.jiej}</strong> 金币</td>
      </tr>
      <tr class="bg1">
        <td width="84" align="left" class="bj1">规定完成时间</td>
        <td width="170" class="bg1"><strong class="tx7">{$detail.gdtime}</strong> 分钟</td>
        <td width="84" class="bj1">任务总量</td>
        <td width="170"><strong class="tx7">{$detail.total}</strong> 个</td>
        <td width="70" align="left" class="bj1">任务类型</td>
        <td><strong class="tx7">{$detail.type}</strong></td>
      </tr>
      <tr class="bg1">
        <td align="left" class="bj1"><span class="tx7">任务要求</span></td>
        <td colspan=5><?php echo html_entity_decode($detail['ask']);?></td>
      </tr>
      <tr class="bg1">
        <td align="left" class="bj1"><span class="tx7">任务链接</span></td>
        <td colspan=5><strong class="tx7">{$detail.link}</strong></td>
      </tr>

      <tr class="bg1">
        <td align="left" class="bj1"><span class="tx7">任务提交</span></td>
        
        <td colspan=5>
          <if condition="$detail.shenhe eq 1 or $detail.shenhe eq 3 or $detail.shenhe eq 4">
            <?php echo html_entity_decode($detail['content']);?>
          <else />
          <script type="text/plain" id="myEditor" name='content' style="height:300px;height:300px;">
            </script>
            <script type="text/javascript">
            //实例化编辑器
            var um = UM.getEditor('myEditor');
            um.addListener('blur',function(){
              $('#focush2').html('编辑器失去焦点了')
            });
            um.addListener('focus',function(){
              $('#focush2').html('')
            });
          </script>
       </if>
      </td>      
      </tr>
      <tr class="bg1">
        <td colspan=6 style="text-align: center;">
          <if condition="$detail.shenhe eq 0 or $detail.shenhe eq 2">
            <input type="submit" name="button" class="ext_btn ext_btn_submit" value="提交"> 
          </if>
        <input type="button" name="button" class="ext_btn ext_btn_error" onclick="javascript:history.go(-1);" value="返回"> 
      </td>
    </tr>

  </table>
</form>
</div>
</body>
</html>