Performance speedup

pull/1/head
Philipp Dunkel 15 years ago
parent 7fa6a187d8
commit 8bbec710bb

@ -87,7 +87,8 @@
} elseif($locid > 0){ } elseif($locid > 0){
echo "</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<br>\n"; echo "</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<br>\n";
} }
if($locid>0 || $regid>0 || $ccid>0)
{
$query = "select *, `users`.`id` as `id` from `users`,`notary` where `listme`='1' and $query = "select *, `users`.`id` as `id` from `users`,`notary` where `listme`='1' and
`ccid`='".$ccid."' and `regid`='".$regid."' and `ccid`='".$ccid."' and `regid`='".$regid."' and
`locid`='".$locid."' and `users`.`id`=`notary`.`to` `locid`='".$locid."' and `users`.`id`=`notary`.`to`
@ -110,7 +111,9 @@
<td class="DataTD"><?=$row['contactinfo']?></td> <td class="DataTD"><?=$row['contactinfo']?></td>
<td class="DataTD"><a href="wot.php?id=9&amp;userid=<?=intval($row['id'])?>"><?=_("Email Me")?></a></td> <td class="DataTD"><a href="wot.php?id=9&amp;userid=<?=intval($row['id'])?>"><?=_("Email Me")?></a></td>
</tr> </tr>
<? } ?> <? }
}
?>
</table> </table>
<br> <br>
<? } ?> <? } ?>

Loading…
Cancel
Save