' . $label;
 for ($i = 0, $count = count($array); $i < $count; $i++) {
 if ($i === 0) {
 $result = $result . ' [' . htmlspecialchars($values\[$i\], ENT\_QUOTES) . '](/content/Blog/?%27.$query_param.%27=%27%20.%20$array[0]%20.%20$anchor%20.%20%27/index.html)';
 } else {
 $result = $result . $separator . ' [' . htmlspecialchars($values\[$i\], ENT\_QUOTES) . '](/content/Blog/?%27.$query_param.%27=%27%20.%20$array[$i]%20.%20$anchor%20.%20%27/index.html)';
 }
 }
 $result = $result . '';
 }
 return $result;
 }
}

if(!function\_exists("buildTagLinks")) {
 function buildTagLinks($array, $values) {
 global $tag\_text, $tag\_separator, $anchor;
 return buildFilterLinks($array, $values, $tag\_text, $tag\_separator, 'p', 'blog-entry-tags', 'tag');
 }
}

if(!function\_exists("buildCategoryLinks")) {
 function buildCategoryLinks($array, $values) {
 global $category\_text, $category\_separator;
 return buildFilterLinks($array, $values, $category\_text, $category\_separator, 'span', 'blog-entry-category', 'category');
 }
}

if(!function\_exists("buildAuthorLinks")) {
 function buildAuthorLinks($array, $values) {
 global $author\_text, $author\_separator;
 return buildFilterLinks($array, $values, $author\_text, $author\_separator, 'span', 'blog-entry-author', 'author');
 }
}

// if(!function\_exists("buildAuthorLinks")) {
// function buildAuthorLinks($array, $str1) {
// global $author\_text, $anchor;
// $result = '' . $author\_text;
// if (isset($array\[0\])) {
// $result = $result . ' [' . htmlspecialchars($str1, ENT\_QUOTES) . '](/content/Blog/?author=%27%20.%20$array[0]%20.%20$anchor%20.%20%27/index.html)';
// }
// $result = $result . '';
// return $result;
// }
// }

if(!function\_exists("buildTagArchive")) {
 function buildTagArchive() {
 global $tag\_archive, $tag\_text, $tag\_separator, $anchor, $archive\_style;
 ksort($tag\_archive);
 $i = 0;
 $len = count($tag\_archive);
 $result = "";
 if ($len > 0) {
 switch ($archive\_style) {
 case "rw":
 $result = '

';
 foreach ($tag\_archive as $key => $value) {
 $result = $result . '- [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?tag=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)';
   }
   $result = $result . '

';
 break;
 case "custom":
 foreach ($tag\_archive as $key => $value) {
 if ($i == 0) {
 $result = $result . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?tag=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)';
 } else {
 $result = $result . $tag\_separator . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?tag=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)';
 }
 $i++;
 }
 break;
 case "multiple\_lines":
 foreach ($tag\_archive as $key => $value) {
 $result = $result . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?tag=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)

';
 }
 break;
 case "list\_items":
 $result = '

';
 foreach ($tag\_archive as $key => $value) {
 $result = $result . '- [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?tag=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)
';
 }
 $result = $result . '

';
 break;
 default:
 break;
 }
 }
 return $result;
 }
}

if(!function\_exists("buildCategoryArchive")) {
 function buildCategoryArchive() {
 global $category\_archive, $category\_text, $category\_separator, $anchor, $archive\_style;
 ksort($category\_archive);
 $i = 0;
 $len = count($category\_archive);
 $result = "";
 if ($len > 0) {
 switch ($archive\_style) {
 case "rw":
 $result = '

';
foreach ($category\_archive as $key => $value) {
$result = $result . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?category=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)

';
}
$result = $result . '

';
 break;
 case "custom":
 foreach ($category\_archive as $key => $value) {
 if ($i == 0) {
 $result = $result . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?category=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)';
 } else {
 $result = $result . $category\_separator . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?category=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)';
 }
 $i++;
 }
 break;
 case "multiple\_lines":
 foreach ($category\_archive as $key => $value) {
 $result = $result . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?category=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)

';
 }
 break;
 case "list\_items":
 $result = '

';
 foreach ($category\_archive as $key => $value) {
 $result = $result . '- [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?category=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)
';
 }
 $result = $result . '

';
 break;
 default:
 break;
 }
 }
 return $result;
 }
}

