View file templates/web/community/community_index_body.tpl

File size: 2.79Kb
<!-- BEGIN groups -->
{GROUPS_L}{CREATE_LINK}
<div class="tab">{L_ALL_GROUPS} ({TOTAL})</div>
<!-- END groups -->
<!-- BEGIN group -->
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
  <tr>
    <td valign="top">
<!-- END group -->

     <table width="100%" cellspacing="2" cellpadding="1" border="0" align="center">
     <!-- BEGIN switch_groups_remaining -->
      <tr>
       <td class="row1" width="120" align="center">{switch_groups_remaining.GROUP_LOGO}</td>
       <td class="{switch_groups_remaining.ROW_CLASS}">
           <span class="cattitle"><a href="{switch_groups_remaining.GROUP_URL}">{switch_groups_remaining.GROUP_NAME}</a></span><br/>
           <span class="genmed">{switch_groups_remaining.GROUP_DESC}<br/>
           <!-- BEGIN joined -->
           {GROUP_MEMBERSHIP_DETAILS}: {switch_groups_remaining.joined.GROUP_PENDING}<br/>         
           <!-- END joined -->
           {L_GROUP_TYPE}: {switch_groups_remaining.GROUP_TYPE}<br/>
           Модер: {switch_groups_remaining.GROUP_MOD}</span><br/>
          {switch_groups_remaining.GROUP_EDIT} 
       </td>
     </tr>    
    <!-- END switch_groups_remaining -->
    </table>
    <!-- BEGIN switch_no_groups -->
    <div class="row1">{switch_no_groups.NO_GROUPS}</div>
    <!-- END switch_no_groups -->  
      
    <!-- BEGIN shout -->
    <div class="tab"><span class="cattitle">Стена</span></div>
    <!-- BEGIN quick -->
    <form action="{S_GROUPCP_CHAT_ACTION}" method="post" name="post">
    {S_HIDDEN_FORM_FIELDS}
     <div class="row1">{ERROR_MESSAGE}
       <textarea name="message" rows="2" cols="40" tabindex="3">{shout.quick.MESSAGE}</textarea>
       <br/><input type="submit" name="submit" value="Отправить" class="subbutton" />    
       </div>
    </form> 
    <!-- END quick --> 
    <!-- BEGIN shoutrow -->
    <div class="{shout.shoutrow.ROW_CLASS}"><span class="cattitle">{shout.shoutrow.NUMBER}. {shout.shoutrow.POSTER}</span> [{shout.shoutrow.USER_POSTS}] {shout.shoutrow.QUOTE}{shout.shoutrow.EDIT}{shout.shoutrow.DELETE}<br/>
     {shout.shoutrow.TIME}<br/>{shout.shoutrow.SHOUT_TEXT}<br/>	
    </div>
    <!-- END shoutrow -->
    <!-- END shout --> 
    
<!-- BEGIN group -->        
    </td>
    <td valign="top" width="100">
     <div class="row1"><span class="cattitle"><a href="{group.U_GROUP_MEMBERS}">{group.L_GROUP_MEMBERS}</a></span>
      <table width="100%" cellspacing="2" cellpadding="1" border="0" align="center">
      <!-- BEGIN user -->
      <tr>
         <td class="{group.user.ROW_CLASS}">{group.user.USER_AVATAR}</td>
         <td class="{group.user.ROW_CLASS}">{group.user.USER}({group.user.USER_POSTS})<br/>{L_JOINED}: {group.user.USER_REGDATE}</td>
      </tr>
      <!-- END user -->
      </table>
     </div> 
    </td>
  </tr>
</table> 
<!-- END group -->
{PAGINATION}