?> <a href="<?php echo $cfg['siteurl'] . 'tag/' . $foto_tag['term_id'] . '-' . $foto_tag['slug'] . '.html'; ?> "><?php echo $foto_tag['name']; ?> </a> <?php } } ?> ]]> </content:encoded> <enclosure url="<?php echo fotourl($foto->imageURL); ?> " type="image/jpeg" /> <?php do_action('rss2_item'); ?> </item> <?php } } ?> </channel> </rss>
} else { header('Location: /tags.php'); } //输出keywords $keywords = $_GET['tag'] . ',' . $cfg['keywords']; //输出description $description = $cfg['description']; //输出canonical $canonical = canonical($tag->term_id, $tag->slug); require_once './inc/html/head.html'; ?> <div id='main'> <?php foreach ($fotos as $foto) { ?> <a href="/foto/<?php echo $foto->pid; ?> .html"><img src="<?php echo fotourl($foto->thumbURL); ?> " alt="<?php echo fotourl($foto->alttext); ?> " /></a> <?php } ?> </div> <?php require_once './inc/html/foot.html';