rendered paste bodyforeach($shipuserdata as $tcheck)
{
$usercheck = explode("|",$tcheck);
$usernameprint = '<a href="http://www.startrek-online.net/messageboard/member.php?u=' . $usercheck[1] . '">' . $usercheck[0] . '</a>';
$pagecp .= '<tr><td align="left">' . $usernameprint . '</td><td> <font size=\'1\'><i><a onClick="toggleInfo(\'expinfo'.$usercheck[1].'\')" style="cursor:pointer;cursor:hand">Expand/Collapse</a></i></font></td></tr>';
$shipcalldata = array();
while($shpcldta = $vbulletin->db->fetch_array($shipdata))
{
// if($shpcldta[uid] = $usercheck[1])
// {
echo 'win';
// }
}
$pagecp .= '<tr><td align="left"><div style="display: none;" id="expinfo'.$usercheck[1].'"><blockquote>stuff<br />stuff<br /></blockquote><hr /></div></td><td></td></tr>';
}