









<?php


/************************************************************************/
/* United-Nuke: hjosef.net */
/* =========================== */
/* */
/* Copyright (c) 2007 by dracek */
/* http://hjosef.net */
/* members block for united nuke db */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/


if (eregi("block-members.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
global $user_id, $user_email, $username, $sitename, $prefix, $db;
$content .="<table cellpadding=\"0\" cellspacing=\"0\" width=\"160\"><tr><td height=\"100%\">\n";
$result = $db->sql_query("SELECT user_id, user_email, username FROM ".$prefix."_users ORDER BY username");
while(list($user_id, $user_email, $username) = $db->sql_fetchrow($result)) { 
$content .="<ul><li><a href=\"mailto:$user_email?subject=posláno ze $sitename\">$username</a></li>\n";
$content .= "</ul>";
}
$content .= "</td></tr></table>";


?>



Obsah fóra BLASSENweb » Moduly
|
|