if(!function\_exists("buildDateYearArchive")) {
 function buildDateYearArchive() {
 global $date\_year\_archive, $anchor, $archive\_style;
 krsort($date\_year\_archive);
 $i = 0;
 $len = count($date\_year\_archive);
 $result = "";
 if ($len > 0) {
 switch ($archive\_style) {
 case "rw":
 $result = '

';
foreach ($date\_year\_archive as $key => $value) {
$result = $result . ' [' . $value . '](/content/Blog/?date=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)

';
}
$result = $result . '

';
 break;
 case "custom":
 foreach ($date\_year\_archive as $key => $value) {
 $result = $result . ' [' . $value . '](/content/Blog/?date=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)';
 $i++;
 }
 break;
 case "multiple\_lines":
 foreach ($date\_year\_archive as $key => $value) {
 $result = $result . ' [' . $value . '](/content/Blog/?date=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)

';
 }
 break;
 case "list\_items":
 $result = '

';
 foreach ($date\_year\_archive as $key => $value) {
 $result = $result . '- [' . $value . '](/content/Blog/?date=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)
';
 }
 $result = $result . '

';
 break;
 default:
 break;
 }
 }
 return $result;
 }
}

if(!function\_exists("buildDateMonthArchive")) {
 function buildDateMonthArchive() {
 global $date\_month\_archive, $anchor, $archive\_style;
 krsort($date\_month\_archive);
 $i = 0;
 $len = count($date\_month\_archive);
 $result = "";
 if ($len > 0) {
 switch ($archive\_style) {
 case "rw":
 $result = '

';
foreach ($date\_month\_archive as $key => $value) {
$result = $result . ' [' . formatArchiveDateMonth($value) . '](/content/Blog/?date=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)

';
}
$result = $result . '

';
 break;
 case "custom":
 foreach ($date\_month\_archive as $key => $value) {
 $result = $result . ' [' . formatArchiveDateMonth($value) . '](/content/Blog/?date=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)';
 $i++;
 }
 break;
 case "multiple\_lines":
 foreach ($date\_month\_archive as $key => $value) {
 $result = $result . ' [' . formatArchiveDateMonth($value) . '](/content/Blog/?date=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)

';
 }
 break;
 case "list\_items":
 $result = '

';
 foreach ($date\_month\_archive as $key => $value) {
 $result = $result . '- [' . formatArchiveDateMonth($value) . '](/content/Blog/?date=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)
';
 }
 $result = $result . '

';
 break;
 default:
 break;
 }
 }
 return $result;
 }
}

if(!function\_exists("buildAuthorArchive")) {
 function buildAuthorArchive() {
 global $author\_archive, $author\_text, $author\_separator, $anchor, $archive\_style;
 ksort($author\_archive);
 $i = 0;
 $len = count($author\_archive);
 $result = "";
 if ($len > 0) {
 switch ($archive\_style) {
 case "rw":
 $result = '

';
foreach ($author\_archive as $key => $value) {
$result = $result . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?author=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)

';
}
$result = $result . '

';
 break;
 case "custom":
 foreach ($author\_archive as $key => $value) {
 if ($i == 0) {
 $result = $result . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?author=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)';
 } else {
 $result = $result . $author\_separator . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?author=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)';
 }
 $i++;
 }
 break;
 case "multiple\_lines":
 foreach ($author\_archive as $key => $value) {
 $result = $result . ' [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?author=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)

';
 }
 break;
 case "list\_items":
 $result = '

';
 foreach ($author\_archive as $key => $value) {
 $result = $result . '- [' . htmlspecialchars($value, ENT\_QUOTES) . '](/content/Blog/?author=%27%20.%20$key%20.%20$anchor%20.%20%27/index.html)
';
 }
 $result = $result . '

';
 break;
 default:
 break;
 }
 }
 return $result;
 }
}

if(!function\_exists("getDateMillis")) {
 function getDateMillis($date) {
 $date\_millis;
 if (is\_int($date)) {
 $date\_millis = $date;
 } else {
 if (strlen($date) > 19) {
 $date\_millis = strtotime(substr($date, 0, 19));
 } else {
 $date\_millis = strtotime($date);
 }
 }
 return $date\_millis;
 }
}

