aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage/recent_images.html
blob: 1071eeba5ed3fda70a9a7ee61b300084f5fd6099 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?py include('templates/base_top.html') ?>
<?py include('templates/manage/menu.html') ?>
<style>
  .imgs {font-size:0;}
  .imgs img {vertical-align:top;margin:2px;height:150px;width:auto;}
</style>
<center>
<div class="replymode">Imágenes recientes</div>
<form action="#{cgi_url}manage/recent_images" name="recent_images" method="post">
  <table>
    <tr>
      <td class="postblock">Número a mostrar</td>
      <td><input type="text" name="images" size="4" /></td>
    </tr>
    <tr>
      <td colspan="2"><input type="submit" style="width:100%;" value="Enviar" /></td>
    </tr>
  </table>
</form>
<hr />
<div class="imgs">
  <?py for post in posts: ?>
    <?py if post['parentid'] != '0': ?>
      <a href="/#{post['dir']}/res/#{post['parentid']}.html##{post['id']}"><img src="#{boards_url}#{post['dir']}/thumb/#{post['thumb']}" /></a>
    <?py else: ?>
      <a href="/#{post['dir']}/res/#{post['id']}.html##{post['id']}"><img src="#{boards_url}#{post['dir']}/thumb/#{post['thumb']}" /></a>
    <?py #endif ?>
  <?py #endfor ?>
</div>
</center>
<hr />
<?py include('templates/base_bottom.html') ?>