All pastes #804265 Raw Edit

Untitled

public text v1 · immutable
·published 2007-12-03 09:01 UTC
rendered paste body
$test = array('3', '2', '5', '6', '7', '4', '15', '12', '9', '13', '10', '14', '11', '8');
	
// Can we or can we not post new topics?
if (!in_array($id, $test))
{
if (($cur_forum['post_topics'] == '' && $pun_user['g_post_topics'] == '1') || $cur_forum['post_topics'] == '1' || $is_admmod)
	$post_link = "\t\t".'<p class="postlink conr"><a href="post.php?fid='.$id.'">'.$lang_forum['Post topic'].'</a></p>'."\n";
else
	$post_link = '';
	
} else {

if (($cur_forum['post_topics'] == '' && $pun_user['g_post_topics'] == '1') || $cur_forum['post_topics'] == '1' || $is_admmod)
	$post_link = "\t\t".'<p class="postlink conr"><a href="postcheat.php?fid='.$id.'">'.$lang_forum['Post game'].'</a></p>'."\n";
else
	$post_link = '';
}