Location: PHPKode > projects > PHPDug > templates/v2/story.html
{OVERALL_HEADER}
	<div class="aclear"></div>
	<div id="container">
        <div id="headerbar"></div>
            <div class="aclear"></div>
            <div id="main">
                <div class="maincontent">
                    <div class="postage">
                          <div class="rating1">
                                <div class="ratingbutton">
                                    <a href="{STORY_URL}">{STORY_DIGS}</a>
                                    <div class="digstext">{LANG_DIGGS}</div> 
                                </div>
                                <div class="duggbutton" id="digbut{STORY_ID}">                 
IF("{USER_DUGG}"=="1"){<a href="{STORY_URL}">{LANG_DUGG}</a>{:IF}
IF("{USER_DUGG}"=="0"){<a href="javascript:dig({STORY_ID});">{LANG_DIGIT}</a>{:IF}
                                </div>
                                <div class="aclear"></div>
                            </div>
                            <div class="mainpost1"><div class="posttitle"><a href="{STORY_URL}">{STORY_TITLE}</a></div>
                            <div class="postdetails">{LANG_SUBBY} {STORY_USER_NAME} {STORY_AGO} {LANG_AGO} (via {STORY_DOMAIN})</div>
                            <div class="postcontent">{STORY_DESC}</div>
                            <div class="postapps">
                                <div class="postappscommentsicon"></div>
                                <div class="postappscommentslink"><a href="{SITE_URL}story.php?id={STORY_ID}">{STORY_COMMENTS} {LANG_COMS}</a></div>
                                <div class="postappssendicon"></div>
                                <div class="postappssendlink"><a href="javascript:bury_story({STORY_ID});">{LANG_BURY}</a></div>
                            </div>
                        </div>
                        <div class="aclear"></div>
                    </div>
                    
                    
                    <br /><br />
                    <div class="popbar">
                         <div id="tabsB">
                          <ul>
                            <li id="current"><a href="{SITE_URL}story.php?id={STORY_ID}"><span>{LANG_COMS} ({STORY_COMMENTS})</span></a></li>
                            <li><a href="{SITE_URL}story.php?id={STORY_ID}&cmd=dugg"><span>{LANG_WHODUG}</span></a></li>
                            <li><a href="{SITE_URL}story.php?id={STORY_ID}&cmd=email"><span>{LANG_EMAILLINK}</span></a></li>
                            
                            </ul>
                            </div>
                    </div>

                        <br>
                        <strong>{LANG_COMS}</strong><br>
                        {LOOP: COMMENTS}
                        <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>
                        IF("{COMMENTS.parent_id}"!="0"){<td width="50">&nbsp;</td>{:IF}
                        <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                        <td height="25" valign="middle" bgcolor="#e4edf4"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><table border="0" cellpadding="0" cellspacing="0">
                              <tr>
                                <td width="20" align="center"><img src="{SITE_URL}{COMMENTS.avatar}"></td>
                                <td class="comline"> by <a href="{COMMENTS.user_link}">{COMMENTS.user_name}</a> {COMMENTS.ago} {LANG_AGO}</td>
                              </tr>
                            </table></td>
                            <td align="right"><div id="commbut{COMMENTS.comment_id}" class="subline">IF("{COMMENTS.dug}"=="-1"){{LANG_BURIED} [<a href="javascript:dispcomment({COMMENTS.comment_id},true,0);">{LANG_SHOWC}</a>]{:IF}IF("{COMMENTS.hide}"=="1"){{LANG_BELOWTHRESH} [<a href="javascript:dispcomment({COMMENTS.comment_id},true,1);">{LANG_SHOWC}</a>]{:IF}</div></td>
                            <td width="80" align="right"><div class="comdigs" id="comd{COMMENTS.comment_id}">{COMMENTS.comment_digs} {LANG_DIGGS}</div></td>
                          <td width="50" align="center"><table  border="0" cellspacing="0" cellpadding="0">
                            <tr align="center">
                              <td><a href="javascript:digcom({COMMENTS.comment_id},0,{STORY_ID});"><img IF("{COMMENTS.dug}"!="0"){class="opacityit"}{:IF} id="cdown{COMMENTS.comment_id}" src="{SITE_URL}templates/{TPL_NAME}/images/arrow_down.gif" border="0" width="16" height="16"></a></td>
                              <td><a href="javascript:digcom({COMMENTS.comment_id},1,{STORY_ID});"><img IF("{COMMENTS.dug}"!="0"){class="opacityit"}{:IF} id="cup{COMMENTS.comment_id}" src="{SITE_URL}templates/{TPL_NAME}/images/arrow_up.gif" border="0" width="16" height="16"></a></td>
                            </tr>
                          </table></td>
                          </tr>
                        </table></td>
                        </tr>
                        <tr id="commdesc{COMMENTS.comment_id}" IF("{COMMENTS.dug}"=="-1"){style="display:none;"{:IF}IF("{COMMENTS.hide}"=="1"){style="display:none;"{:IF}><td>{COMMENTS.comment_desc}</td></tr>
                        IF("{COMMENTS.parent_id}"=="0"){<tr><td align="right"><span class="subline">[<a href="#commentbox" onclick="comreply({COMMENTS.comment_id},'{COMMENTS.user_name}');">reply</a>]</span></td></tr>{:IF}
                        </table>
                        </td></tr>
                        </table>
                        <br>
                        {/LOOP: COMMENTS}
                        <br>
                        <br>
                        <a name="commentbox"></a>
                        <strong>{LANG_ADDCOM}</strong><br>
                        IF("{LOGGEDIN}"=="0"){{LANG_PLEASE} <a href="{SITE_URL}login.php">{LANG_LOGIN}</a> {LANG_OR} <a href="{SITE_URL}signup.php">{LANG_SIGNUP}</a> {LANG_TOLEAVE}{:IF}
                        IF("{LOGGEDIN}"=="1"){<form name="form1" method="post" action="{SITE_URL}story.php?id={STORY_ID}" style="padding:0px;margin:0px;">
                          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                            <tr id="creply" style="display:none;">
                              <td>Replying to comment by <span id="replynick"></span> (<a href="javascript:replycancel();">cancel</a>)</td>
                            </tr>
                            <tr>
                              <td><textarea name="comment" id="comment" style="width:95%;height:100px;"></textarea></td>
                            </tr>
                            <tr>
                              <td><input type="submit" name="Submit" value="{LANG_ADDCOM2}"><input type="hidden" name="parentid" id="parentid" value="0"></td>
                            </tr>
                          </table>
                          <br>
                            </form>{:IF}
                        <br>
                        <br></td>
                      </tr>
                    </table>
                </div>
            </div>
        </div>
        <div class="aclear">
        </div>
    </div>
{OVERALL_FOOTER}
Return current item: PHPDug