paulo@0: paulo@0: paulo@0:
paulo@0: paulo@0: paulo@0:paulo@0: Trying to figure out if you can reuse those Thule fit kit rubber pads or mounting brackets on another car? Here's a database you can check, with PDF installation instruction manuals. paulo@0:
paulo@0: paulo@0:Kit Number | paulo@0:Cars | paulo@0:Rubber Pad Number | paulo@0:Bracket Number | paulo@0:Miscellaneous Parts | paulo@0:';
paulo@3: $pdf_filename = 'pdf/thule-fit-kit-' . $row['kit_id']. '-instructions.pdf';
paulo@3: if (file_exists($pdf_filename))
paulo@3: echo '' . $row['kit_id'] . '';
paulo@3: else
paulo@3: echo $row['kit_id'];
paulo@4: echo ' | ';
paulo@0: $cars = explode(';', $row['car']);
paulo@0: foreach ($cars as $car)
paulo@0: echo $car . ' '; paulo@0: echo ' | ';
paulo@0: echo '' . $row['rubber_pad'] . ' | '; paulo@0: echo '' . $row['bracket'] . ' | '; paulo@0: echo ''; paulo@0: $misc = explode(',', $row['misc']); paulo@0: foreach ($misc as $misc_item) { paulo@0: if ($misc_item) { paulo@0: $misc_item = trim($misc_item); paulo@0: $misc_filename = 'misc_' . $misc_item . '.png'; paulo@0: if (file_exists($misc_filename)) paulo@0: echo ' '; paulo@0: else paulo@0: echo $misc_item . ','; paulo@0: } paulo@0: } paulo@0: echo ' | '; paulo@0: echo '' . "\n"; paulo@0: } paulo@0: paulo@0: mysql_free_result($results); paulo@0: mysql_close($link); paulo@0: paulo@0: ?> paulo@0: paulo@0:
---|