Exemple #1
0
									<a href="' . BASE_URL . '/user/profile/' . $run['user_id'] . '">' . $run['name'] . '</a></span>';
        if (isadmin($_COOKIE['user_id'])) {
            $unl = '';
            $uns = '';
            if ($run['locked'] == 1) {
                $unl = 'un';
            }
            if ($run['sticky'] == 1) {
                $uns = 'un';
            }
            echo '<div class="right forum-admin">
											<a href="' . BASE_URL . '/admin/forum/lock/' . $run['id'] . '">' . $unl . 'lock</a> / <a href="' . BASE_URL . '/admin/forum/stick/' . $run['id'] . '">' . $uns . 'sticky</a>
										</div>';
        }
        echo '		</td>
									<td style="border-right: 1px dotted #999;width: 15%;">' . fuzzy_time($run_replies[1]) . '<br /><span class="small grey">by 
									<a href="' . BASE_URL . '/user/profile/' . $run_replies[2] . '">' . $run_replies[3] . '</span></td>
									<td style="width: 5%;"><strong>' . $run_replies[0] . '
									</strong></td>
								</tr>';
    }
}
?>
			</table>
            </div>
            
            <div id="pages">
        	
				<?php 
$type = isset($_GET["type"]) ? $_GET['type'] . '/' : '';
if ($pagenum > 0) {
Exemple #2
0
    ?>
" />
										<a href="<?php 
    echo BASE_URL . '/user/profile/' . $run_block['owner_id'];
    ?>
"><?php 
    echo $run_block['name'];
    ?>
</a>
									</span>
									<span class="time">
										<abbr class="time" title="<?php 
    echo date('D M j h:m:s', strtotime($run_block['posted']));
    ?>
"><?php 
    echo fuzzy_time($run_block['posted']);
    ?>
</abbr>
									</span>
								</span>
					
								<div class="content">
									<p>
										<?php 
    echo schmancy(stripslashes(nl2br($run_block['comment'])), 'comment');
    ?>
									</p>
								</div>
								<div class="actions">
									<span class="self">
									</span>
Exemple #3
0
    ?>
" />
							<a href="<?php 
    echo BASE_URL . '/user/profile/' . $run['user_id'];
    ?>
"><?php 
    echo $run['name'];
    ?>
</a>
						</span>
						<span class="time">
							<abbr class="time" title="<?php 
    echo date('D M j h:m:s', strtotime($run_block['posted']));
    ?>
"><?php 
    echo fuzzy_time($run['posted_at']);
    ?>
</abbr>
						</span>
					</span>
		
					<div class="content forum">
						<p>
							<?php 
    echo schmancy($post);
    ?>
						</p>
						<br /><br /><br />
						<span class="grey">
							<?php 
    if ($run['user_id'] == $_COOKIE['user_id'] || isadmin($_COOKIE['user_id'])) {