Sayfalarda üye bilgilerini görüntüleme
| Gökhan YILDIZ |
|
|---|---|
|
Bu şekil deneme yapabilirsin. Mantık bu şekilde. (Kodları test etmedim.)
$userinfo = $db->query("SELECT user_country, user_timezone, user_birthdate FROM cot_users WHERE ".$pag['page_ownerid']."");
foreach ($userinfo->fetchAll() as $info)
{
$country = $info['user_country'];
$timezone = $info['user_timezone'];
$birthdate = $info['user_birthdate'];
}
$t->assign(cot_generate_usertags($info, 'PAGE_USER_INFO'));
$t->assign(array(
'PAGE_USER_COUNTRY' => $country,
'PAGE_USER_TIMEZONE' => $timezone,
'PAGE_USER_BIRTHDATE' => $birthdate
));
Gökhan YILDIZ
|