[ Index ]

PHP Cross Reference of Drupal 6 (heimberg)

title

Body

[close]

/ -> the_guideAZOLD.php (source)

   1  <?php
   2  require_once ('DbLib-12.php');
   3  $dbCat = &new DbLibMySQL;
   4  $dbCat->OpenConnection();
   5  $sqlCat = "SELECT id, name, state FROM category WHERE parentCatId is null AND (state='AZ' OR state='BOTH' OR state='') ORDER BY name ";
   6  $dbCat->Query($sqlCat);
   7  
   8  $dbSubs = &new DbLibMySQL;
   9  $dbSubs->OpenConnection();
  10  $dbOrgs = &new DbLibMySQL;
  11  $dbOrgs->OpenConnection();
  12  ?>
  13  
  14  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/resources.dwt" codeOutsideHTMLIsLocked="false" -->
  15  <head>
  16  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  17  <!-- InstanceBeginEditable name="doctitle" -->
  18  <title>THE GUIDE: Resources for the Disabilities Community</title>
  19  <meta name="description" content="The Guide offers links to a myriad of disability related web sites" />
  20  <meta name="keywords" content="disability links, website for disabled persons, disability resources, disabilities, adoption, aging, accessibility, animal programs, arts, assistive technology, bereavement, consumer advocacy, Early Intervention, Education, Resource, Employment, Family Resources, Health & Insurance Services, Housing, Independent Living, Legal, Listserves, Bulletin Boards, Medical Resources, Mobility Resources, Parks & Recreation, Publications, Events, Regional Centers, Rehabilitation, Support Groups, Alzheimers, Amputee, Auditory Disorders, Birth Defects, Brain Injuries, Cardio-Respiratory Disorders, Circulatory Metabolic Disorders, Cleft Palate, Developmental Disorders, Diabetes, Help Lines, Neuro-Muscular Disorders, Organ Disorders, Ostomy , Pain, Speech, Language, Spinal Cord, Injuries, Disorders, Spine Joint Disorders, Vision Disorders, Theme Parks, Toys, Video Games, Transportation, Manufacturers, Adapters, Rebates, Rentals, Ventilator, Feeding Tube, Resources, Wills, Trusts, Money Management" />
  21  
  22  <!-- InstanceEndEditable -->
  23  <!-- We put in three stylesheets because that's how the JS function increases the font size. -->
  24  <link href="../css/styles_plus_one.css" rel="stylesheet" type="text/css" />
  25  <link href="../css/styles_plus_two.css" rel="stylesheet" type="text/css" />
  26  <link href="../css/styles.css" rel="stylesheet" type="text/css" />
  27  <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
  28  <script src="../Scripts/utility.js" type="text/javascript"></script>
  29  
  30  <!-- InstanceBeginEditable name="head" -->
  31          
  32      <!-- InstanceEndEditable -->
  33  </head>
  34  
  35  <body onload="checkCSS();">
  36  <a name="top" id="top"></a>
  37  <div id="wrapper">
  38   <div id="topBar"><a href="../site_search.html">Search</a><a href="../faqs.html">FAQs</a><a href="../sitemap.html">Site Map</a></div> 
  39    <div id="headerBar"><script type="text/javascript">
  40  AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','770','height','120','src','../swf/header2','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','../swf/header2' ); //end AC code

  41  </script><noscript>
  42      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="770" height="120">
  43        <param name="movie" value="../swf/header2.swf" />
  44        <param name="quality" value="high" />
  45        <embed src="../swf/header2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="120"></embed>
  46      </object></noscript>
  47    </div> 
  48    <div id="navBar">
  49        <a href="../index.html" class="menuItem">Home</a>
  50      <a href="../firm/our_firm.html" class="menuItem">Our Firm</a>
  51      <a href="../results/verdicts_settlements.html" class="menuItem">Verdicts &amp; Settlements</a>
  52      <a href="../practices/our_practices.html" class="menuItem">Our Practices</a>
  53      <a href="../attorneys/attorneys_staff.html" class="menuItem">Our Attorneys</a>
  54      <a href="resources.html" class="navOn">Resources</a>
  55      <a href="../community/community_outreach.html" class="menuItem">Community Outreach</a>
  56      <a href="../contact/contact.html" class="menuItem">Contact Us</a>
  57      
  58      
  59    </div>
  60    
  61    
  62    <div id="mainBody">
  63        <table width="100%" border="0" cellspacing="0" cellpadding="0">
  64    <tr>
  65      <td id="leftNav">
  66        <!-- InstanceBeginEditable name="leftRegion" -->
  67        <a href="legal_links.html" class="subNav">Legal Links</a>
  68        
  69  <p>&nbsp;</p>
  70  
  71        <?php
  72        while($dbCat->GetNextRecord()) { ?>
  73           <?php 
  74           $str = $dbCat->GetField('name');
  75           
  76           $str = strtolower($str);
  77           $str = ucwords($str);
  78           ?> 
  79        <a href="#<?php echo $dbCat->GetField('id');?>" class="subNav"><?php echo $str;?></a>
  80        <?php
  81                         ///Begin

  82              $sqlSubs = "select id, name from category where parentCatId = ". $dbCat->GetField('id')." ORDER BY name";
  83      $dbSubs->Query($sqlSubs);
  84      while($dbSubs->GetNextRecord()) { ?>
  85       <?php 
  86           $str = $dbSubs->GetField('name');
  87           
  88            $parentId = $dbCat->GetField('parentCatId');
  89  
  90           $str = strtolower($str);
  91           $str = ucwords($str);
  92           ?> 
  93          <a href="#<?php echo $dbSubs->GetField('id');?>" class="subSubNav"><?php echo $str;?></a>
  94          <?php } ?>
  95        <?php
  96        }
  97        $dbCat->ResetRecordSet();
  98        ?>
  99        <!-- InstanceEndEditable -->    </td>
 100      <td id="contentArea">
 101      <p style="text-align:right;"><a href="#" onClick="eMailPage();"><img src="../images/emailicon.gif" alt="Email" width="17" height="11" border="0" />E-mail this page</a> |  <a href="#" onClick="window.print();"><img src="../images/printicon.gif" alt="print" width="19" height="14" border="0" />Print this page</a> | Text size: <a href="#" onClick="changeCSS('base');"><img src="../images/A1.gif" alt="small" width="12" height="17" border="0" /></a> <a href="#" onClick="changeCSS('plus1');"><img src="../images/A2.gif" alt="medium" width="15" height="17" border="0" /></a> <a href="#" onClick="changeCSS('plus2');"><img src="../images/A3.gif" alt="large" width="19" height="17" border="0" /></a></p>
 102      
 103      <!-- InstanceBeginEditable name="contentRegion" -->
 104      <h1>THE GUIDE: <em>Resources for the  Disabilities Community</em></h1>
 105        <p>The <strong>The Guide: <em>Resources for the Disabilities Community</em></strong> is designed to assist people who are
 106          disabled and their family and friends to find services and resources to improve their lives.
 107          We hope you find it useful.</p>
 108        <p>The Guide is a work-in-progress. If you know of a resource that would be of interest to the
 109          disability community, please e-mail it to <a href="mailto:gwilson@heimberglaw.com">gwilson@heimberglaw.com</a>.</p>
 110        <p>Many national organizations have local chapters; you may find this information on the
 111          web sites listed in The Guide; if not, ask for contact information when you call or e-mail
 112          the national organization.</p>
 113        <p>If someone you know would like a copy of The Guide, please refer them to our web site,
 114          <a href="http://www.heimberglaw.com">www.heimberglaw.com</a>, to download a copy. </p>
 115        <p>The Heimberg Law firm has long championed the most 
 116          vulnerable members of our society -- those who have been severely, permanently and wrongly injured. Steve 
 117          (who is a doctor as well as a lawyer), leads a legal team dedicated to battling wrongdoers, whether 
 118          HMOs, hospitals, nursing homes, medical personnel, insurance companies, pharmaceutical companies, 
 119          reckless drivers, manufacturers of defective or dangerous products, or others.</p>
 120        <p>Steve's commitment to the disability community extends past the walls of the courtroom and into
 121          their personal lives through their support of Shane's Inspiration, WYNGS and other charitable organizations.</p>
 122        <p>In essence, Heimberg Law Group, LLP aggressively and ethically pursues the best possible lives for those who 
 123          come to them for help.</p>
 124  
 125  <?php
 126  
 127  while($dbCat->GetNextRecord()) { 
 128  
 129   ?>
 130          <p><a href="#top">back to top</a></p>
 131          </blockquote><h2><a name="<?php echo $dbCat->GetField('id');?>" id="<?php echo $dbCat->GetField('name');?>"></a>
 132          <?php echo strtoupper($dbCat->GetField('name'));?></h2><blockquote>
 133  
 134          <?php
 135          if ($dbCat->GetField('name') == 'SUPPORT GROUPS')
 136          {        
 137          ?>
 138  
 139          <p class="indented">most national associations have local chapters, which 
 140            can provide you access to local support and resources. Request a contact to the local chapter when you call, or look for the link to a local chapter when you view a national association's web site.</p>
 141          <p class="indented">If there isn't a support group in your area or around your issue of concern, 
 142            consider beginning your own parent support group. Parent to Parent of Pennsylvania provides an online guide that goes through all the basics of starting and running a parent support group<br />
 143            <a href="http://www.parenttoparent.org/Sup-run-t.htm" target="_blank" rel="nofollow">www.parenttoparent.org/Sup-run-t.htm</a></p>
 144          <p class="indented">For tips on how to keep your meetings flowing see, &quot;Facilitation: The Importance of Managing Group Meetings.&quot;<br />
 145            <a href="http://www.nacac.org.pg_facilitation.html" target="_blank" rel="nofollow">www.nacac.org.pg_facilitation.html</a></p>
 146            <?php } ?>
 147  <?php
 148  
 149  //display all orgs for this category

 150  
 151      $sqlOrgs = "SELECT * FROM organization WHERE (state='AZ' OR state='BOTH') AND catId = ". $dbCat->GetField('id');
 152      $dbOrgs->Query($sqlOrgs);
 153      while($dbOrgs->GetNextRecord()) { ?>
 154          <h3><?php echo $dbOrgs->GetField('name');?></h3>
 155          <p class="indented">
 156          <?php 
 157          $description = $dbOrgs->GetField('description');
 158  
 159          if (!empty($description)) 
 160             {
 161             echo "$description<br/>";
 162             }
 163             
 164          $phone = $dbOrgs->GetField('phone');
 165  
 166          if (!empty($phone)) 
 167             {
 168             echo "$phone&nbsp;&nbsp;&nbsp;&nbsp;";
 169             }        
 170          ?>
 171          <a href="http://<?php echo $dbOrgs->GetField('url');?>" target="_blank" rel="nofollow"><?php echo $dbOrgs->GetField('url');?></a></p>
 172  <?php     }
 173  
 174  //display all the subcategories for this category

 175  
 176      $sqlSubs = "select id, name from category where parentCatId = ". $dbCat->GetField('id');
 177      $dbSubs->Query($sqlSubs);
 178      while($dbSubs->GetNextRecord()) { ?>
 179          <h2><a name="<?php echo $dbSubs->GetField('id');?>"><?php echo $dbSubs->GetField('name'); ?></h2>
 180  
 181  <?php
 182  
 183  //display the orgs for the subcategory

 184  
 185          $sqlOrgs = "SELECT * FROM organization WHERE catId = ". $dbSubs->GetField('id');
 186          $dbOrgs->Query($sqlOrgs);
 187          while($dbOrgs->GetNextRecord()) { ?>
 188              <blockquote><h3><?php echo $dbOrgs->GetField('name');?></h3>
 189          <p class="indented">
 190          <?php 
 191          $description = $dbOrgs->GetField('description');
 192  
 193          if (!empty($description)) 
 194             {
 195             echo "$description<br/>";
 196             }
 197             
 198          $phone = $dbOrgs->GetField('phone');
 199  
 200          if (!empty($phone)) 
 201             {
 202             echo "$phone&nbsp;&nbsp;&nbsp;&nbsp;";
 203             }    
 204          ?>
 205  
 206          <a href="http://<?php echo $dbOrgs->GetField('url');?>" target="_blank" rel="nofollow"><?php echo $dbOrgs->GetField('url');?></a></p></blockquote>
 207  <?php     }  ?>         <blockquote><p><a href="#top">back to top</a></p></blockquote>
 208  <?php    }
 209  }
 210  ?> 
 211      <!-- InstanceEndEditable --></td>
 212    </tr>
 213  </table>
 214  </div>
 215  <div id="addressBar">1801 Century Park East - Suite 1920 - Los Angeles CA 90067 | TEL: (310) 553-1799 | Toll-Free: (800) 425-5557<br />
 216  2700 N. Central Avenue - Suite 1400 - Phoenix AZ 85004 | TEL:  (602) 285-4406 | Toll-Free: (800) 425-5557</div>
 217    <div id="footerBar">
 218      <table width="100%" border="0" cellspacing="0" cellpadding="0">
 219        <tr>
 220          <td style="padding-left:12px">&copy; Copyright 2006 Heimberg Law Group, LLP. &nbsp;All Rights Reserved. </td>
 221          <td align="right" style="padding-right:12px"><a href="../disclaimer.html">Disclaimer</a></td>
 222        </tr>
 223      </table>
 224    </div>
 225  </div>
 226  </body>
 227  <!-- InstanceEnd --></html>


Generated: Wed Mar 23 13:22:29 2011 Cross-referenced by PHPXref 0.7