Audio

<? // 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", ); ?> <? $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 ''; $paramStuff = '?q=node/2&queryType='; foreach($queryLinks as $key => $params) { echo ''; $i++; if ($i >= $numColumns) { echo ''; $i = 0; } } reset($queryLinks); while ($pageName = current($queryLinks)) { if ($pageName == $queryType) { $currentQuery = key($queryLinks); } $n++; next($queryLinks); } echo '
-|- '.$key.' -|-
'.$currentQuery.'
'; include("http://www.harekrishna.org.au/scripts/outside/classServer.php?field=$field&searchParameters=$searchParameters&queryType=$queryType"); ?>