Строки:
CODE: $banner = '<table style="width:100%;"><tr><td>';
$banner .= file_get_contents('adv_post_left.txt');
$banner .= '</td><td style="width:99%;">';
$post = $banner . $post . '</td></tr></table>';
замените на:
CODE: $banner = file_get_contents('adv_post_left.txt');
$post = '<div style="width:100%;clear:both;">' . $post . '</div><div style="width:100%;clear:both;">' .$banner . '</div>'; |