message_headers_row.inc
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:1k
源码类别:

WEB邮件程序

开发平台:

PHP

  1. <?php echo $template_obj->GetValue( $row_color . '_row_start' ); ?>
  2. <td><?php echo $template_obj->GetValue( $row_color . '_font' ); ?>
  3. <center>
  4. <?php
  5. $selected_message = '';
  6. if ( $selected_messages[ $sorted_message_ids[ $i ] ] == 1 ) {
  7.    $selected_message = 'checked';
  8. }
  9. if ( $current_header->subject == '' ) {
  10.    $current_header->subject = '&nbsp;';
  11. }
  12. ?>
  13. <input type="checkbox" name="message_id_<?php echo $i; ?>" <?php echo $selected_message; ?>>
  14. </center></td>
  15. <td>
  16. <A Href="<?php echo $read_message; ?>"><?php 
  17.    echo $template_obj->GetValue( $row_color . '_font' ); 
  18.    echo $current_header->subject; 
  19. ?></A></td>
  20. <td>
  21. <A Href="<?php echo $read_message; ?>"><?php 
  22. echo $template_obj->GetValue( $row_color . '_font' );
  23. $from_addr = '';
  24. for( $z = 0; $z < count( $current_header->from ); $z++ ) {
  25.    $cur_elem = $current_header->from[ $z ];
  26.    if ( $cur_elem->personal != '' ) {
  27.       $from_addr .= $cur_elem->personal;
  28.    } else {
  29.       $from_addr .= $cur_elem->mailbox . '@' . $cur_elem->host;
  30.    }
  31. }
  32. echo htmlentities( $from_addr ); ?></a>
  33. </td>
  34. <td>
  35. <A Href="<?php echo $read_message; ?>"><?php 
  36. echo $template_obj->GetValue( $row_color . '_font' );
  37. echo $message_date; 
  38. ?></a></td>
  39. <td>
  40. <center><A Href="<?php echo $read_message; ?>"><?php 
  41. echo $template_obj->GetValue( $row_color . '_font' );
  42. echo $message_size; 
  43. ?></a></center></td>
  44. </tr>