Exemplo n.º 1
0
    if ($ThreadID) {
        ?>
			<br /><br />
			<em><a href="forums.php?action=viewthread&amp;threadid=<?php 
        echo $ThreadID;
        ?>
">Discuss this post here</a></em>
<?php 
        if (check_perms('admin_manage_blog')) {
            ?>
			<a href="blog.php?action=deadthread&amp;id=<?php 
            echo $BlogID;
            ?>
&amp;auth=<?php 
            echo $LoggedUser['AuthKey'];
            ?>
" class="brackets">Remove link</a>
<?php 
        }
    }
    ?>
		</div>
	</div>
	<br />
<?php 
}
?>
</div>
<?php 
View::show_footer();
Exemplo n.º 2
0
?>
		<div id="more_news" class="box">
			<div class="head">
				<em><span><a href="#" onclick="news_ajax(event, 3, <?php 
echo $NewsCount;
?>
, <?php 
echo check_perms('admin_manage_news') ? 1 : 0;
?>
, false); return false;">Click to load more news</a>.</span> To browse old news posts, <a href="forums.php?action=viewforum&amp;forumid=19">click here</a>.</em>
			</div>
		</div>
	</div>
</div>
<?php 
View::show_footer(array('disclaimer' => true));
function contest()
{
    global $DB, $Cache, $LoggedUser;
    list($Contest, $TotalPoints) = $Cache->get_value('contest');
    if (!$Contest) {
        $DB->query("\n\t\t\tSELECT\n\t\t\t\tUserID,\n\t\t\t\tSUM(Points),\n\t\t\t\tUsername\n\t\t\tFROM users_points AS up\n\t\t\t\tJOIN users_main AS um ON um.ID = up.UserID\n\t\t\tGROUP BY UserID\n\t\t\tORDER BY SUM(Points) DESC\n\t\t\tLIMIT 20");
        $Contest = $DB->to_array();
        $DB->query("\n\t\t\tSELECT SUM(Points)\n\t\t\tFROM users_points");
        list($TotalPoints) = $DB->next_record();
        $Cache->cache_value('contest', array($Contest, $TotalPoints), 600);
    }
    ?>
<!-- Contest Section -->
		<div class="box box_contest">
			<div class="head colhead_dark"><strong>Quality time scoreboard</strong></div>
Exemplo n.º 3
0
</strong><br /><br />
<?php 
    }
    ?>
 A strong password is 8 characters or longer, contains at least 1 lowercase and uppercase letter, and contains at least a number or symbol, or is 20 characters or longer.<br /><br />
		<table class="layout" cellpadding="2" cellspacing="1" border="0" align="center" width="100%">
			<tr valign="top">
				<td align="right" style="width: 100px;">Password&nbsp;</td>
				<td align="left"><input type="password" name="password" id="new_pass_1" class="inputtext" /> <strong id="pass_strength"></strong></td>
			</tr>
			<tr valign="top">
				<td align="right">Confirm Password&nbsp;</td>
				<td align="left"><input type="password" name="verifypassword" id="new_pass_2" class="inputtext" /> <strong id="pass_match"></strong></td>
			</tr>
			<tr>
				<td colspan="2" align="right"><input type="submit" name="reset" value="Reset!" class="submit" /></td>
			</tr>
		</table>
<?php 
} else {
    ?>
		Your password has been successfully reset.<br />
		Please <a href="login.php">click here</a> to log in using your new password.
<?php 
}
?>
	</div>
</form>
<?php 
View::show_footer(['recover' => true]);