diff thule_fit_kits/index.php @ 4:bc72be51af82

thule_fit_kits/index.*: add div.kit_id
author paulo@twcdns.fastsearch.net
date Mon, 23 Aug 2010 23:21:48 -0700
parents f6be2a5839f0
children a7ad7a5c899e
line diff
     1.1 --- a/thule_fit_kits/index.php	Mon Aug 23 22:53:43 2010 -0700
     1.2 +++ b/thule_fit_kits/index.php	Mon Aug 23 23:21:48 2010 -0700
     1.3 @@ -43,13 +43,13 @@
     1.4  	$results = mysql_query($query);
     1.5  
     1.6  	while ($row = mysql_fetch_assoc($results)) {
     1.7 -		echo '<TR><TD>';
     1.8 +		echo '<TR><TD><DIV class="kit_id">';
     1.9  		$pdf_filename = 'pdf/thule-fit-kit-' . $row['kit_id']. '-instructions.pdf';
    1.10  		if (file_exists($pdf_filename))
    1.11  			echo '<A HREF="'. $pdf_filename . '">' . $row['kit_id'] . '</A>';
    1.12  		else
    1.13  			echo $row['kit_id'];
    1.14 -		echo '</TD><TD>';
    1.15 +		echo '</DIV></TD><TD>';
    1.16  		$cars = explode(';', $row['car']);
    1.17  		foreach ($cars as $car)
    1.18  			echo $car . '<br>';