Lines Matching refs:meta
73 $meta = array('dlcount' => 0);
75 if (file_exists($metafn)) $meta = unserialize(io_readFile($metafn, false));
82 if ($meta['dlcount'] != 1) $s = 's'; else $s = '';
83 $txt['dlcount'] = $meta['dlcount'] . ' download' . $s;
84 …if (isset($meta['lastdl'])) $txt['dlcount'] = '<acronym title="Last download: ' . $this->time_tran…
101 $meta = array();
104 $meta = unserialize($metastring);
105 if (isset($meta['dlcount'])) {
106 $ctr = $meta['dlcount'];
114 $meta['lastdl'] = time();
115 $meta['dlusers'][] = array(
121 $meta['dlusers'] = array_slice($meta['dlusers'], -50); // only keep last 50 downloaders
125 $meta['dlcount'] = $ctr;
126 io_saveFile($metafn, serialize($meta));