if(!function\_exists("formatDate")) {
 function formatDate($date) {
 global $date\_format, $time\_format, $month\_de;
 $date\_millis = getDateMillis($date);
 $date\_string = "";
 switch ($date\_format) {
 case "dd.mm.yyyy":
 $date\_string = date("d.m.Y", $date\_millis);
 break;
 case "dd/mm/yyyy":
 $date\_string = date("d/m/Y", $date\_millis);
 break;
 case "dd. Monat yyyy":
 $date\_string = date("d. ", $date\_millis) . $month\_de\[date("n", $date\_millis)\] . date(" Y", $date\_millis);
 break;
 case "dd. Monat":
 $date\_string = date("d. ", $date\_millis) . $month\_de\[date("n", $date\_millis)\];
 break;
 case "mm/dd/yyyy":
 $date\_string = date("m/d/Y", $date\_millis);
 break;
 case "Month dd, yyyy":
 $date\_string = date("F d, Y", $date\_millis);
 break;
 case "Month dd":
 $date\_string = date("F d", $date\_millis);
 break;
 case "dd-mmm-yyyy":
 $date\_string = date("d-M-Y", $date\_millis);
 break;
 case "dd mmm yyyy":
 $date\_string = date("d M Y", $date\_millis);
 break;
 case "yyyy-mm-dd":
 $date\_string = date("Y-m-d", $date\_millis);
 break;
 default:
 break;
 }
 switch ($time\_format) {
 case "24h":
 $date\_string = $date\_string . " " . date("G:i", $date\_millis);
 break;
 case "12h":
 $date\_string = $date\_string . " " . date("h:i a", $date\_millis);
 break;
 case "12H.":
 $date\_string = $date\_string . " " . date("h:iA.", $date\_millis);
 break;
 default:
 break;
 }
 return $date\_string;
 }
}

if(!function\_exists("formatArchiveDateMonth")) {
 function formatArchiveDateMonth($date\_str) {
 global $date\_format, $month\_de;
 $date\_millis = strtotime($date\_str . "-01T00:00:00");
 $date\_string = "";
 switch ($date\_format) {
 case "dd.mm.yyyy":
 $date\_string = date("m.Y", $date\_millis);
 break;
 case "dd/mm/yyyy":
 $date\_string = date("m/Y", $date\_millis);
 break;
 case "dd. Monat yyyy":
 $date\_string = $month\_de\[date("n", $date\_millis)\] . date(" Y", $date\_millis);
 break;
 case "dd. Monat":
 $date\_string = $month\_de\[date("n", $date\_millis)\];
 break;
 case "mm/dd/yyyy":
 $date\_string = date("m/Y", $date\_millis);
 break;
 case "Month dd, yyyy":
 $date\_string = date("F Y", $date\_millis);
 break;
 case "Month dd":
 $date\_string = date("F", $date\_millis);
 break;
 case "dd-mmm-yyyy":
 $date\_string = date("M-Y", $date\_millis);
 break;
 case "dd mmm yyyy":
 $date\_string = date("M Y", $date\_millis);
 break;
 case "yyyy-mm-dd":
 $date\_string = date("Y-m", $date\_millis);
 break;
 default:
 break;
 }
 return $date\_string;
 }
}

if(!function\_exists("replaceMetaTag")) {
 function replaceMetaTag($buffer, $key, $value) {
 $index = strpos($buffer, $key);
 if ($index !== false) {
 $original\_header = preg\_replace('/(' . $key . ')(.\*?)(">)/i', '$1' . $value . '$3', $buffer);
 } else {
 $result = $result . $key . $value . '">';
 }
 }
}

