Location: PHPKode > projects > PHPDug > templates/simple/profile.html
{OVERALL_HEADER}
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200" valign="top">
	IF("{LOGGEDIN}"=="0"){<a href="{SITE_URL}signup.php">{LANG_JOIN}</a><br><a href="{SITE_URL}login.php">{LANG_LOGIN}</a><br>{:IF}
	IF("{LOGGEDIN}"=="1"){<a href="{SITE_URL}editprofile.php">{LANG_EDITPROFILE}</a><br>{:IF}
      <a href="{SITE_URL}add_story.php">{LANG_SUBMITS}</a><br>
	IF("{LOGGEDIN}"=="1"){<a href="{SITE_URL}logout.php">{LANG_LOGOUT}</a><br>{:IF}
      <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"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="55"><img src="{SITE_URL}{USER_AVATAR}"></td>
        <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><strong>{USERNAME}</strong> </td>
          </tr>
          <tr>
            <td><a href="{SITE_URL}profile.php?id={USER_ID}&cmd=dugg">{LANG_DUGG}</a> | <a href="{SITE_URL}profile.php?id={USER_ID}&cmd=submitted">submitted</a> | <a href="{SITE_URL}profile.php?id={USER_ID}&cmd=commented">commented</a> IF("{MAILBOX_EN}"=="1"){| <a href="{SITE_URL}private.php?toid={USER_ID}&cmd=send">Private Message</a>{:IF}</td>
          </tr>
        </table></td>
      </tr>
    </table>
      <br>
	<br>
	{LOOP: DUGG}
	<table width="100%" cellpadding="0" cellspacing="0" style="padding-bottom:20px;">
	<tr id="storyb{DUGG.story_id}" IF("{DUGG.buried}"=="1"){style="filter:Alpha(Opacity=80);opacity:.2;" disabled{:IF}><td width="65" align="left" valign="top"><table border="0" cellspacing="0" cellpadding="0"><tr><td background="{SITE_URL}templates/{TPL_NAME}/images/digg_back.jpg"><table width="52" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center" height="28" valign="bottom"><div class="digs" id="numdigs{DUGG.story_id}">{DUGG.story_digs}</div></td>
      </tr>
	  <tr>
	  <td height="24" align="center" valign="middle"><span class="digg">{LANG_DIGGS}</span></td>
	  </tr>
      <tr>
        <td height="2"></td>
      </tr>
      <tr>
           <td height="25" align="center"><div class="digit" id="digbut{DUGG.story_id}">IF("{DUGG.dugg}"=="1"){{LANG_DUGG}{:IF}
		   IF("{DUGG.dugg}"=="0"){<a href="javascript:dig({DUGG.story_id});">{LANG_DIGIT}</a>{:IF}</div></td>
      </tr>
    </table></td></tr></table></td>
	<td valign="top">
	<div>
	  <table width="100%" height="70"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td valign="top"><a href="{DUGG.story_link}">{DUGG.story_title}</a></td>
        </tr>
		<tr>
		<td height="20"><table border="0" cellpadding="0" cellspacing="0"><tr><td width="21"><img src="{SITE_URL}{DUGG.avatar}"></td>
		<td><span class="subline">{LANG_SUBBY} <a href="{DUGG.user_link}">{DUGG.user_name}</a> {DUGG.ago} ago (via {DUGG.domain})</span></td></tr></table></td>
		</tr>
        <tr>
          <td valign="top">{DUGG.story_desc}</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td valign="bottom"><span class="bottomlinks"><a href="{DUGG.story_link}#comments">{DUGG.story_comments} {LANG_COMS}</a> - <a href="{DUGG.story_link}">{LANG_MORE}</a> - <a href="javascript:bury_story({DUGG.story_id});">{LANG_BURY}</a> &nbsp; {LANG_TOPIC}: <a href="{DUGG.cat_link}">{DUGG.cat_title}</a></span></td>
        </tr>
      </table></div></td>
	  IF("{DUGG.story_thumb}"!=""){<td width="90" valign="top" align="right"><a href="{DUGG.story_url}"><img src="{SITE_URL}images/thumbs/{DUGG.story_thumb}.jpg" alt="Watch Video" width="86" height="72" border="0"></a></td>
	  {:IF}
	  </tr>
	<!--<tr><td colspan="2">&nbsp;</td></tr>-->
	</table>
	{/LOOP: DUGG}
	<br><Br>
	{LANG_PAGES}: {LOOP: PAGES}<a href="{PAGES.link}">{PAGES.title}</a> {/LOOP: PAGES}<br></td>
  </tr>
</table>
{OVERALL_FOOTER}
Return current item: PHPDug