*
* @license http://nucleuscms.org/license.txt GNU General Public License
* @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: BLOG.php,v 1.5 2007-04-20 08:20:31 kimitake Exp $
- * $NucleusJP: BLOG.php,v 1.4 2007/03/22 09:23:58 kimitake Exp $
+ * @version $Id: BLOG.php,v 1.5.2.1 2007-05-01 08:38:53 kimitake Exp $
+ * $NucleusJP: BLOG.php,v 1.5 2007/04/20 08:20:31 kimitake Exp $
*/
if ( !function_exists('requestVar') ) exit;
$items = sql_query($query);
// loop over all items
+ $old_date = 0;
while ($item = mysql_fetch_object($items)) {
$item->timestamp = strtotime($item->itime); // string timestamp -> unix timestamp
$actions->setCurrentItem($item);
// add date header if needed
- $old_date = 0;
if ($dateheads) {
$new_date = date('dFY',$item->timestamp);
if ($new_date != $old_date) {
}
-?>
\ No newline at end of file
+?>
*
* @license http://nucleuscms.org/license.txt GNU General Public License
* @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: BLOG.php,v 1.12 2007-04-13 16:51:49 shizuki Exp $
- * $NucleusJP: BLOG.php,v 1.11 2007/03/20 19:31:29 kmorimatsu Exp $
+ * @version $Id: BLOG.php,v 1.12.2.1 2007-05-01 08:39:01 kimitake Exp $
+ * $NucleusJP: BLOG.php,v 1.12 2007/04/13 16:51:49 shizuki Exp $
*/
if ( !function_exists('requestVar') ) exit;
$items = sql_query($query);
// loop over all items
+ $old_date = 0;
while ($item = mysql_fetch_object($items)) {
$item->timestamp = strtotime($item->itime); // string timestamp -> unix timestamp
$actions->setCurrentItem($item);
// add date header if needed
- $old_date = 0;
if ($dateheads) {
$new_date = date('dFY',$item->timestamp);
if ($new_date != $old_date) {
}
-?>
\ No newline at end of file
+?>