Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- BEGIN TEMPLATE index_flat.tpl -->
- <div class="nav">
- {IF URL->MARKVROOTREAD}
- <a onclick="return Phorum.markRead('vroots', {VROOT})" class="icon icon-tag-green" href="{URL->MARKVROOTREAD}">{LANG->MarkAllForumsRead}</a>
- {/IF}
- </div>
- <table cellspacing="0" class="list">
- {LOOP FORUMS}
- {IF FORUMS->level 0}
- <tr>
- {IF FORUMS->forum_id FORUMS->vroot}
- <th align="left">
- <img src="{URL->TEMPLATE}/images/folder.png" class="icon1616" alt="•" />
- {LANG->Forums}
- </th>
- {ELSE}
- <th align="left">
- <img src="{URL->TEMPLATE}/images/folder.png" class="icon1616" alt="•" />
- <a href="{FORUMS->URL->LIST}">{FORUMS->name}</a>
- </th>
- {/IF}
- <th>{LANG->Threads}</th>
- <th>{LANG->Posts}</th>
- <th align="left">{LANG->LastPost}</th>
- </tr>
- {ELSE}
- <tr>
- {IF FORUMS->folder_flag}
- <td colspan="4">
- <img src="{URL->TEMPLATE}/images/folder.png" class="icon1616" alt="•" />
- <a href="{FORUMS->URL->INDEX}">{FORUMS->name}</a><p>{FORUMS->description}</p>
- </td>
- {ELSE}
- <td width="55%">
- <h3><a href="{FORUMS->URL->LIST}">{FORUMS->name}</a>{IF FORUMS->new_message_check}<span class="new-flag[hide,{FORUMS->forum_id}]"> <span class="new-indicator">({LANG->NewMessages})</span></span>{/IF}</h3>
- <p>{FORUMS->description}</p>
- {IF FORUMS->URL->MARK_READ}<a class="icon icon-tag-green" href="{FORUMS->URL->MARK_READ}" onclick="return Phorum.markRead('forums', {FORUMS->forum_id})">{LANG->MarkForumRead}</a> {/IF}
- {IF FORUMS->URL->FEED}<a class="icon icon-feed" href="{FORUMS->URL->FEED}">{FEED}</a>{/IF}
- </td>
- <td align="center" width="12%" nowrap="nowrap">
- {FORUMS->thread_count}
- {IF FORUMS->new_threads}
- <span class="new-flag[hide,{FORUMS->forum_id}]">
- (<span class="new-flag">{FORUMS->new_threads} {LANG->newflag}</span>)
- </span>
- {/IF}
- </td>
- <td align="center" width="12%" nowrap="nowrap">
- {FORUMS->message_count}
- {IF FORUMS->new_messages}
- <span class="new-flag[hide,{FORUMS->forum_id}]">
- (<span class="new-flag">{FORUMS->new_messages} {LANG->newflag}</span>)
- </span>
- {/IF}
- </td>
- <td width="21%" nowrap="nowrap">
- {FORUMS->last_post}
- </td>
- {/IF}
- </tr>
- {/IF}
- {/LOOP FORUMS}
- </table>
- <!-- END TEMPLATE index_flat.tpl -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement