global $color, $uid_support;
+sqgetGlobalVar('passed_id', $passed_id, SQ_GET);
+sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
+
+sqgetGlobalVar('username', $username, SQ_SESSION);
+sqgetGlobalVar('key', $key, SQ_COOKIE);
+sqgetGlobalVar('onetimepad', $onetimepad, SQ_SESSION);
+
function CalcEntity($entString, $direction) {
$result = $entString;
if ($direction == -1) {
- $pos = strrpos($entString,'.');
- $result = substr($entString,0,$pos);
+ $pos = strrpos($entString,'.');
+ $result = substr($entString,0,$pos);
}
switch ($direction) {
case 0:
$pos = strrpos($entString,'.');
if ($pos === false) {
- $entString++;
+ $entString++;
$result= $entString;
}
else {
echo '</td><td>';
if (isset($content[$i]['name'])) {
echo $content[$i]['name'];
- } else echo ' ';
+ } else echo ' ';
echo '</td><td>';
if (isset($content[$i]['encoding'])) {
echo $content[$i]['encoding'];
- } else echo ' ';
+ } else echo ' ';
echo '</td></tr>'."\n";
}
echo '</tbody></table><br>'."\n";