Exemplo n.º 1
0
</dd>
					<dd class="usercontacts"><?php 
        echo $nick_copy;
        ?>
</dd>
				</dl>
			</div>
			<div class="postright">
				<div class="postmsg">
					<?php 
        echo $cur_post['message'];
        ?>
				</div>
			</div>
			<div class="clearer"></div>
			<div class="postfootright"><ul><li class="postquote"><a onmouseover="C2C.get_quote_text();" href="#" onclick="C2C.paste_quote('<?php 
        echo pun_jsspecialchars($q_poster) . '|' . $cur_post['id'];
        ?>
'); return false;"><?php 
        echo $lang_topic['Quote'];
        ?>
</a></li></ul></div>
		</div>
	</div>
<?php 
    }
    ?>
</div>
<?php 
}
require PUN_ROOT . 'footer.php';
Exemplo n.º 2
0
             }
         }
     }
 } else {
     $post_actions[] = '<li class="postreport"><a href="misc.php?report=' . $cur_post['id'] . '">' . $lang_topic['Report'] . '</a>';
     if ($is_first_post) {
         $post_actions[] = '<li class="movepost"><a href="moderate.php?fid=' . $forum_id . '&amp;move_topics=' . $id . '">' . $lang_topic['Move'] . '</a>';
     } else {
         $post_actions[] = '<li class="movepost"><a href="movepost.php?id=' . $cur_post['id'] . '">' . $lang_topic['Move'] . '</a>';
     }
     $post_actions[] = '<li class="postedit"><a href="edit.php?id=' . $cur_post['id'] . '">' . $lang_topic['Edit'] . '</a>';
     if ($mobile_version) {
         $post_actions[] = '<li class="postquote"><a onmouseover="C2C.get_quote_text();" href="post.php?tid=' . $id . '&amp;qid=' . $cur_post['id'] . '" onclick="return C2C.paste_quote(\'' . pun_jsspecialchars($q_poster) . '|' . $cur_post['id'] . '\');">' . $lang_topic['Quote short'] . '</a>';
     } else {
         $post_actions[] = '<li class="postquote"><a href="post.php?tid=' . $id . '&amp;qid=' . $cur_post['id'] . '">' . $lang_topic['Quoted reply'] . '</a>';
         $post_actions[] = '<li class="postquote"><a onmouseover="C2C.get_quote_text();" href="#" onclick="C2C.paste_quote(\'' . pun_jsspecialchars($q_poster) . '|' . $cur_post['id'] . '\');return false;">' . $lang_topic['Quote'] . '</a>';
         //Move Post Mod 1.2 row - Quick Quote
     }
     //  Remove '<li class="postdelete"><a href="delete.php?id='.$cur_post['id'].'">'.$lang_topic['Delete'].'</a>'.$lang_topic['Link separator'].'</li>' because delete function occurs high server load.
     // To be put back when this function will be corrected. (bad english but titise fait expres !)
 }
 // Switch the background color for every message.
 $bg_switch = $bg_switch ? $bg_switch = false : ($bg_switch = true);
 $vtbg = $bg_switch ? ' roweven' : ' rowodd';
 // Perform the main parsing of the message (BBCode, smilies, censor words etc)
 $cur_post['message'] = parse_message($cur_post['message'], $cur_post['hide_smilies'], $post_id_list);
 // Do signature parsing/caching
 if ($poster_data['signature'] != '' && $pun_user['show_sig'] != '0') {
     if (isset($signature_cache[$cur_post['poster_id']])) {
         $signature = $signature_cache[$cur_post['poster_id']];
     } else {