</li> </ul> </div> <div class="list_panel"> <div id="update_check"> <script type="text/javascript" src="http://peoplepods.net/versioncheck/<?php echo $POD->libOptions('peoplepods_api'); ?> ?version=<?php echo $POD->VERSION; ?> "></script> </div> <h1 style="margin:0px"><?php $POD->siteName(); ?> </h1> </div> <?php if (isset($message)) { ?> <div class="info"><?php echo $message; ?> </div> <?php } ?> <?php
case 'search': $params['or'] = array('headline:like' => "%{$value}%", 'body:like' => "%{$value}%"); array_push($conditions, "Matching '{$value}'"); break; case 'type': $params['type'] = $value; $type = ucwords($value . 's'); break; } } } else { $params['1'] = '1'; } $count = 20; $DOCS = $POD->getContents($params); $description = "{$scope} {$type} " . implode(" and ", $conditions) . " from " . $POD->siteName(false); $year = date("Y"); $rss = new rss('utf-8'); $rss->channel(xmlformat($description), $POD->siteRoot(false), xmlformat($description)); $rss->language('en-us'); $rss->copyright('Copyright ' . $year . ' ' . $POD->siteName(false)); $rss->startRSS(); while ($doc = $DOCS->getNext()) { $rss->itemTitle(xmlformat($doc->get('headline'))); if ($doc->get('link')) { $rss->itemLink($doc->get('link')); } else { $rss->itemLink($doc->get('permalink')); } $nTimestamp = strtotime($doc->get('date')); $sISO8601 = date('Y-m-d\\Th:i:s', $nTimestamp) . substr_replace(date('O', $nTimestamp), ':', 3, 0);