|
@@ 155-159 (lines=5) @@
|
| 152 |
|
echo "<table width=\"100%\" class=\"outer\"><tr>"; |
| 153 |
|
echo "<td width=\"30%\">"; |
| 154 |
|
echo '<strong>' . $myts->htmlSpecialChars($results[$i]['type']) . '</strong><br>'; |
| 155 |
|
if (isset($results[$i]['photo']) && $results[$i]['photo'] != '') { |
| 156 |
|
echo "<a href='" . $results[$i]['link'] . "'><img class='thumb' src='" . $results[$i]['sphoto'] . "' alt='' width='100' /></a></td> "; |
| 157 |
|
} else { |
| 158 |
|
echo "<a href='" . $results[$i]['link'] . "'><img class='thumb' src='" . $results[$i]['nophoto'] . "' alt='' width='100' /></a></td> "; |
| 159 |
|
} |
| 160 |
|
if (!preg_match("/^http[s]*:\/\//i", $results[$i]['link'])) { |
| 161 |
|
$results[$i]['link'] = '' . $results[$i]['link']; |
| 162 |
|
} |
|
@@ 253-257 (lines=5) @@
|
| 250 |
|
echo "<table width=\"100%\" class=\"outer\"><tr>"; |
| 251 |
|
echo "<td width=\"30%\">"; |
| 252 |
|
echo '<strong>' . $myts->htmlSpecialChars($results[$i]['type']) . '</strong><br>'; |
| 253 |
|
if (isset($results[$i]['photo']) && $results[$i]['photo'] != '') { |
| 254 |
|
echo "<a href='" . $results[$i]['link'] . "'><img class='thumb' src='" . $results[$i]['sphoto'] . "' alt='' width='100' /></a></td> "; |
| 255 |
|
} else { |
| 256 |
|
echo "<a href='" . $results[$i]['link'] . "'><img class='thumb' src='" . $results[$i]['nophoto'] . "' alt='' width='100' /></a></td> "; |
| 257 |
|
} |
| 258 |
|
if (!preg_match("/^http[s]*:\/\//i", $results[$i]['link'])) { |
| 259 |
|
$results[$i]['link'] = '' . $results[$i]['link']; |
| 260 |
|
} |