摘要: function pc_grid_horizontal($array, $size) { $table_width = 100; $width = intval($table_width / $size); $tr = ''; $td = "%s"; $grid = "$tr"; $i = 0; foreach ($array as $e) { $grid .= s... 阅读全文
posted @ 2011-12-15 15:41 末世 阅读(349) 评论(0) 推荐(0) 编辑
摘要: $now = time(); $today = getdate(); $start_day = getdate($now - $today['yday'] * 3600 * 24);//获取今年第一天的时间戳 $first_sunday = $now - ($today['yday'] - (7 - $start_day['wday'])) * 3600 ... 阅读全文
posted @ 2011-12-15 10:33 末世 阅读(191) 评论(0) 推荐(0) 编辑