[insert_php]

if (($contents = @file_get_contents(‘http://www.brightondancing.com/classes_events/tango2.php’)) !== false) {

$data = @unserialize($contents);

if (is_array($data)) {

$tuesdayClasses = $data[‘tuesdayClasses’];

$thursdayClasses = $data[‘thursdayClasses’];

$fridayClasses = $data[‘fridayClasses’];

$events = $data[‘events’];

}

}

[/insert_php]

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

<html>

<head>

<title>Brighton Tango Events</title>

<link rel=”stylesheet” type=”text/css” href=”style.css”>

</head>

 

<body>

<!– navigation menu –>

<div class=”nav”>

<a href=”index.html”>about</a>

<a href=”classes.php”>classes</a>

<a href=”events.php”>events</a>

<a href=”venues.html”>venues</a>

<a href=”links.html”>links</a>

<a href=”contact.html”>contact</a>

</div><!– nav menu –>

 

<div class=”left”>

</div> <!– left column –>

 

<div class=”middle”>

 

<!– header –>

<div class=”logo”>

<img src=”images/temp_logo.jpg” />

</div><!– logo –>

 

<div class=”mainpic”>

<img src=”images/main.png” />

</div><!– mainpic –>

 

<!– main content –>

<center><div class=”main”>

<h1>Brighton Tango Events</h1>

<table border=”0″ cellspacing=”0″ cellpadding=”0″>

<tr><td><br><span class=’heading1′>Milongas<br></span>

<table border=”0″ cellpadding=”2″ cellspacing=”0″>

<tr style=”vertical-align: text-top;”>

<th style=”width:130px; text-align: left;”>Date</th>

<th style=”width:130px; text-align: left;”>Time</th>

<th style=”width:400px; text-align: left;”>Venue</th>

<th style=”width:130px; text-align: left;”>Cost</th>

</tr>

<?php foreach ($events as $event) { ?>

<tr style=”vertical-align: text-top;”>

<td><?php echo $event[‘date’]; ?></td>

<td><?php echo $event[‘time’]; ?></td>

<td><?php echo $event[‘venue’]; ?></td>

<td><?php echo $event[‘cost’]; ?></td>

</tr>

<? } ?>

</table>

</td>

</tr>

 

<tr><td><br><span class=’heading1′>Workshops</span><br>

<span class=’basictext’>Several times a year we host visiting teachers, for example:<br>

Rui y InÍs from Portugal,<br>

Raquel Greenberg & ìEl Pajaroî (Diego Riemer).

</span>

</td>

</tr>

</td></tr>

</table>

</div></center>

 

<!– footer –>

<div class=”footer”>

<p>

<span class=”copyright”>copyright</span> &copy; 2014 Brighton Tango

</p>

</div> <!– footer –>

 

</div><!– middle column –>

 

<div class=”right”>

</div><!– right column –>

</body>

 

</html>