if(!function\_exists("replaceMetadata")) {
 function replaceMetadata($title, $description, $permalink, $image, $page\_buffer) {
 global $metadata\_fb\_username, $metadata\_twitter\_username;
 $page\_buffer = preg\_replace('/()/i', '$1' . '>' . $title . '$3', $page\_buffer);

$index\_header\_start = strpos($page\_buffer, '');
 $index\_header\_end = strpos($page\_buffer, '');
 $original\_header = substr($page\_buffer, $index\_header\_start, $index\_header\_end - $index\_header\_start);
 $result = '';

$index = strpos($original\_header, ')/i', '$1' . '' . 'article' . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

$index = strpos($original\_header, '');
 if ($index !== false) {
 // ok, already included
 } else {
 $result = $result . '';
 }

$index = strpos($original\_header, ')/i', '$1' . '' . $title . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

$index = strpos($original\_header, ')/i', '$1' . '' . $title . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

$index = strpos($original\_header, ')/i', '$1' . '' . $title . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

if ($metadata\_fb\_username) {
 $index = strpos($original\_header, ')/i', '$1' . '' . $metadata\_fb\_username . '$3', $original\_header);
 } else {
 $result = $result . '';
 }
 }

if ($metadata\_twitter\_username) {
 $index = strpos($original\_header, ')/i', '$1' . '@' . $metadata\_twitter\_username . '$3', $original\_header);
 } else {
 $result = $result . '';
 }
 }

$index = strpos($original\_header, ')/i', '$1' . $permalink . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

$index = strpos($original\_header, ')/i', '$1' . $permalink . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

if ($description) {
 $index = strpos($original\_header, ')/i', '$1' . '' . $description . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

$index = strpos($original\_header, ')/i', '$1' . '' . $description . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

$index = strpos($original\_header, ')/i', '$1' . '' . $description . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

} else {
 $index = strpos($original\_header, ')/i', '$1' . '' . $title . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

$index = strpos($original\_header, ')/i', '$1' . '' . $title . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

$index = strpos($original\_header, ')/i', '$1' . '' . $title . '$3', $original\_header);
 } else {
 $result = $result . '';
 }
 }

if ($image) {
 $index = strpos($original\_header, ')/i', '$1' . $image . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

$index = strpos($original\_header, ')/i', '$1' . $image . '$3', $original\_header);
 } else {
 $result = $result . '';
 }

}

$result = $result . '';
 $original\_header = $original\_header . $result;
 return $page\_buffer = substr($page\_buffer, 0, $index\_header\_start) . $original\_header . substr($page\_buffer, $index\_header\_end);
 }

if(!function\_exists("fixQuery")) {
 function fixQuery($tempQuery) {
 if (!empty($tempQuery)) {
 if (strpos($tempQuery, '&') === 0) {
 $tempQuery = '?' . substr($tempQuery, 1);
 }
 }
 return $tempQuery;
 }
 }

}
?>

# Locus Social

Location Intelligence For Everything

"Januar",
2 => "Februar",
3 => "März",
4 => "April",
5 => "Mai",
6 => "Juni",
7 => "Juli",
8 => "August",
9 => "September",
10 => "Oktober",
11 => "November",
12 => "Dezember"
);
$date\_format = "dd.mm.yyyy";
$time\_format = "";
$tag\_archive = array();
$category\_archive = array();
$date\_year\_archive = array();
$date\_month\_archive = array();
$author\_archive = array();
$archive\_style = "";
$metadata\_fb\_username = htmlspecialchars("", ENT\_QUOTES);
$metadata\_twitter\_username = htmlspecialchars("", ENT\_QUOTES);
$disqus\_name = htmlspecialchars("", ENT\_QUOTES);
$feed = "";
$feed\_data = array();
$itunes = getBoolean("False");

$title\_classes = "";

$metadata\_classes = "";

/\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*
\\* URL Query
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/

parse\_str(parse\_url($\_SERVER\['REQUEST\_URI'\], PHP\_URL\_QUERY), $parsedUrl);

if (isset($parsedUrl\['debug'\])) {
$debug = true;
}
if (isset($parsedUrl\['page'\])) {
$page = $parsedUrl\['page'\];
}
if (isset($parsedUrl\['post'\])) {
$post = $parsedUrl\['post'\];
}
if (isset($parsedUrl\['tag'\])) {
$tag = $parsedUrl\['tag'\];
}
if (isset($parsedUrl\['category'\])) {
$category = $parsedUrl\['category'\];
}
if (isset($parsedUrl\['date'\])) {
$date = $parsedUrl\['date'\];
}
if (isset($parsedUrl\['author'\])) {
$author = $parsedUrl\['author'\];
}
if (isset($parsedUrl\['feed'\])) {
$feed = $parsedUrl\['feed'\];
}

if (!is\_numeric ( $page )){
$page = 1;
}
if ($post != "") {
$display\_post\_details = true;
}
$query = "";
if (isset($tag) && $tag != "") {
$tag = slugify($tag);
$query = $query . "&tag=" . $tag;
}
if (isset($category) && $category != "") {
$category = slugify($category);
$query = $query . "&category=" . $category;
}
if (isset($date) && $date != "") {
$query = $query . "&date=" . $date;
}
if (isset($author) && $author != "") {
$author = slugify($author);
$query = $query . "&author=" . $author;
}
$anchor = "";

$query = $query . $anchor;

$items\_start = ( $page - 1) \* $items\_per\_page + 1;
$items\_end = ( $page ) \* $items\_per\_page;
$item = 0;

if ($debug) {
$debugArray = array("PHP Version" => phpversion(), "Date" => NOW, "Time Zone" => date\_default\_timezone\_get(), "page" => $page, "items\_per\_page" => $items\_per\_page, "items\_start" => $items\_start, "items\_end" => $items\_end, "post" => $post, "display\_post\_details" => $display\_post\_details);
print\_r($debugArray);
echo '

';
}

?>

$title, "description" => $description, "permalink" => $permalink, "date" => $date\_raw, "author" => htmlspecialchars('', ENT\_QUOTES), "itunes\_file" => "", "itunes\_duration" => "H:MM:SS");

// display post content in detail view
if ( ( !$display\_post\_details && $items\_start <= $item && $item <= $items\_end ) \|\| ( $display\_post\_details && $post == $slug ) ) {
if ($display\_post\_details) {
$store\_prev\_slug = false;
$store\_next\_slug = true;
}
$summary\_content = getBoolean("False");
$summary\_content\_details = getBoolean("False");
$date\_string = formatDate($date\_raw);
$header\_content\_details = getBoolean("True");
$tag\_links = "";

$category\_links = "";

$author\_links = "";

?>

< class="blog-entry-title poster-title ">

[Hello World](/content/Blog/?post=%3C?php%20echo%20$slug%20.%20$query%20?%3E/index.html) >

**We watch this world with location Intelligence to record our nature environment and social life.**

$item, "current\_page" => $current\_page, "slug" => $slug, "permalink" => $permalink);
print\_r($debugArray);
}
?>

[<<](/content/Blog/%3C?php%20echo%20fixQuery($query/index.html)%20?%3E)[<<](/content/Blog/?page=%3C?php%20echo%20$page%20-%201%20.%20$query%20?%3E/index.html) Page[>>](/content/Blog/?page=%3C?php%20echo%20$page%20+%201%20.%20$query%20?%3E/index.html)

[< Previous Post](/content/Blog/?post=%3C?php%20echo%20$prev_slug%20.%20$query%20?%3E/index.html)[Next Post >](/content/Blog/?post=%3C?php%20echo%20$next_slug%20.%20$query%20?%3E/index.html)

\\n";
echo "\\n";
echo "\\n";
echo "$rss\_title\\n";
echo "$rss\_url\\n";
echo "\\n";
echo "$rss\_description\\n";
echo "$rss\_language\\n";
if ($rss\_image) {
echo "\\n";
echo "$rss\_image\\n";
echo "$rss\_title\\n";
echo "$rss\_url\\n";
echo "\\n";
}
if ($itunes) {
echo "$itunes\_author\\n";
echo "$itunes\_summary\\n";
echo "$itunes\_subtitle\\n";
echo "\\n";
echo "$itunes\_author\\n";
echo "$itunes\_owner\_email\\n";
echo "\\n";
echo "$itunes\_explicit\\n";
echo "$itunes\_keywords\\n";
if ($rss\_image) {
echo "\\n";
}
echo "\\n";
if ($itunes\_subcategory) {
echo "\\n";
}
echo "\\n";
}
echo "\\n";
foreach ($feed\_data as $item){
echo "\\n";
echo "" . $item\["title"\] . "\\n";
echo "" . $item\["permalink"\] . "\\n";
echo "\\n";
echo "" . date('r', getDateMillis($item\['date'\])) . "\\n";
echo "" . $item\["permalink"\] . "\\n";
echo "" . $item\["author"\] . "\\n";
if ($itunes) {
echo "" . $item\["itunes\_duration"\] . "\\n";
echo "" . $item\["description"\] . "\\n";
if ($rss\_image) {
echo "\\n";
}
echo "$itunes\_keywords\\n";
echo "$itunes\_explicit\\n";
echo "\\n";
}
echo "\\n\\n";
}
echo "\\n";
echo "";
exit();
}

if ( isset($feed) && ($feed == "sitemap") ) {
ob\_get\_clean();
ob\_start();

header('Content-type: application/xml');
echo "\\n";
echo "\\n";
echo "\\n";
foreach ($feed\_data as $item){
echo "\\n";
echo "" . $item\["permalink"\] . "\\n";
echo "\\n\\n";
}
echo "";
exit();
}
?>
