PageRenderTime 25ms CodeModel.GetById 15ms app.highlight 6ms RepoModel.GetById 2ms app.codeStats 0ms

/forum/templates/forum/forums_index.html

http://djforum.googlecode.com/
HTML | 88 lines | 56 code | 11 blank | 21 comment | 0 complexity | 7eb69426ba8d7597ae3698b27363ba74 MD5 | raw file
 1{% extends "forum/base.html" %}
 2{% load customfilters %}
 3
 4{% block title %}
 5DjangoPower??
 6{% endblock %}
 7
 8{% block content %}
 9
10<table class="tablebg" cellspacing="1" width="100%">
11    <tr>
12	<td class="cat" colspan="5" align="right">&nbsp;</td>
13    </tr>
14    <tr>
15	<th colspan="2">&nbsp;??&nbsp;</th>
16	<th width="50">&nbsp;??&nbsp;</th>
17	<th width="50">&nbsp;??&nbsp;</th>
18	<th>&nbsp;????&nbsp;</th>
19    </tr>
20    <!--
21    <tr>
22	<td class="cat" colspan="2"><h4><a href="./viewforum.php?f=16">Operating System Development</a></h4></td>
23	<td class="catdiv" colspan="3">&nbsp;</td>
24    </tr>
25    -->
26    {% for forum in forums %}
27    <tr>
28	<td class="row1" width="50" align="center"><img src="/site_media/styles/pandaxiaoxi/imageset/forum_read.gif" width="46" height="25" alt="No new posts" title="No new posts" /></td>
29	<td class="row1" width="100%">
30	    <a class="forumlink" href="{{forum.get_absolute_url}}">{{ forum.name }}</a>
31
32	    <p class="forumdesc">{{ forum.description }}</p>
33	    <!--<p class="forumdesc"><strong>Moderators:</strong> <a href="./memberlist.php?mode=viewprofile&amp;u=356">Brendan</a>, <a href="./memberlist.php?mode=viewprofile&amp;u=155">carbonBased</a>, <a href="./memberlist.php?mode=viewprofile&amp;u=2600">os64dev</a>, <a href="./memberlist.php?mode=viewprofile&amp;u=1902">Candy</a>, <a href="./memberlist.php?mode=viewprofile&amp;u=67">JAAman</a>, <a href="./memberlist.php?mode=viewprofile&amp;u=1950">AJ</a>, <a href="./memberlist.php?mode=viewprofile&amp;u=1906">Combuster</a>, <a href="./memberlist.php?mode=viewprofile&amp;u=2">chase</a>, <a href="./memberlist.php?mode=viewprofile&amp;u=117">kmcguire</a>, <a href="./memberlist.php?mode=viewprofile&amp;u=3016">mystran</a></p>-->
34
35	</td>
36	<td class="row2" align="center"><p class="topicdetails">{{ forum.topics }}</p></td>
37	<td class="row2" align="center"><p class="topicdetails">{{ forum.posts }}</p></td>
38	<td class="row2" align="center" nowrap="nowrap">
39	    <p class="topicdetails">{{ forum.last_datetime|date:"Y-m-d H:i" }}</p>
40	    <p class="topicdetails">{% if forum.last_authorid %}<a href="/forum/member/{{ forum.last_authorid }}/">{{ forum.last_author }}</a>{% endif %}{% if forum.last_postid %}<a href="/forum/post/{{forum.last_postid}}/#p{{forum.last_postid}}"><img src="/site_media/styles/pandaxiaoxi/imageset/icon_topic_latest.gif" width="18" height="9" alt="View the latest post" title="View the latest post" /></a>{% endif %}
41            </p>
42	</td>
43    </tr>
44    {% endfor %}
45    
46</table>
47<!--<span class="gensmall"><a href="./ucp.php?mode=delete_cookies">Delete all board cookies</a> | <a href="./memberlist.php?mode=leaders">The team</a></span>--><br />
48
49<br clear="all" />
50
51
52<table class="tablebg" width="100%" cellspacing="1">
53    <tr>
54	<td class="cat" colspan="2"><h4>??????</h4></td>
55    </tr>
56    <tr>
57	<td class="row1" align="center" valign="middle"><img src="/site_media/styles/pandaxiaoxi/theme/images/whosonline.gif" alt="Who is online" /></td>
58	<td class="row1" width="100%"><span class="genmed">???? <strong>11</strong> ?????????? <strong>11</strong> ?<br /></td>
59    </tr>
60</table>
61
62<br clear="all" />
63<table class="tablebg" width="100%" cellspacing="1">
64    <tr>
65	<td class="cat" colspan="2"><h4>??</h4></td>
66    </tr>
67    <tr>
68	<td class="row1"><img src="/site_media/styles/pandaxiaoxi/theme/images/whosonline.gif" alt="Statistics" /></td>
69	<td class="row1" width="100%" valign="middle"><p class="genmed">??? <strong>{{total_posts}}</strong> | ??? <strong>{{total_topics}}</strong> | ??? <strong>{{total_users}}</strong> | ?????? <strong><a href="/forum/member/{{newest_user.id}}/">{{newest_user.username}}</a></strong></p></td>
70    </tr>
71</table>
72<br clear="all" />
73<!--
74<form method="post" action="./ucp.php?mode=login">
75<table class="tablebg" width="100%" cellspacing="1">
76    <tr>
77	<td class="cat"><h4><a href="./ucp.php?mode=login">??</a></h4></td>
78    </tr>
79    <tr>
80	<td class="row1" align="center"><span class="genmed">???:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">Password:</span> <input class="post" type="password" name="password" size="10" />&nbsp;  <span class="gensmall">Log me on automatically each visit</span> <input type="checkbox" class="radio" name="autologin" />&nbsp; <input type="submit" class="btnmain" name="login" value="Login" /></td>
81    </tr>
82</table>
83</form>
84
85<br clear="all" />
86-->
87
88{% endblock %}