Location: PHPKode > projects > Moderated Web Discussion > chat/qplist.php
<table border="0" cellpadding="2" cellspacing="0" width="100%">
        <tr bgcolor="#FFFFFF"> 
          
    <td bgcolor="996600"><img src="/library/images/spacer.gif" width="1" height="4"></td>
        </tr>
        <tr> 
          
    <td bgcolor="FFCC66" align="center" valign="top"> 
      <table border="0" cellpadding="3" cellspacing="1" width="100%">
              <tr> 
                
          <td valign=top width=100% bgcolor="#FFFFFF" align="left">Pending Questions
        </tr>
              <tr> 
                <td valign=top width=100% bgcolor="#FFFFFF" align="center"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
	   <?php
	   for ($qpi=0; $qpi <$qp_num_results; $qpi++)
		{
		 $qprow = mysql_fetch_array($qpresults);
		 echo "<tr><td nowrap align=\"top\">";
		 echo htmlspecialchars($qprow["submiter"]);
		 echo "<br>";
		 echo htmlspecialchars($qprow["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=\"qedit.php?cid=";
		 echo $cid;
		 echo "&qid=";
		 echo $qprow[QID];
		 echo "\">";
		 echo htmlspecialchars($qprow["question"]);
		 echo "</a>";
		 echo "</td><td align=\"top\" width=\"19%\">";
         echo "<a href=\"moderate.php?cid=";
		 echo $cid;
		 echo "&qid=";
		 echo $qprow[QID];
		 echo "&deactive=1\">Activate</a>";
		 echo "<br>";
		 echo "<a href=\"moderate.php?cid=";
		 echo $cid;
		 echo "&qid=";
		 echo $qprow[QID];
		 echo "&deactive=0\">Cancel</a>";
		 echo "</td></tr><tr><td bgcolor=\"#FFCC66\" colspan=\"4\">";
		 echo "<img src=\"/library/images/spacer.gif\" width=\"10\" height=\"3\">";
		 echo "</td></tr>";
		 }
	  ?> 
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
Return current item: Moderated Web Discussion