
Code:
- <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%" id="info_center">
-
- <tr>
- <td class="title1" colspan="2">
- <font size="2">
- <img src="http://www.idirectory.x10.mx/images/favicon.gif"> <strong>Users Online</strong>
- </font>
- </td>
- </tr>
- <tr>
- <td width="24px" class="window1">
- <img src="http://www.idirectory.x10.mx/images/forum/whosonline.gif" align="middle">
- </td>
- <td class="window2">
- <font size="1">
- In total there are {all_online_total} users online :: <a href="/action/members">{total_members}</a> registered, and {guest_on} guests <br />
- Most users ever online was {today_total} (based on users active over the past 24 hours)<br />
- Online Now: {foreach:all_online}{user}{ifnot:foreach_last}, {/if}{/foreach}<br />
- Past Users: {foreach:all_online_today}{user}{if:invisible} (invisible){/if}{ifnot:foreach_last}, {/if}{/foreach}
- </font>
- </td>
- </tr>
- </table>
- <br />
-
- <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
- <tr>
- <td class="title2" colspan="2">
- <font size="2">
- <img src="http://www.idirectory.x10.mx/images/favicon.gif"> <strong>Statistics</strong>
- </font>
- </td>
- </tr>
- <tr>
- <td width="24px" class="window1">
- <img src="http://www.idirectory.x10.mx/images/forum/stats.gif" align="middle">
- </td>
- <td class="window2">
- <font size="1">
- Total Boards {total_boards} | Total Categories {total_categories} | Total posts {total_posts} | Total topics {total_topics} | Total members {total_members} | Our newest member {foreach:newest_members:1}: {member}{/foreach} <br /><br />
- The last post made was {last_post} by {last_post_user} on {last_post_date}
- </font>
- </td>
- </tr>
- </table>
- <br />
-
- {if:guest}
- <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
- <tr>
- <td class="title1" colspan="2">
- <font size="2">
- <img src="http://www.idirectory.x10.mx/images/favicon.gif"> <strong>Login</strong>
- </font>
- </td>
- </tr>
- <tr>
- <td align=center class="window1">
-
- <form action="/action/login" method="post" enctype="multipart/form-data" name="loginForm">
- <font size="1">Username:</font> <input type="text" tabindex="1" name="username" maxlength="35" value="" style="width: 100px;" />
- <font size="1">Password:</font> <input type="password" tabindex="1" name="password" maxlength="35" style="width: 100px;" />
- <font size="1">Stay Logged In For:</font> <select name="time" tabindex="1">
- <option value="session">This Session</option><option value="30">30 Minutes</option><option value="60">1 Hour</option><option value="120">2 Hours</option><option value="360">6 Hours</option><option value="720">12 Hours</option><option value="1440">1 Day</option><option value="10080">1 Week</option><option value="1051897" selected="selected">Forever</option></select>
- <input type="submit" tabindex="1" accesskey="s" value="Login Now" class="submit" />
- </form>
- </td>
- </tr>
- </table>
- {/if}
-
- {if:member}
- <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
- <tr>
- <td class="title2" colspan="2">
- <font size="2">
- <img src="http://www.idirectory.x10.mx/images/favicon.gif"> <strong>Your Information</strong>
- </font>
- </td>
- </tr>
- <tr>
- <td width="24px" class="window1">
- <img src="http://www.idirectory.x10.mx/images/forum/whosonline.gif" align="middle">
- </td>
- <td class="window2">
- <font size="1">
- Logged in as: <a href="/action/view_profile">##username##</a>
- | Newest PM <a href="/action/pm/">{new_pms}</a> | Total PM <a href="/action/pm/">{total_pms}</a>
- </font>
- </td>
- </tr>
- </table>
- {/if}