recent-posters.adp

Delivered as text/html

Related Files

[ hide source ] | [ make this the default ]

File Contents

<master>
<property name="doc(title)">Recent Posters</property>
<property name="context">{Recent Posters}</property>

<p> Total: <b>@posters:rowcount@ posters</b> who posted at least
@min_posts@ times in 
<if @before@ nil>the last @num_days@ days.</if>
<else>the @num_days@ days before @before@.</else>
</p>

<table border="1">
  <tr>
    <th># Posts</th>
    <th>Name</th>
    <th>Email</th>
  </tr>
  <multiple name="posters">
    <tr>
      <td align="right"><a href="@posters.posts_url@">@posters.num_posts@</a></td>
      <td><a href="@posters.user_url@">@posters.first_names@ @posters.last_name@</a></td>
      <td><if @posters.email@ not nil><a href="mailto:@posters.email@">@posters.email@</a></if></td>
    </tr>
  </multiple>
  <tr>
    <th align="right">@total_posts@</th>
    <th align="right">@posters:rowcount@</th>
    <th>Total</th>
  </tr>
</table>

<h3>Try Again</h3>

<form action="@form_url@" method="get">
  <p> Minimum number of postings: <input name="min_posts" value="@min_posts@"> </p>
  <p> Number of days back: <input name="num_days" value="@num_days@"> </p>
  <p> From which date: <input name="before" value="@before@"> (YYYY-MM-DD)</p>
  <p> <input type="submit" value="Update"><if @::__csrf_token@ defined><input type="hidden" name="__csrf_token" value="@::__csrf_token;literal@"></if> </p>
</form>