摘要:
function ago($timestamp){ $difference = time() - $timestamp; $text = format_interval($difference, 2) . " 前"; return $text; }=--------------------------调用-----------ago($test->node_created) 例;1小时30分... 阅读全文
摘要:
theme_image例;theme_image(($test->users_picture),'user/'.$test->uid) 阅读全文