Hi, thanks for your replies. :-)
I did mention that I am running the latest version ( 1.5.3 ).
I cannot replicate the problem, so it is impossible test for.
I hope you guys don't mind me throwing a bunch of code ind here, but maybe someone else can see something I am not seeing in the code that generates the html.
// Table body
$email_body .= '<tbody>';
$email_body .= '<tr><td> </td></tr>';
$email_body .= '<tr style="background: #d7e3ef;"><th colspan="2"><h3 style="padding:0;margin:0;">Ordre info:</h3></th></tr>';
$email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Buffet:</th><td>'.$buffet.'</td></tr>';
if(!empty($starter)) $email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Forret:</th><td>'.$starter.'</td></tr>';
if(!empty($desert)) $email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Desert:</th><td>'.$desert.'</td></tr>';
if(!empty($bread)) $email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Brød:</th><td>'.$bread.'</td></tr>';
$email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Kuverter:</th><td>'.$seatings.'</td></tr>';
$email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Dato:</th><td>'.$date.'</td></tr>';
$email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Tid:</th><td>'.$time.'</td></tr>';
if(!empty($institution)) $email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Institution:</th><td> '.$institution.'</td></tr>';
if(!empty($company)) $email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Firma:</th><td>'.$company.'</td></tr>';
if(!empty($ean)) $email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>EAN:</th><td>'.$ean.'</td></tr>';
if($use_dif_address == "Yes") $email_body .= '<tr><td> </td></tr>';
if($use_dif_address == "Yes") $email_body .= '<tr style="background: #d7e3ef;"><th colspan="2"><h3 style="padding:0;margin:0;">Bestillings adresse:</h3></th></tr>';
if($use_dif_address == "Yes") $email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Navn:</th><td>'.$contact_name.'</td></tr>';
if($use_dif_address == "Yes") $email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Adresse:</th><td>'.$contact_address.'</td></tr>';
if($use_dif_address == "Yes") $email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Postnummer & By:</th><td> '.$contact_zip.' '.$contact_city.'</td></tr>';
if(!empty($phone)) $email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Telefon:</th><td> '.$phone.'</td></tr>';
$email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Mobil:</th><td>'.$mobile.'</td></tr> ';
$email_body .= '<tr style="background: #d7e3ef;"><th colspan="2"><h3 style="padding:0;margin:0;">Pris</h3></th></tr>';
$email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Buffet pris:</th><td>Kr. '.$buffet_price.',-</td></tr>';
$email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Leveringspris:</th><td>Kr. '.$shippingrate.',-</td></tr>';
$email_body .= '<tr style="border-bottom:1px solid #ddd;"><th>Pris ialt:</th><td><strong>Kr. '.$total_price.',-</strong></td></tr>';
$email_body .= '<tr><td> </td></tr>';
if(!empty($message)) $email_body .= '<tr><th>Kommentar:</th><td><p>'.$message.'</p></td></tr>';
$email_body .= '</tbody>';
// End table body
Posted 13 years ago on Monday October 3, 2011 |
Permalink