<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr bgcolor="#FFFFFF">
<td bgcolor="009933"><img src="/library/images/spacer.gif" width="1" height="4"></td>
</tr>
<tr>
<td bgcolor="99CC99" align="center" valign="top">
<table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr>
<td valign=top width=100% bgcolor="#FFFFFF" align="left"><span class="swtitle">Active
Questions</span>
</tr>
<tr>
<td valign=top width=100% bgcolor="#FFFFFF" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php
if ( $qa_num_results == 0 )
echo "No avalible questions at this time";
for ($qai=0; $qai <$qa_num_results; $qai++)
{
$qarow = mysql_fetch_array($qaresults);
echo "<tr><td width=\"200\" align=\"top\">";
echo htmlspecialchars($qarow["location"]);
echo "</td><td align=\"top\">";
echo "<img src=\"/library/images/spacer.gif\" width=\"10\" height=\"1\">";
echo "</td><td align=\"top\">";
echo "<a href=\"aadd.php?cid=";
echo $cid;
echo "&qid=";
echo $qarow[QID];
echo "\">";
echo htmlspecialchars($qarow["question"]);
echo "</a>";
echo "</td><td nowrap align=\"top\" width=\"19%\">";
echo "<a href=\"hotseat.php?cid=";
echo $cid;
echo "&qid=";
echo $qarow[QID];
echo "&deactive=2\">Move to Pending</a>";
echo "<br>";
echo "<a href=\"aadd.php?cid=";
echo $cid;
echo "&qid=";
echo $qarow[QID];
echo "\">Answer Question</a>";
echo "</td></tr><tr><td bgcolor=\"99CC99\" colspan=\"4\">";
echo "<img src=\"/library/images/spacer.gif\" width=\"10\" height=\"3\">";
echo "</td></tr>";
}
?>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>