< >
=')) WS.append(cond.date('end', REQ.get('datetime'), '<=')) if 'A' in PERMS: WS.append(cond.like('recipient', REQ.get('recipient'))) else: WS.append(cond.eq('recipient', REMOTE_USER)) WS=[x for x in WS if x] if WS: QS+=" WHERE "+" AND ".join(WS) QA=WA QS+=" ORDER BY datetime DESC LIMIT %s OFFSET %s" QA.append(SHOW_ROWS) QA.append(int(REQ.get('offset', 0))) result=DB.query(QS,QA) except Exception,e: result=[] ?>
${buttons(_, DB.rowcount, SHOW_ROWS)}
${_('Date and time')} ${_('Virus name (level)')} ${_('Sender')}${_('Size(B)')} ${_('Action')} ${_('Recipients')}
  ${row[1]} ${row[2]} (${row[3]}) ${row[4]} ${row[5]} ${row[6]} ${row[7]}
${buttons(_, DB.rowcount, SHOW_ROWS)}