%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/old2/_music/jabbarchive/
Upload File :
Create Path :
Current File : /www/old2/_music/jabbarchive/history_flat.php

<h1>Flat history for <?php echo $_GET['them']; ?></h1>
<?php
     if(strstr($_GET['them'], '@conf'))
     { 
          $res = q("select utc, body, name, id from archive where them='{$_GET['them']}' and us='$us' order by utc desc");
          echo '<table width="100%" border="0">';
          foreach($res as $r)
          {
               $r[1] = str_replace('<', '&lt;', str_replace('>', '&gt;', $r[1]));
               echo "<!-- {$r[3]} --><tr><td width=\"40%\" style=\"vertical-align:top;\">[{$r[0]}] <b>{$r[2]}</b>:</td><td width=\"60%\">".nl2br($r[1])."</td></tr>\n";
          }
          echo "</table>\n";
     }
     else
     {
          $res = q("select utc, body, dir, id from archive where them='{$_GET['them']}' and us='$us' order by utc desc");  
          foreach($res as $r)
          {
               $r[1] = str_replace('<', '&lt;', str_replace('>', '&gt;', $r[1]));
               $style = $r[2] ? "outgoing" : "incoming";
               echo "<!-- {$r[3]} --><div class=\"$style\"><table width=\"100%\"><tr><td width=\"18%\" style=\"vertical-align:top;\"><b>[{$r[0]}]</b>:</td><td width=\"82%\">".nl2br($r[1])."</td></tr></table></div>\n";
          }
     }
?>

Zerion Mini Shell 1.0