Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
print '</a><br/>';
// do we have new pictures?
$time_new = strtotime("-1 day"); //change this to whatever time frame you would like i.e. -1 week or -3 days
$image_time = intval($time_new) - 60; // set a default non-new time in case there are no pictures
$sql = "SELECT `date_submitted` FROM ".TABLE_PREFIX."pictures WHERE `parent_collection` = '".plogger_get_collection_id()."' ORDER BY date_submitted ASC";
$result = run_query($sql);
while ($row = mysql_fetch_array($result)) {
$image_time = strtotime($row['date_submitted']); // overwrites the $image_time variable with the date_submitted information from the database
}
if ($image_time > $time_new) {
print '<img src="new.gif" alt="new pictures" />'; // output your image here
}
print plogger_download_checkbox(plogger_get_collection_id());
print '</a> <br />';
// do we have new pictures?
$time_new = strtotime("-1 day"); //change this to whatever time frame you would like i.e. -1 week or -3 days
$image_time = intval($time_new) - 60; // set a default time in case there are no pictures
$sql = "SELECT `date_submitted` FROM ".TABLE_PREFIX."pictures WHERE `parent_album` = '".plogger_get_album_id()."' ORDER BY date_submitted ASC";
$result = run_query($sql);
while ($row = mysql_fetch_array($result)) {
$image_time = strtotime($row['date_submitted']); // overwrites the $image_time variable with the date_submitted information from the database
}
if ($image_time > $time_new) {
print '<img src="new.gif" alt="new pictures" />'; // output your image here
}
print plogger_download_checkbox(plogger_get_album_id());
print '<li class="thumbnail"><div class="tag"><a href="' . plogger_get_picture_url() . '">' . $imgtag . "</a><br />";
// do we have new pictures?
$time_new = strtotime("-1 day"); //change this to whatever time frame you would like i.e. -1 week or -3 days
$image_time = strtotime(plogger_get_picture_date('Y-m-d H:i:s', true)); // set a default time in case there are no pictures
if ($image_time > $time_new) {
print '<img src="new.gif" alt="new pictures" />'; // output your image here
}
print plogger_download_checkbox(plogger_get_picture_id());
$new = '<img src="new.gif" alt="new pictures" />'; // output your image here
print '<img src="new.gif" alt="new pictures" />'; // output your image here
print plogger_download_checkbox(plogger_get_picture_id());
print '</div></li>';
1 to 12 of 12