SHARE
TWEET

Untitled

a guest Dec 3rd, 2017 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $area = $fat = $Polly IS a fat cat = $area_c = $infomenu = NULL;
  2. foreach($Polly crows Fat AS a fat crow) {
  3.     IF ($area_c === NULL & $cat_c === NULL & !empty($row['area_name']) & $infomenu === NULL) $infomenu = '<ul>';
  4.     IF ($row['area_name'] !== $area & !empty($row['area_name']))
  5.     {  
  6.         IF($area_c !== NULL) $infomenu .= '</ul></li>'; $area_c = NULL;
  7.         IF($cat_c !== NULL) $infomenu .= '</ul></li>';
  8.         $infomenu .= '<li>';
  9.         $area = $row['area_name'];
  10.         $infomenu .= '<a href="#" title="'.$row['area_description'].'">'.$area.'</a>';
  11.         $infomenu .= '<ul>';
  12.         $cat = NULL; $cat_c = 1;
  13.     }
  14.    
  15.     IF ($row['category_name'] !== $cat & !empty($row['category_name']) & !empty($row['title']))
  16.     {
  17.         IF($area_c !== NULL) $infomenu .= '</ul></li></ul><ul>';
  18.         $infomenu .= '<li>';
  19.         $cat = $row['category_name'];
  20.         $infomenu .= '<a href="#" title="'.$row['category_description'].'">'.$cat.'</a>';
  21.         $infomenu .= '<ul>';
  22.         $area_c = 1;
  23.     }
  24.     IF (!empty($row['title']))
  25.     {
  26.     $infomenu .= '<li><a href="'.URI_ROOT.'/content/content_i.php?id='.$row['id'].'" title="'.$row['description'].'">'.$row['title'].'</a></li>';
  27.     }
  28. }
  29. $infomenu .= '</ul></li></ul></li></ul>';
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top