Advertisement
Advertisement
| 06.09.2008 at 06:10PM PDT, ID: 23471041 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: |
$query1 = "SELECT DISTINCT * FROM pn_solas WHERE (part_num BETWEEN $ss_start AND $ss_end) AND blade = ".$_REQUEST['btype']." ORDER BY pitch";
$result1 = mysql_query($query1);
if (mysql_num_rows($result1) > 0) {
if ($ss_start > 0 ) //If data show table else hide
{
echo '<table>';
echo '<td>';
echo '<table align="left" cellspacing="left" cellpadding="2">
<td align="center" bgcolor="#000" colspan="6"><font color="white" font face="verdana"><b>Stainless Steel - '.$row[2].'</b></font></td><td></td><td></td><td rowspan="7"><img width="450" height="250" src='.$row[3].'></td>
<tr bgcolor="#0099FF">
<td align="left"><font color="yellow"><b>Blade</b></font></td>
<td align="left"><font color="yellow"><b>Diameter</b></font></td>
<td align="left"><font color="yellow"><b>Pitch</b></font></td>
<td align="left"><font color="yellow"><b>Rotation</b></font></td>
<td align="center"><font color="yellow"><b>Part Num</b></font></td>
<td align="center"><font color="yellow"><b>Rubex Hub Kit</b></font></td>
</tr>';
//Fetch and print all matching records
$bg ='#eeeeee'; //Set row color
while ($row1=mysql_fetch_array($result1, MYSQL_ASSOC))
{
$bg=($bg=='#eeeeee' ? '#ffffff' : '#eeeeee');
echo '<tr bgcolor="'.$bg.'">
<td align="center">'.$row1['blade'].'</td>
<td align="center">'.$row1['dia'].'</td>
<td align="center">'.$row1['pitch'].'</td>
<td align="center">'.$row1['rotation'].'</td>
<td align="center">'.$row1['E_part_num'].'</td>';
//Check for rubex part number
$str = $row1['E_part_num'];
$first = $str[0];
if ($first == '9'){ //If rubex then display rubex hub number and link
$rubex_id_value = $rubex_id;
echo '<td align="center"><a href="./pdf/'.$rubex_id_value.'.pdf">'.$rubex_id_value.'</a></td>';
}else{
$rubex_id_value = "Pressed in Rubber Hub"; //Not rubex then show rubber hub
echo '<td align="center">'.$rubex_id_value.'</td>';
}
echo 'td align="center"><a href="#" onclick="window.open(\'dealer2.php?pid=' . $pop . '\', \'windowname1\', \'width=750, height=650, left=500, top=200\'); return false;"><img border="0" src="./images/locatedeal.jpg"></a></td></tr>';
}
echo '</table>';
echo '</td>';
}
echo '<tr></tr>';
|