Location: PHPKode > projects > Bloggie Lite > templates/mylite/admin/comment-list.tpl
<br /><br />
  <script type="text/javascript">
  <!--
  function showcontent(id)
  {
    var answer = document.getElementById(id);

    if(answer.style.display == 'none' || answer.style.display == '')
      answer.style.display = 'block';
    else
      answer.style.display = 'none';
  }

  var form='deleteform'

  function SetChecked(chkName) {
   dml=document.forms[form];
   len = dml.elements.length;
   var i=0;
   for( i=0 ; i<len ; i++) {
     if (dml.elements[i].name==chkName) {
       if (dml.elements[i].checked==true)
       dml.elements[i].checked=false;
       else
       dml.elements[i].checked=true;
     }
   }
  }
  -->
  </script>
<!-- BEGIN status -->
<div style="font-size:12px; color:red; font-weight:bold; border:1px solid #ccc; text-align:center; padding:15px">
{status.STATUS}
</div>
<br />
<!-- END status -->
  <table width="100%" border="0" cellspacing="1" bgcolor="#cccccc">
    <tr><td class="headerfont" colspan="9" bgcolor="#ffffff"><center><b>{L_COMMENTS} - {L_EDIT}/{L_DELETE}/{L_APPROVE}</b></center></td></tr>
     <tr><td colspan="8" bgcolor="#ffffff"><form name="deleteform" id="deleteform" method="post" action="{ACTION_FILENAME}"></td>
         <td bgcolor="#ffffff" align="center">
<!--tobedeleted--><!--a href="javascript:SetChecked('checkbox[]');" style="font-size:9px; letter-spacing:-0.12em";>{L_CHECK_ALL}</a-->
          <a href="javascript:;" onclick="SetChecked('checkbox[]');" style="font-size:9px; letter-spacing:-0.12em";>{L_CHECK_ALL}</a>
          <br />
         </td></tr>
    <tr class="subtitle">
       <td class="stdfont" bgcolor="#ffffff" width="35"><b>{L_ID}</b></td>
       <td class="stdfont" bgcolor="#ffffff" width="80"><b>{L_DATE}</b></td>
       <td class="stdfont" bgcolor="#ffffff"><b>{L_SUBJECT}</b></td>
       <td class="stdfont" bgcolor="#ffffff"><b>{L_POSTED_BY}</b></td>
       <td class="stdfont" bgcolor="#ffffff" width="80"><b>{L_IP}</b></td>
       <td class="stdfont" bgcolor="#ffffff" width="60"><b>{L_APPROVED}</b></td>
       <td class="stdfont" bgcolor="#ffffff" width="35" colspan="2"><b>{L_ACTION}</b></td>
       <td class="stdfont" bgcolor="#ffffff" width="50"><b>{L_DELETE}</b></td>
    </tr>
    <!-- BEGIN listing -->
    <tr>
       <td{listing.ALT_CLR}><center>{listing.COM_ID}</center></td>
       <td{listing.ALT_CLR}>{listing.COM_TIME}</td>
       <td{listing.ALT_CLR} style="text-align:left;"><a href="#" onclick="showcontent('comment_{listing.COM_ID}'); return true;"><img border="0" src="../templates/{STYLE}/admin/images/unhide.gif" /></a> {listing.COM_SUBJECT}
          <div id="comment_{listing.COM_ID}" class="hidden"><b><u>{L_COMMENTS}</u><br /></b>{listing.COMMENTS}</div>
       </td>
       <td{listing.ALT_CLR}>{listing.POSTER}</td>
       <td{listing.ALT_CLR}><center>{listing.COM_IP}</center></td>
       <td{listing.ALT_CLR}><center>{listing.COM_APPROVED}</center></td>
       <td{listing.ALT_CLR} style="font-size:9px; letter-spacing:-0.12em;"><center>{listing.COM_EDIT}</a></center></td>
       <!--td{listing.ALT_CLR}><a href="test2.php?action=del&amp;comment_id={listing.COM_ID}" class="delete" id="delete-{listing.COM_ID}" style="font-size:9px; letter-spacing:-0.12em;">{listing.L_DEL} </a></center></td-->
       <td{listing.ALT_CLR}><a href="?mode=commentlist&amp;action=del&amp;comment_id={listing.COM_ID}" style="font-size:9px; letter-spacing:-0.12em;" onclick="return confirm('{listing.DEL_CONF}')">{listing.L_DEL}</a></center></td>
       <td{listing.ALT_CLR}><center><input name="checkbox[]" type="checkbox" id="checkbox" value="{listing.DEL_CHECKBOX_ID}" /></center></td>
    </tr>
    <!-- END listing -->
    <tr><td colspan="5" bgcolor="#ffffff"></td>
        <td align="center" bgcolor="#ffffff">
        <input name="approve" type="submit" id="approve" value="{L_APPROVE}" onclick="return confirm('{APP_CONF}')"></td>
        <td bgcolor="#ffffff" colspan="2"></td>
        <td align="center" bgcolor="#ffffff">
        <input name="delete" type="submit" id="delete" value="{L_DEL}" onclick="return confirm('{DEL_CONF}')"></form></td></tr>
    <tr><td colspan="9" align="right"  bgcolor="#ffffff"><span class="smallfont">{PAGE}</span></td></tr>
  </table>

Return current item: Bloggie Lite