<? global $vis_language; ?>
<section id="breadcrumb" class="row m-b m-l-none m-r-none">
   <div class="col-sm-6">
      <h3 class="m-b-xs text-black"><? echo $operation['view_title'];?></h3>
      <ul class="breadcrumb bg-empty no-border m-b-xxs no-padder">
         <li><a class="link" href="#/home/quick_view/<? echo $vis_language['TXTHOME']; ?>"><? echo $vis_language['TXTHOME']; ?></a></li>
         <? if($is_inbox_page!=1) { ?>
         <li><a class="link" href="#/setting/setting_menu/<? echo $vis_language['TXTSETTINGS'];?>" onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTSETTINGS'];?>',{'vis_module':'setting','vis_operation':'setting_menu'});"><? echo $vis_language['TXTSETTINGS']; ?></a></li>
         <li> <a href="#/setting/view_sentmail/<? echo $vis_language['TXTSENTMAILLOG']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTSENTMAILLOG']; ?>',{'vis_module':'setting','vis_operation':'view_sentmail'});" class="link"><? } else { ?><li> <a href="#/setting/view_sentmail/Sent email/<?= VIS_STAFF_ID; ?>" class="link"><? } ?><? echo $operation['view_title']; ?></a></li>
         <li class="active"> <? echo $vis_language['TXTMAILDETAILS']; ?></li>
      </ul>
      <div>
      </div>
   </div>
</section>
<section class="padder">
   <section class="panel panel-default">
      <header class=" panel-heading sub_header"><? echo $vis_language['TXTMAILDETAILS']; ?></header>
      <div class="panel-body">
         <form  class="form-horizontal" method="post">
            <div class="form-group">
               <label class="col-sm-2 control-label"><? echo $vis_language['TXTSUBJECT']; ?></label>
               <div class="col-sm-10">
                  <label class="control-label"><? echo $sentlog_details['subject']; ?></label>
               </div>
            </div>
            <div class="form-group">
               <label class="col-sm-2 control-label"><? echo $vis_language['TXTFROM']; ?></label>
               <div class="col-sm-10">
                  <label class="control-label"><? echo $sentlog_details['mail_from']; ?></label>
               </div>
            </div>
            <div class="form-group">
               <label class="col-sm-2 control-label"><? echo $vis_language['TXTTO']; ?></label>
               <div class="col-sm-10">
                  <label class="control-label"><? echo $sentlog_details['mail_to']; ?></label>
               </div>
            </div>
			<div class="form-group">
               <label class="col-sm-2 control-label" ><? echo $vis_language['TXTMESSAGE']; ?></label>
               <div class="col-sm-10">
 				<label class="control-label"  style="text-align: left !important;"><? echo stripslashes(nl2br($sentlog_details['content'])); ?></label>
               </div>
            </div>
             <div class="form-group">
               <label class="col-sm-2 control-label"><? echo $vis_language['TXTSTATUS']; ?></label>
               <div class="col-sm-10">
 				<label class="control-label"><? echo ($sentlog_details['mail_status']==1)?$vis_language['TXTSUCCESS']:$vis_language['TXTFAILED']; ?></label>
               </div>
            </div>
      </form>
      </div>
   </section>
</section>
