2013-11-25, 09:59 PM
Hi, I run http://revenueden.com
I need help regarding a simple custom php page I'm making, a ban list. I lack the skills to code and incorporate simple commands. But if anyone out there can help me out I'd really appreciate it.
My current progress: http://revenueden.com/banlist.php
PHP coding
HTML coding
it's a code that I extracted from an existing banlist plugin which can be viewed here http://revenueden.com/misc.php?page=banlist
In fact I need to make it exactly like that, but without any plugins and querries. Thanks
I need help regarding a simple custom php page I'm making, a ban list. I lack the skills to code and incorporate simple commands. But if anyone out there can help me out I'd really appreciate it.
My current progress: http://revenueden.com/banlist.php
PHP coding
<?php
define('IN_MYBB', 1);
require_once("global.php");
add_breadcrumb("Ban List", $_SERVER['PHP_SELF']);
eval("\$page = \"".$templates->get("ban_list")."\";");
output_page($page);
?>
HTML coding
<html>
<head>
<title>RevenueDen Ban List</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr><td class="thead" colspan="5"><strong>{$lang->ban_banned}</strong></td></tr>
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->reason}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->ban_bannedby}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->start_date}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->end_date}</strong></span></td>
</tr>
{$bannedtablerows}
</table>
{$footer}
</body>
</html>
it's a code that I extracted from an existing banlist plugin which can be viewed here http://revenueden.com/misc.php?page=banlist
In fact I need to make it exactly like that, but without any plugins and querries. Thanks