message_headers_row.inc
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:1k
- <?php echo $template_obj->GetValue( $row_color . '_row_start' ); ?>
- <td><?php echo $template_obj->GetValue( $row_color . '_font' ); ?>
- <center>
- <?php
- $selected_message = '';
- if ( $selected_messages[ $sorted_message_ids[ $i ] ] == 1 ) {
- $selected_message = 'checked';
- }
- if ( $current_header->subject == '' ) {
- $current_header->subject = ' ';
- }
- ?>
- <input type="checkbox" name="message_id_<?php echo $i; ?>" <?php echo $selected_message; ?>>
- </center></td>
- <td>
- <A Href="<?php echo $read_message; ?>"><?php
- echo $template_obj->GetValue( $row_color . '_font' );
- echo $current_header->subject;
- ?></A></td>
- <td>
- <A Href="<?php echo $read_message; ?>"><?php
- echo $template_obj->GetValue( $row_color . '_font' );
- $from_addr = '';
- for( $z = 0; $z < count( $current_header->from ); $z++ ) {
- $cur_elem = $current_header->from[ $z ];
- if ( $cur_elem->personal != '' ) {
- $from_addr .= $cur_elem->personal;
- } else {
- $from_addr .= $cur_elem->mailbox . '@' . $cur_elem->host;
- }
- }
- echo htmlentities( $from_addr ); ?></a>
- </td>
- <td>
- <A Href="<?php echo $read_message; ?>"><?php
- echo $template_obj->GetValue( $row_color . '_font' );
- echo $message_date;
- ?></a></td>
- <td>
- <center><A Href="<?php echo $read_message; ?>"><?php
- echo $template_obj->GetValue( $row_color . '_font' );
- echo $message_size;
- ?></a></center></td>
- </tr>