aboutsummaryrefslogblamecommitdiff
path: root/cgi/templates/manage/recent_images.html
blob: 39f919c2af38ed794e69bc3e11f87423d0c47ebd (plain) (tree)























                                                                                                                                             
<?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') ?>