Location: PHPKode > projects > PHPDug > templates/simple/private_inbox.html
{OVERALL_HEADER}
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200" valign="top">
	  <a href="{SITE_URL}editprofile.php">{LANG_EDITPROFILE}</a><br>
      <a href="{SITE_URL}add_story.php">{LANG_SUBMITS}</a><br>
      <a href="{SITE_URL}logout.php">{LANG_LOGOUT}</a><br>
      <br>
	  <strong>{LANG_CATS}</strong><br>
      <br>
      {LOOP: CATS}
	  IF("{CATS.parent_id}"!="0"){&nbsp;&nbsp;{:IF}
	  <a href="{CATS.cat_url}">{CATS.cat_title}</a><br>
	  {/LOOP: CATS}
	  <br>
    <br></td>
    <td valign="top"><span class="title2">{LANG_INBOX}</span><br>
        <br>
        <table width="100%"  border="0" cellpadding="0" cellspacing="0" style="padding-top:3px;">
          <tr bgcolor="#C7C7C7" class="normal">
            <td height="30" style="padding-left:5px;"><strong style="color:#666666;">Subject</strong></td>
            <td width="1" bgcolor="#FFFFFF"></td>
            <td width="100" height="30" style="padding-left:5px;"><strong style="color:#666666;">From</strong></td>
            <td width="1" bgcolor="#FFFFFF"></td>
            <td width="150" height="30" bgcolor="#C7C7C7" style="padding-left:5px;"><strong style="color:#666666;">Date</strong></td>
          </tr>
    {LOOP: MESSAGES}
    <tr class="normal" style="IF("{MESSAGES.read}"=="0"){font-weight:bold;{:IF}">
      <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><a href="private.php?cmd=read&id={MESSAGES.id}">{MESSAGES.subject}</a></td>
      <td width="1" bgcolor="#FFFFFF"></td>
      <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><a href="profile.php?id={MESSAGES.from_id}">{MESSAGES.from_username}</a></td>
      <td width="1" bgcolor="#FFFFFF"></td>
      <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{MESSAGES.date}</td>
    </tr>
    <tr>
      <td colspan="5" height="1" bgcolor="#C7C7C7"></td>
    </tr>
    {/LOOP: MESSAGES} IF("{MESSAGE_COUNT}"=="0"){
		    <tr>
		      <td colspan="5" align="center" height="50"><strong>You currently have no messages</strong></td>
	      </tr>
		    <tr>
		      <td colspan="5" height="1" bgcolor="#C7C7C7"></td>
	      </tr>
		    {:IF}
        </table>
        <br>
        <br></td>
  </tr>
</table>
{OVERALL_FOOTER}
Return current item: PHPDug