Location: PHPKode > projects > PHPDug > templates/simple/story_email.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%" cellpadding="0" cellspacing="0">
	<tr><td width="60" 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{STORY_ID}">{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{STORY_ID}">IF("{USER_DUGG}"=="1"){{LANG_DUGG}{:IF}IF("{USER_DUGG}"=="0"){<a href="javascript:dig({STORY_ID});">{LANG_DIGIT}</a>{:IF}</div></td>
      </tr>
    </table></td>
    </tr></table></td>
	<td valign="top">
	  <table width="100%" height="70"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td valign="top"><a href="{STORY_URL}">{STORY_TITLE}</a></td>
        </tr>
		<tr>
		<td height="20"><span class="subline">{LANG_SUBBY} <a href="{PROFILE_LINK}">{STORY_USER_NAME}</a></span></td>
		</tr>
        <tr>
          <td valign="top">{STORY_DESC}</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td valign="bottom"><span class="bottomlinks">{LANG_TOPIC}: <a href="{CAT_URL}">{CAT_TITLE}</a> IF("{STORY_TAGS}"!=""){&nbsp; {LANG_TAGTITLE}: {STORY_TAGS_LINKS}{:IF}</span></td>
        </tr>
      </table></td></tr>
	</table>
	<br>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-bottom: 1px solid #dedede;">
<tr>
<td><div id="tabsB">
	  <ul>
<li><a href="{SITE_URL}story.php?id={STORY_ID}"><span>Comments ({STORY_COMMENTS})</span></a></li>
<li><a href="{SITE_URL}story.php?id={STORY_ID}&cmd=dugg"><span>Who Dugg this story?</span></a></li>
<li id="current"><a href="{SITE_URL}story.php?id={STORY_ID}&cmd=email"><span>Email This Link</span></a></li>
</ul>
</div></td>
</tr>
</table>
	  <br>
	<form name="form1" method="post" action="story.php" style="padding:0px;margin:0px;">
	IF("{MESSAGE}"!=""){<strong class="green">{MESSAGE}</strong><br><br>{:IF}
	  <strong>Your friends email address </strong><br>
      <input name="email" type="text" id="email" size="40" maxlength="255">
      <br>
      <br>
      <strong>The following is what will be sent to your friend</strong><br>
      <table width="500" border="0" cellspacing="0" cellpadding="1">
        <tr>
          <td bgcolor="#e7e4e1"><table width="100%" border="0" cellpadding="4" cellspacing="0">
            <tr>
              <td bgcolor="#f9f7f4">{SITE_TITLE} user {USERNAME} would like to share this story with you:<br>
                  <br>
      {EMAIL_URL}</td>
            </tr>
          </table></td>
        </tr>
      </table>
      <br>
      <br>
      <input type="submit" name="Submit" value="Send Message">
	  <input type="hidden" name="id" value="{STORY_ID}">
	      </form>
	<br> 
	</td>
  </tr>
</table>
{OVERALL_FOOTER}
Return current item: PHPDug