<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>devaswami</title>
  <subtitle>The Official Website of His Holiness Devamrita Swami</subtitle>
  <link rel="alternate" type="text/html" href="http://www.devaswami.com/node/2"/>
  <link rel="self" type="application/atom+xml" href="http://www.devaswami.com/node/2/atom/feed"/>
  <id>http://www.devaswami.com/node/2/atom/feed</id>
  <updated>2008-08-13T17:12:24-06:00</updated>
  <entry>
    <title>Audio</title>
    <link rel="alternate" type="text/html" href="http://www.devaswami.com/node/2" />
    <id>http://www.devaswami.com/node/2</id>
    <published>2005-08-15T03:57:04-06:00</published>
    <updated>2008-08-13T17:12:24-06:00</updated>
    <author>
      <name>ekendra</name>
    </author>
    <summary type="html"><![CDATA[&lt;? 
	// number of columns in link tabel at top of page
	$numColumns = 2; 
	
	$queryLinks = array (
		// add new query links here with params that will match in 'classServer.php'
		"Most Recently Uploaded Classes" => "new",
		"Older Classes" => "classes",
		"Seminars" => "seminars",
		"Python Man Series" => "python",
	);
?>
		
&lt;?
	$field = urlencode('artist');
	$searchParameters = urlencode('HH Devamrita Swami');
	if (isset($_GET['queryType'])) {
		$queryType = $_GET['queryType'];
		trim($queryType);
		$queryType = html_entity_decode($queryType);
	}
	else {
		$queryType = urlencode('new');
	}
	
	echo '<table width="100%"><tr>';
	$paramStuff = '?q=node/2&queryType=';
	foreach($queryLinks as $key => $params) {
		echo '<td class="papyrus_blue_medium"><div align="center"> -|- 
		<a href="'.$PHP_SELF.$paramStuff.$params.'" class="papyrus_red_small_link">'.$key.'</a> -|-  
		</div></td>';
		$i++;
		if ($i >= $numColumns) {
			echo '</tr><tr>';
			$i = 0;
		}
	}
	reset($queryLinks); 
	while ($pageName = current($queryLinks)) { 
	   if ($pageName == $queryType) { 
		   $currentQuery = key($queryLinks); 
	   } 
	   $n++;
	   next($queryLinks); 
	} 
	echo '</tr><tr>
		<td colspan="'.$n.'" height="70" class="papyrus_red_med-large">'.$currentQuery.'</td>
	  		</tr></table>';
	
	include("http://www.harekrishna.org.au/scripts/outside/classServer.php?field=$field&searchParameters=$searchParameters&queryType=$queryType");
?>
    ]]></summary>
    <content type="html"><![CDATA[&lt;? 
	// number of columns in link tabel at top of page
	$numColumns = 2; 
	
	$queryLinks = array (
		// add new query links here with params that will match in 'classServer.php'
		"Most Recently Uploaded Classes" => "new",
		"Older Classes" => "classes",
		"Seminars" => "seminars",
		"Python Man Series" => "python",
	);
?>
		
&lt;?
	$field = urlencode('artist');
	$searchParameters = urlencode('HH Devamrita Swami');
	if (isset($_GET['queryType'])) {
		$queryType = $_GET['queryType'];
		trim($queryType);
		$queryType = html_entity_decode($queryType);
	}
	else {
		$queryType = urlencode('new');
	}
	
	echo '<table width="100%"><tr>';
	$paramStuff = '?q=node/2&queryType=';
	foreach($queryLinks as $key => $params) {
		echo '<td class="papyrus_blue_medium"><div align="center"> -|- 
		<a href="'.$PHP_SELF.$paramStuff.$params.'" class="papyrus_red_small_link">'.$key.'</a> -|-  
		</div></td>';
		$i++;
		if ($i >= $numColumns) {
			echo '</tr><tr>';
			$i = 0;
		}
	}
	reset($queryLinks); 
	while ($pageName = current($queryLinks)) { 
	   if ($pageName == $queryType) { 
		   $currentQuery = key($queryLinks); 
	   } 
	   $n++;
	   next($queryLinks); 
	} 
	echo '</tr><tr>
		<td colspan="'.$n.'" height="70" class="papyrus_red_med-large">'.$currentQuery.'</td>
	  		</tr></table>';
	
	include("http://www.harekrishna.org.au/scripts/outside/classServer.php?field=$field&searchParameters=$searchParameters&queryType=$queryType");
?>
    ]]></content>
  </entry>
</feed>
