‘);
$table = preg_replace(“/[^[:print:]]+/”, “”, $table);
$table = preg_replace(‘/<(\w+) [^>]+>/’, ‘<$1>‘, $table);
$table = preg_replace(‘/
#/’,’ | ‘, $table);
$table = preg_replace(‘/>Tuesday 8 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Tuesday February 8 2011’, $table );
$table = preg_replace(‘/>Wednesday 9 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Wednesday February 9 2011’, $table );
$table = preg_replace(‘/>Thursday 10 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Thursday February 10 2011’, $table );
$table = preg_replace(‘/>Friday 11 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Friday February 11 2011’, $table );
$table = preg_replace(‘/>Saturday 12 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Saturday February 12 2011’, $table );
$table = preg_replace(‘/>Sunday 13 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Sunday February 13 2011’, $table );
$table = preg_replace(‘/England/’, ‘ENGLAND‘, $table );
$end = strpos($table,’Subject to the approval’);
$table = substr($table,0, $end);
echo $table;
?>
‘,$start) + 8;
$table = substr($content,$start,$end-$start);
$table = strip_tags($table, ‘
|
|
‘);
$table = preg_replace(“/[^[:print:]]+/”, “”, $table);
$table = preg_replace(‘/<(\w+) [^>]+>/’, ‘<$1>‘, $table);
$table = preg_replace(‘/ #/’,’ | ‘, $table);
$table = preg_replace(‘/>Tuesday 8 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Tuesday February 8 2011’, $table );
$table = preg_replace(‘/>Wednesday 9 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Wednesday February 9 2011’, $table );
$table = preg_replace(‘/>Thursday 10 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Thursday February 10 2011’, $table );
$table = preg_replace(‘/>Friday 11 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Friday February 11 2011’, $table );
$table = preg_replace(‘/>Saturday 12 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Saturday February 12 2011’, $table );
$table = preg_replace(‘/>Sunday 13 February 2011/’, ‘ style=”background-color:red;color:white;” colspan=”8″>Sunday February 13 2011’, $table );
$table = preg_replace(‘/England/’, ‘ENGLAND‘, $table );
$end = strpos($table,’Subject to the approval’);
$table = substr($table,0, $end);
echo $table;
?>
| |