','class="select-field"'); $withthis_cat_drop = array('','class="select-field2"'); //echo 'this = '.$_GET['pid']; if (isset($_GET['uid'])) { if ($_GET['mode'] =="item") { $currenttid = get_parties_info($_GET['uid']); $tid = $currenttid['cid']; $titleparties = ' - '.stripslashes($currenttid['title']); } else { $tid = $_GET['uid']; } buildTitles_parties($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']); } ?> Children's Parties<? echo stripslashes($title_name); ?><? echo $titleparties; ?>
Children's Parties
angels & urchins > Children's Parties
Your search produced the following results
'; } else { $sstring = $_GET['sstring']; echo '
Your search for " '.stripslashes($sstring).' " produced the following results
'; } $cat = $_GET['pid']; if (strlen($sstring) > 0) { $hiddensearch = ''; } if (strlen($cat) != 0) { $get_sub_categories = get_pcategory($cat); $count_categories = count_sub_pcategory($cat); $categories_count = mysql_fetch_array($count_categories); if ($categories_count['acount'] != 0) { echo ''; } } else { ?>
only show items in:
isResult(); if(!$isResults == 0) { while($current=$paging->result_assoc()) { $imagefile = $_SERVER['DOCUMENT_ROOT'].'/parties/images/'.$current['uid'].'.jpg'; if( file_exists($imagefile) ) { $p_image = '
'.stripslashes($current['imagetitle']).'
'; } echo '
'; echo $p_image; echo '
'.stripslashes(get_pcategory_name_by_uid($current['cid'])).'
'.stripslashes($current['title']).'
'.stripslashes($current['details']).'
'.$current['link'].'
'; echo '
'; $p_image = ''; } echo $paging->print_link2(); } else { echo '

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

'; } ?>
Not found what you're looking for?
angels & urchins > Children's Parties > "; buildCrumb_parties($_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 Children's Parties"; } ?>
'.stripslashes(get_pcategory_name_by_uid($_GET['uid'])).' currently has '.get_uids_parties($_GET['uid']).' items.'; $num_items = 0; $count = 0; $get_sub_categories = get_pcategory($_GET['uid']); $count_categories = count_sub_pcategory($_GET['uid']); $categories_count = mysql_fetch_array($count_categories); if ($categories_count['acount'] != 0) { echo ''; } ?> isResult(); if(!$isResults == 0) { $updateviews = update_views_parties_cat($_GET['uid']); while($current=$paging->result_assoc()) { $imagefile = $_SERVER['DOCUMENT_ROOT'].'/parties/images/'.$current['uid'].'.jpg'; if( file_exists($imagefile) ) { $p_image = '
'.stripslashes($current['imagetitle']).'
'; } if(strlen($current['link']) != 0) { $itemlink = '
'.$current['link'].''; } echo '
'; echo $p_image; echo '
'.stripslashes(get_pcategory_name_by_uid($current['cid'])).'
'.stripslashes($current['title']).'
'.stripslashes($current['details']).''.$itemlink.'
'; echo '
'; $p_image = ''; $itemlink = ''; } echo $paging->print_link_browse(); } else { if ($categories_count['acount'] == 0) { echo '


No items found!

'; } } } else { echo '
Children\'s Parties currently has '.get_uids_parties($_GET['uid']).' items.
'; $num_items = 0; $count = 0; $get_categories = get_pcategory($_GET['uid']); while($currentcat = mysql_fetch_array($get_categories)) { echo '
'.stripslashes($currentcat['name']).' ('.get_uids_parties($currentcat['uid']).')'; $num_items = 0; $count = 0; $get_sub_categories = get_pcategory($currentcat['uid']); $count_categories = count_sub_pcategory($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_parties($currentsubcat['uid']).')'; $num_items = 0; $count = 0; //echo $rows; echo '
'; if ($rows == 2) { echo '
'; $rows = 0; } } echo '
'; } echo '
'; } } ?>
angels & urchins >
'; echo '
'; $rows = 0; while($current = mysql_fetch_array($get_categories)) { $rows++; echo '
'; echo '
'; echo ''.stripslashes($current['name']).' ('.get_uids_parties($current['uid']).')'; echo '
'; echo '
'; //echo $rows; if ($rows == 2) { echo '
'; $rows = 0; } $num_items = 0; $count = 0; } echo '
'; echo '
'; ?>
News 100) { $ndescrip = stripslashes(substr(strip_tags($unique_news['descrip']),0,100)).' ...'; } else { $ndescrip = stripslashes(strip_tags($unique_news['descrip'])); } ?> '.stripslashes($unique_news['imagetitle']).'
'; } echo '
'; echo $n_image; echo '
'; $n_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']).'
'; } echo '
'; echo $f_image; echo '
'.stripslashes($unique_feature['title']).'
'.$fdescrip.'
'; $f_image = ''; ?>
 
Competitions
'.stripslashes($competition['name']).'
'; } ?>