/*************************************************************************** * Copyright (C) 2006 Artur Wiebe * * wibix@gmx.de * * * * 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, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ require_once("../../maincore.php"); require_once(BASEDIR."subheader.php"); require_once(BASEDIR."side_left.php"); require_once("include/common.php"); $mday = ""; unset($year, $month, $d); if(isset($_GET['y']) && isNum($_GET['y'])) { $year = $_GET['y']; } if(isset($_GET['m']) && isNum($_GET['m'])) { $month = $_GET['m']; } if(isset($_GET['d']) && isNum($_GET['d'])) { $d = $_GET['d']; } if(!isset($year) || !isset($month)) { $today = getdate(time()); $mday = $today['mday']; $month = $today['mon']; $year = $today['year']; } /* * birthday */ if(ec_check_access($ec_settings['show_birthday_to_group'])) { opentable($locale['EC401']); $query_id = dbquery("SELECT user_name, user_birthdate, user_id," ." user_avatar" ." FROM ".DB_PREFIX."users" ." WHERE MONTH(user_birthdate)='$month'"); if(!dbrows($query_id)) { echo "
".$locale['EC004'];
}
while($user = dbarray($query_id)) {
/* if($user['user_avatar']!="") {
echo "
";
}
*/
echo "