|
||
Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30 Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30 Notice: Undefined index: codedivider in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31 Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31 Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31 Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30 Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30 Notice: Undefined index: codedivider in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31 Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31 Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31 Display.template.php'de.. Bulun: // Show how many posts they have made. Öncesine ekleyin: // Calculate their age! Hopefully they are not too old ;) if (!empty($message['member']['birth_date'])) { if ($message['member']['birth_date'] != '0000-00-00') { list ($birth_year, $birth_month, $birth_day) = sscanf($message['member']['birth_date'], '%d-%d-%d'); $datearray = getdate(forum_time()); $message['member'] += array( 'age' => empty($birth_year) ? $txt[470] : $datearray['year'] - $birth_year - (($datearray['mon'] > $birth_month || ($datearray['mon'] == $birth_month && $datearray['mday'] >= $birth_day)) ? 0 : 1), 'today_is_birthday' => $datearray['mon'] == $birth_month && $datearray['mday'] == $birth_day ); } } // Age if (!empty($message['member']['age'])) echo ' Yaş: ', $message['member']['age'], '<br />'; Hoochie Coochie Man™ 'a teşekkürler. |
||