','class="select-field"'); $withthis_cat_drop = array('','class="select-field2"'); $replacethis_area_drop = array('','class="select-field"'); $withthis_area_drop = array('','class="select-field2"'); $replacethis_area_drop2 = array('','class="select-field"'); $withthis_area_drop2 = array('',' class="select-field3" onchange="this.form.submit();"'); //echo 'this = '.$_GET['pid']; if (isset($_GET['uid'])) { if ($_GET['mode'] =="event") { $currenttid = get_whatson_info($_GET['uid']); $tid = $currenttid['cid']; $titleevent = ' - '.stripslashes($currenttid['name']); } else { $tid = $_GET['uid']; } buildTitles_whatson($tid); //here we call our function - pass your ID variable for the current category here //reverse sort the arrays (sorting on the key not the value) krsort($titles_arr, SORT_NUMERIC); krsort($titles_arr, SORT_NUMERIC); //cycle through arrays - we only need to cycle through one as the keys will be identical on both arrays foreach($titles_arr as $key => $value) { //$crumb .= ' - '.stripslashes(htmlspecialchars(str_replace($replacethis,$withthis,$value))); //we are pulling data from MySQL so we must clean slashes //and protect against HTML code in the category names //using stripslashes and htmlspecialchars $title_name .= ' - '.stripslashes(htmlspecialchars($value)) . ' '; } //our crumb will have a trailing > character with a space either side - //let’s chop that off $title_name = substr($title_name, 0, strlen($titles) - 1); //echo $title_name; //$title_name = ' - '.get_dcategory_name_by_uid($_GET['pid']); } ?> What's On<? echo stripslashes($title_name); ?><? echo $titleevent; ?>
What's On
angels & urchins > What's On
".$_GET['area']." "; } //search results if (($_GET['sstring'] == "venue, show, activity, etc...") || ($_GET['sstring'] == "")){ $sstring = ""; echo '
Your search produced the following results
'; } else { $sstring = $_GET['sstring']; echo '
Your search for "'.$sstring.'" '.$areatext.'produced the following results
'; } $cat = $_GET['pid']; $area = $_GET['area']; $date = $_GET['dates']; if (strlen($sstring) > 0) { $hiddensearch = ''; } if (strlen($cat) > 0) { $hiddencat = ''; } if (strlen($area) > 0) { $hiddenarea = ''; } if (strlen($date) > 0) { $hiddendate = ''; } if ($_GET['mode'] == "search") { $searchorder = "search"; } elseif ($_GET['mode'] == "search_a") { $searchorder = "search_a"; } elseif ($_GET['mode'] == "search_d") { $searchorder = "search_d"; } elseif ($_GET['mode'] == "search_r") { $searchorder = "search_r"; } elseif ($_GET['mode'] == "search_f") { $searchorder = "search_f"; } //echo $searchorder; ?>
only show events in:
order results by:
isResult(); if(!$isResults == 0) { while($current=$paging->result_assoc()) { $imagefile = $_SERVER['DOCUMENT_ROOT'].'/whatson/images/'.$current['uid'].'.jpg'; if( file_exists($imagefile) ) { $r_image = '
'.stripslashes($current['imagetitle']).'
'; } /*if (strlen(get_dates($current['uid'])) > 5) { $dates = str_replace('Dates,','Dates:',get_dates($current['uid'])).'
'; } else { $dates = ""; }*/ if ($current['dates']) { $dates = stripslashes($current['dates']).'
'; } if ($current['free']) { $f_flag = ' '.make_flag("f"); } if ($current['last_chance']) { $lc_flag = ' '.make_flag("lc"); } if ($current['book_ahead']) { $ba_flag = ' '.make_flag("ba"); } if ($current['recommended']) { $r_flag = ' '.make_flag("r"); } if (strlen(stripslashes(strip_tags($current['details']))) > 50) { $rdescrip = stripslashes(substr(strip_tags($current['details']),0,50)).' ...'; } else { $rdescrip = stripslashes(strip_tags($current['details'])); } $venue = get_venue_info($current['vid']); echo '
'; echo ''.stripslashes(get_wcategory_name_by_uid($current['cid'])).''; echo $r_image; echo '
'.stripslashes($current['name']).''.$f_flag.$lc_flag.$ba_flag.$r_flag.'
'.stripslashes($venue['name']).', '.stripslashes(str_replace("\n", " ",$venue['address'])).'
'.$dates.''.$rdescrip.' [more]
'; echo '
'; $r_image = ''; $f_flag = ''; $lc_flag = ''; $ba_flag = ''; $r_flag = ''; } echo $paging->print_link2(); } else { echo '

No events found! Please check your spelling. Alternatively, you may wish to broaden your search criteria.

'; } ?>
Not found what you're looking for?
angels & urchins > What's On > "; buildCrumb_whatson($_GET['uid']); //here we call our function - pass your ID variable for the current category here //reverse sort the arrays (sorting on the key not the value) krsort($crumb_arr, SORT_NUMERIC); krsort($crumbid_arr, SORT_NUMERIC); //cycle through arrays - we only need to cycle through one as the keys will be identical on both arrays foreach($crumb_arr as $key => $value) { $crumb .= ''; //we are pulling data from MySQL so we must clean slashes //and protect against HTML code in the category names //using stripslashes and htmlspecialchars $crumb .= stripslashes(htmlspecialchars($value)) . ' > '; } //our crumb will have a trailing > character with a space either side - //let’s chop that off $crumb = substr($crumb, 0, strlen($crumb) - 6); echo $crumb; if ($_GET['uid'] == "0") { echo "Browse all What's On"; } ?>
Narrow your search
'; $rows = 0; while($currentsubcat = mysql_fetch_array($get_sub_categories)) { $rows++; echo ' '.stripslashes($currentsubcat['name']).' ('.get_uids_whatson($currentsubcat['uid']).')   '; $num_items = 0; $count = 0; //echo $rows; if ($rows == 3) { echo '
'; $rows = 0; } } echo '
'; } echo '
'.stripslashes(get_wcategory_name_by_uid($_GET['uid'])).' currently has '.get_uids_whatson($_GET['uid']).' Events
'; $num_items = 0; $count = 0; ?>
only show events in:
order results by:
isResult(); if(!$isResults == 0) { while($current=$paging->result_assoc()) { $imagefile = $_SERVER['DOCUMENT_ROOT'].'/whatson/images/'.$current['uid'].'.jpg'; if( file_exists($imagefile) ) { $r_image = '
'.stripslashes($current['imagetitle']).'
'; } /*if (strlen(get_dates($current['uid'])) > 5) { $dates = str_replace('Dates,','Dates:',get_dates($current['uid'])).'
'; } else { $dates = ""; }*/ if ($current['dates']) { $dates = stripslashes($current['dates']).'
'; } if ($current['free']) { $f_flag = ' '.make_flag("f"); } if ($current['last_chance']) { $lc_flag = ' '.make_flag("lc"); } if ($current['book_ahead']) { $ba_flag = ' '.make_flag("ba"); } if ($current['recommended']) { $r_flag = ' '.make_flag("r"); } if (strlen(stripslashes(strip_tags($current['details']))) > 50) { $rdescrip = stripslashes(substr(strip_tags($current['details']),0,50)).' ...'; } else { $rdescrip = stripslashes(strip_tags($current['details'])); } $venue = get_venue_info($current['vid']); echo '
'; echo ''.stripslashes(get_wcategory_name_by_uid($current['cid'])).''; echo $r_image; echo '
'.stripslashes($current['name']).''.$f_flag.$lc_flag.$ba_flag.$r_flag.'
'.stripslashes($venue['name']).', '.stripslashes(str_replace("\n", " ",$venue['address'])).'
'.$dates.''.$rdescrip.' [more]
'; echo '
'; $r_image = ''; $f_flag = ''; $lc_flag = ''; $ba_flag = ''; $r_flag = ''; } echo $paging->print_link_browse(); } else { echo '

No events found!

'; } } else { echo '
What\'s On currently has '.get_uids_whatson($_GET['uid']).' Events
'; $num_items = 0; $count = 0; $get_categories = get_wcategory($_GET['uid']); while($currentcat = mysql_fetch_array($get_categories)) { echo '
'.stripslashes($currentcat['name']).' ('.get_uids_whatson($currentcat['uid']).')'; $num_items = 0; $count = 0; $get_sub_categories = get_wcategory($currentcat['uid']); $count_categories = count_sub_wcategory($currentcat['uid']); $categories_count = mysql_fetch_array($count_categories); if ($categories_count['acount'] != 0) { echo '
'; $rows = 0; while($currentsubcat = mysql_fetch_array($get_sub_categories)) { $rows++; echo '
'; echo ''.stripslashes($currentsubcat['name']).' ('.get_uids_whatson($currentsubcat['uid']).')'; $num_items = 0; $count = 0; //echo $rows; echo '
'; if ($rows == 2) { echo '
'; $rows = 0; } } echo '
'; } echo '
'; } } ?>
angels & urchins > What's On > "; buildCrumb_whatson($current['cid']); //here we call our function - pass your ID variable for the current category here //reverse sort the arrays (sorting on the key not the value) krsort($crumb_arr, SORT_NUMERIC); krsort($crumbid_arr, SORT_NUMERIC); //cycle through arrays - we only need to cycle through one as the keys will be identical on both arrays foreach($crumb_arr as $key => $value) { $crumb .= ''; //we are pulling data from MySQL so we must clean slashes //and protect against HTML code in the category names //using stripslashes and htmlspecialchars $crumb .= stripslashes(htmlspecialchars($value)) . ' > '; } //our crumb will have a trailing > character with a space either side - //let’s chop that off $crumb = substr($crumb, 0, strlen($crumb) - 6); echo $crumb; ?>



'; } if ($current['free']) { $f_flag = ' '.make_flag("f"); } if ($current['last_chance']) { $lc_flag = ' '.make_flag("lc"); } if ($current['book_ahead']) { $ba_flag = ' '.make_flag("ba"); } if ($current['recommended']) { $r_flag = ' '.make_flag("r"); } ?> 5) { echo '
'.str_replace('Dates,','Dates:',get_dates2($current['uid'])); }*/ ?> 0) { echo '
Dates: '.stripslashes($current['dates']); } ?> 0) { echo '
Times: '.stripslashes($current['times']); } ?> 0) { echo '
Ages: '.$current['ages']; } ?> 0) { echo '
Price: '.$current['price']; } ?>



Venue Details:

0) echo '
'.stripslashes(str_replace("\n", " ",$venue['address'])); ?> 0) echo stripslashes($venue['postcode']); ?> 0) echo '
Tel: '.stripslashes($venue['phone']); ?> 0) echo '
Email: '.$venue['email'].''; ?> 0) echo '
Website: '.stripslashes($venue['link']).''; ?>

General Information:


Map:

angels & urchins >
Browse What's On
'; echo '
'; $total = 0; $rows = 0; //while($current = mysql_fetch_array($get_categories)) foreach($cats as $cat_item) { if (strlen($cat_item) != 0) { $total++; if ($total <= 12) { $current = get_wcategory_info($cat_item); $rows++; echo '
'; echo '
'; if (strlen(stripslashes($current['name'])) > 20) { echo ''.substr(stripslashes($current['name']), 0, 18).'...'; } else { echo ''.stripslashes($current['name']).''; } echo '
'; echo '
'; //echo $rows; if ($rows == 2) { echo '
'; $rows = 0; } } } } echo '
'; echo '
'; ?>
Search What's On for kids in London
  What's On for kids: recommended = mktime(0, 0, 0, date("m") , date("d"), date("Y"))) || ($unique_rec['expires'] == "") ) { ?> 20) { $rdescrip = stripslashes(substr(strip_tags($unique_rec['details']),0,20)).' ...'; } else { $rdescrip = stripslashes(strip_tags($unique_rec['details'])); } ?> '.stripslashes($unique_rec['imagetitle']).'
'; $tmpName_r = 'http://'.$_SERVER['HTTP_HOST'].'/image.jpg?uid='.$unique_rec['uid'].'&wo=1&w='.$img_small; list($width_r, $height_r, $type_r, $attr_r) = getimagesize($tmpName_r); $addheight_r = ' style="height:'.$height_r.'px "'; } echo '
'; echo $r_image; echo '
'; $r_image = ''; ?>
Features 100) { $fdescrip = stripslashes(substr(strip_tags($unique_feature['descrip']),0,100)).' ...'; } else { $fdescrip = stripslashes(strip_tags($unique_feature['descrip'])); } ?> '.stripslashes($unique_feature['imagetitle']).'
'; $tmpName_f = 'http://'.$_SERVER['HTTP_HOST'].'/image.jpg?uid='.$unique_feature['uid'].'&n=1&w='.$img_small; list($width_f, $height_f, $type_f, $attr_f) = getimagesize($tmpName_f); $addheight_f = ' style="height:'.$height_f.'px "'; } echo '
'; echo $f_image; echo '
'; $f_image = ''; ?>
Competitions
'.stripslashes($competition['name']).'
'; } ?>