Esempio n. 1
0
&nbsp;&nbsp;<img src="<?php 
        echo $this->config->item('img_path') . $arrow;
        ?>
.gif" />
		&nbsp;&nbsp;<?php 
        echo $senderName;
        ?>
		<?php 
        if ($folder == 'folder') {
            echo "(" . $this->Message_model->get_messages(array('type' => $type, 'number' => $number, 'uid' => $this->session->userdata('id_user')))->num_rows() . ")";
        } else {
            echo "(" . $this->Message_model->get_messages(array('type' => $type, 'number' => $number, 'id_folder' => $this->uri->segment(4), 'uid' => $this->session->userdata('id_user')))->num_rows() . ")";
        }
        ?>
		</span>
		<span class="message_preview" <?php 
        if ($type == 'inbox' && $tmp->readed == 'false') {
            echo "style=\"font-weight: bold\"";
        }
        ?>
>-&nbsp;<?php 
        echo message_preview($tmp->TextDecoded, $char_per_line);
        ?>
</span>
		</span>
		</div>		
	</div></div>
		
		<?php 
    }
}
Esempio n. 2
0
            echo "style=\"font-weight: bold\"";
        }
        ?>
><?php 
        echo nice_date($message_date);
        ?>
&nbsp;&nbsp;<img src="<?php 
        echo $this->config->item('img_path') . $arrow;
        ?>
.gif" />
	&nbsp;&nbsp;<?php 
        echo $senderName;
        ?>
</span>
	<span class="message_preview">-&nbsp;<?php 
        echo message_preview($tmp['TextDecoded'], $char_per_line);
        ?>
</span>
	</span>
	</div>

			
<?php 
        if ($tmp['source'] == 'sentitems') {
            // check delivery status
            $status = check_delivery_report($tmp['Status']);
            $part_no = 1;
            //check multipart
            $multipart['type'] = 'sentitems';
            $multipart['option'] = 'check';
            $multipart['id_message'] = $tmp['ID'];