Files
oc-server3/local/stat/newimages.php
T
following 22e98f5e00 docs and utils cleanup / update / lib2-ports
and added cache name trimming, see util2/cache_repairnames/repairnames.cpp
2013-07-17 17:21:10 +02:00

26 lines
632 B
PHP

<?php
/***************************************************************************
* For license information see doc/license.txt
*
* Unicode Reminder メモ
***************************************************************************/
// list of new images
chdir ("../..");
require('lib2/web.inc.php');
if (!isset($_REQUEST['since']))
exit;
$since = $_REQUEST['since'];
$rs = sql("SELECT url FROM pictures
WHERE date_created >= '2013' AND date_created >= '&1'
ORDER BY date_created",
$since);
while ($pic = sql_fetch_assoc($rs))
echo $pic['url'] . "\n";
mysql_free_result($rs);
?>