<!--{assign var="menu_id" value="party"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}--> 
<body class="bg_body">
  <!--{include file="<!--{$oetplpath}-->widget/block_top.tpl"}-->
  <div class="w1200 mt30 clearfix mb30">
    <!--{include file="<!--{$oetplpath}-->block_menu.tpl"}-->
    <div class="fr" style="width: 1020px;">
      <div class="bg_f plr40 pt30 bsb">
        <h3 class="fz24 mb20">我的活动</h3>
        <!--{if empty($party)}-->
          <div class="oe_nodata">
            <p class="p_1"><img src="<!--{$userskin}-->images/nodata.jpg" /></p>
            <p class="p_2">你还没有报名活动， 快去看看都有什么活动吧。</p>
            <p class="btn mt15">
              <a href="<!--{$urlpath}-->index.php?c=party" class="inline_block plr30 br30 ptb10 fz15 color_f bo_main bg_main">看看都有哪些活动</a>
            </p>
          </div>
        <!--{else}-->
        <div class="list">
          <!--{foreach $party as $volist}-->
          <div class="item clearfix ptb20">
            <a href="<!--{$volist.url}-->" target="_blank">
              <div class="cover oh fl pr" style="width: 190px;height: 118px;">
                <img class="ob_c" src="<!--{$volist.thumbimg}-->">
                <div class="pa lb w100per color_f bg_tran_5 fz12 t_center">
                  <!--{if $volist.endtime < time()}-->
                  活动已结束
                  <!--{elseif $volist.starttime < time() && $volist.endtime > time()}-->
                  活动进行中
                  <!--{elseif $volist.starttime > time()}-->
                  活动待开始
                  <!--{/if}-->
                </div>
              </div>
            </a>
            <div class="info fl ml15">
              <h3><a href="<!--{$volist.url}-->" ><!--{$volist.title}--></a></h3>
              <div class="text fz12">
                <div class="color_main">活动LOVEID：<!--{$volist.loveid}--></div>
                <div class="color_9">
                  地点：<!--{area type="text" value=$volist.area1}--> <!--{area type="text" value=$volist.area2}--> <!--{area type="text" value=$volist.area3}--> <!--{$volist.address}-->
                </div>
                <div class="color_">
                  活动时间：<!--{$volist.starttime|date_format:"Y-m-d H:i"}--> - <!--{$volist.endtime|date_format:"Y-m-d H:i"}-->
                </div>
                <div class="color_9">
                  状态：<!--{if $volist.status == '1'}-->
                  <span class="color_green">报名成功，审核通过</span>
                  <!--{elseif $volist.status == '2'}-->
                  <font color="red">已取消报名</font>
                  <!--{else}-->
                  报名成功，等待审核
                  <!--{/if}-->
                </div>
              </div>
            </div>
            <div class="fr t_center" style="margin-top: 22px;">
              <!--{if $volist.amount > 0}-->
              <span class="fee">报名费用：￥10</span>
              <!--{else}-->
              <span>免费</span>
              <!--{/if}-->
              <div class="btn_box mt10">
                <!--{if $volist.endtime > time()}-->
                  <!--{if $volist.amount > 0}-->
                    <!--{if $volist.payflag == "1"}-->
                      <!--{if $volist.status == "2"}-->
                        <!--{if $volist.refundflag == '2'}-->
                        <button class="bg_de bo_eb color_f fz16 plr20 ptb5 br30 cursor">退款成功</button>
                        <!--{elseif $volist.refundflag == '3'}-->
                        <button class="bg_de bo_eb color_f fz16 plr20 ptb5 br30 cursor">退款失败</button>
                        <!--{elseif $volist.refundflag == '1'}-->
                        <button class="bg_de bo_eb color_f fz16 plr20 ptb5 br30 cursor">退款中</button>
                        <!--{/if}-->
                      <!--{else}-->
                      <button class="bg_de bo_eb color_f fz16 plr20 ptb5 br30 cursor">已支付，报名成功</button>
                      <!--{/if}-->
                    <!--{else}-->
                      <!--{if  $volist.status != '2'}-->
                      <button class="bg_main bo_main color_f fz16 plr20 ptb5 br30 cursor"  f="but_party_pay_submit" data-id="<!--{$volist.bmid}-->" data-partyid="<!--{$volist.partyid}-->">支付</button>
                      <!--{else}-->
                      <button class="bg_de bo_eb color_f fz16 plr20 ptb5 br30 cursor">已取消报名</button>
                      <!--{/if}-->
                    <!--{/if}-->
                  <!--{/if}-->
                <!--{else}-->
                  <button class="bg_de bo_eb color_f fz16 plr20 ptb5 br30 cursor">活动已结束</button>
                <!--{/if}-->
              </div>
            </div>
          </div>
          <!--{/foreach}-->
        </div>
        <!--{/if}-->
      </div>
    </div>
  </div>


  <!--{include file="<!--{$uctplpath}-->widget/block_footer.tpl"}-->
  <script src="<!--{$urlpath}-->tpl/static/pcui/js/oeui.min.js"></script>
  <script src="<!--{$oetplpath}-->js/party.js"></script>
</body>
</html>