<!doctype html>
<html>
    <head>
    <title>我的活动 - <!--{$curMenu}--> - <!--{TO->cfg key="site_name" group="basic" default="iWeibo2.0"}--></title>
    <!--{include file="common/style.tpl"}-->
    </head>
    <body>
    <!--{include file="common/header.tpl"}-->
    <div class="wrapper content">
        <div class="contentleft fleft">
        <div class="tabbar">
            <ul class="tabs">
                <li class="tab "><a href="/event/index">热门推荐</a></li>
                <li class="tab active"><strong href="/event/myevent">我的活动</strong></li>
            </ul>
        </div>
        <div class="eventmenu" align="right">
                <em class="icon_mess"></em> <A href="/event/myjoin">我参与的</a> |
                <em class="icon_note"></em> <a href="/event/myevent/all/1">我发起的</a>
        </div>
        <!--{if $events}-->
        <!--{foreach key=k item=ent from=$events}-->
        <div class="activity">
            <div class="fleft userhead">
                <a href="/u/<!--{$ent.uname}-->"><img src="<!--{if $ent.pic}--><!--{$ent.pic}--><!--{else}--><!--{$_resource}-->resource/images/default_event.jpg<!--{/if}-->" width="100"/></a>
            </div>
            <div class="fright">
                <h1><a href="/event/view/id/<!--{$ent.id}-->"><!--{$ent.title}--></a></h1>
                <ul>
                    <li><strong>时间：</strong><!--{$ent.sdate}--> - <!--{$ent.edate}--></li>
                    <li><strong>地点：</strong><adress><!--{$ent.addr}--></adress></li>
                    <li class="fleft"><strong>发起者：</strong><a href="/u/<!--{$ent.host.name}-->" title="<!--{$ent.host.nick}-->(@<!--{$ent.host.name}-->)" target="_blank"><!--{$ent.host.nick}--></a></li>
                    <li class="fleft"><strong>联系方式：</strong><!--{$ent.phone}--></li>
                    <li class="fleft"><strong>状态：</strong><!--{$ent.statusText}--></li>
                    <li class="fleft"><strong>参加人数：</strong><a href="/event/members/id/<!--{$ent.id}-->" class="gray"><!--{$ent.joins}--></a> 人</li>
                    <li><strong>内容：</strong><!--{$ent.message}--></li>
                </ul>
            </div>
        </div>
        <div class="extra"></div>
        <!--{/foreach}-->
        <!--{else}-->
            <div class="norecord">暂无活动</div>
        <!--{/if}-->
        </div>
        <div class="contentright fright">
        <!--{include file="user/event_right_list.tpl"}-->
        </div>
    </div>
    <!--{include file="common/footer.tpl"}-->
    <script src="/resource/js/eventCommon.js"></script>
    </body>
</html>