$min_len) { $new_str[$i] = $string; $i++; } } $t_name = implode(" ", $new_str); unset($new_str); $t_name = preg_replace($pattern, $replace, $t_name); $t_nameL = strtolower($t_name); return $t_nameL; } // PCL Output function pcl_output($id) { if ($id == 0) return false; $query1 = tep_db_query("select c.parent_id, cd.categories_name from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = $id and cd.categories_id = $id"); $pcla = array(); while ($pc_values = tep_db_fetch_array($query1)) { $pc_header = $pc_values[categories_name]; $parent_id = $pc_values[parent_id]; $type = "c"; $query2 = tep_db_query("select c.categories_id, c.parent_id, cd.categories_name from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = $id and c.categories_id = cd.categories_id"); while ($q2v = tep_db_fetch_array($query2)) { $q2_id = $q2v[categories_id]; $q2_head = $q2v[categories_name]; array_push($pcla, "$q2_id$q2_head"); } } $i = 0; $cPath = tep_get_path($id); echo ""; foreach ($pcla as $key => $data) { $split = explode("", $data); $p_id = $split[0]; $p_head = $split[1]; $cPath = tep_get_path($p_id); if ($i == 2) { echo ""; $i = 0; } echo ""; $i++; } echo "
Shop our Online Catalog: ". $pc_header . "

"; } // Sub Topic Sister Linking function sub_topic_links($starting_topic_id) { $parent_query = "SELECT parent_id FROM topics WHERE topics_id='". $starting_topic_id ."'"; $parent_results = tep_db_query($parent_query); $parent_id = tep_db_fetch_array($parent_results); $parent_id = $parent_id['parent_id']; if ($parent_id == 0) { $parent_id = $starting_topic_id; } /* $parent_name_query = "SELECT topics_name FROM topics_description WHERE topics_id='". $parent_id ."'"; $parent_name_results = tep_db_query($parent_name_query); $parent_name = tep_db_fetch_array($parent_name_results); $parent_name = $parent_name['topics_name']; $parent_name = preg_replace('/ /', '', $parent_name); */ $i = 0; $topics_query = "SELECT t.topics_id, td.topics_name, t.parent_id FROM topics t, topics_description td WHERE (t.parent_id='". $parent_id ."' OR t.parent_id='". $starting_topic_id ."') AND t.topics_id = td.topics_id"; $topics_results = tep_db_query($topics_query); if (tep_db_num_rows($topics_results) > 0 ) { echo ""; echo ""; while ($subs = tep_db_fetch_array($topics_results)) { $topic_id = $subs['topics_id']; $topic_name = $subs['topics_name']; if ($subs['parent_id'] == 0) { $tPath = "tPath=". $subs['topics_id']; } else { $tPath = "tPath=". $subs['parent_id'] ."_". $subs['topics_id']; } if ($i == 0) { echo ""; } if ($topic_id != $starting_topic_id) { echo ""; $i++; } if ($i == 3) { echo ""; $i = 0; } } echo "
Related Topics:
  • ". $topic_name ."
  • "; } } // Sister Artile Linking function sister_article_linking($current_id) { $fetch_cat = tep_db_query("SELECT at.topics_id, t.parent_id, td.topics_name FROM articles_to_topics at, topics t, topics_description td WHERE at.articles_id = $current_id AND at.topics_id = t.topics_id AND td.topics_id = t.topics_id"); while ($result = tep_db_fetch_array($fetch_cat)) { $tID = $result['topics_id']; $pID = $result['parent_id']; $tName = $result['topics_name']; } if ($pID == 0) { $tPath = "tPath=". $tID; } else { $tPath = "tPath=". $pID ."_". $tID; } echo ""; sub_topic_links($tID); echo "

    "; echo "Back to main topic: $tName
    "; $link_builder_query = tep_db_query("SELECT ad.articles_id, ad.articles_name, at.topics_id, at.articles_id FROM articles_description ad, articles_to_topics at WHERE at.topics_id='$tID' AND at.articles_id = ad.articles_id;"); while ($link_builder = tep_db_fetch_array($link_builder_query)) { $a_id = $link_builder['articles_id']; $a_name = $link_builder['articles_name']; $aPath = "articles_id=". $a_id; if ($current_id == $a_id) { } else { echo "$a_name
    "; } } print ("
    "); } ?> Testimonials Chiropractic Wellness Theray Treatment Pain Rehab

    Nutritional

    Nutrition is a key element in maximizing your body's performance and natural healing capabilities. Proper nutrition can help speed healing, maximize performance and give you more energy.

    Track Your Back

    Understand your therapy progress using Pinnacle Health & Wellness's Surface EMG measurement tool.

    Testimonials

    “I came to Dr. Hamel to get chiropractic treatment for my back pain and headaches; he soon made me realize that my symptoms of headaches, weight issues, back pain and fatigue were related not only to spinal problems but also nutritional deficiencies. My constant back pain and headaches effect my mood at home and at work every day, my weight issues played a big part of my negative self esteem and I was tired all of the time. After 3 weeks on the nutritional program my headaches are gone, my energy level has increased significantly and I have lost 6 pounds. I now feel more alert and alive than I ever have. I would recommend anyone to this program, friends and family are noticing that I look and act differently now." SC, Humble, TX, April 2013

    “I was having issues with my skin, hair falling out, and my nails breaking off. My blood sugar was increasing and I am type 2 Diabetic. All this has been going on for about 4 years, also my cravings for sugar were out of control. My mood and energy levels were very low, I felt very sluggish all of the time. Losing my hair was the worst, it was so embarrassing. Now I have no more sugar cravings and my blood sugar is getting better. My skin is not nearly as dry, and I am not having acne breakouts like I was before. My hair is not breaking off and falling out like it used to. My nails are finally growing for the first time in years.” MP, Kingwood, TX March 2013

    “I was having major issues with fatigue, craving sweets and not being able to think straight and realized getting older these symptoms were not improving but getting worse. The thought of being productive felt like a chore as I did not want to do anything. With the help of Dr. Hamel my life has changed. I have seen a change in as little as 12 days with the amount of energy and clarity that I feel as well as my sweet tooth has slowly faded. I have lost 16 pounds in 3 weeks so fat and I am sure I will continue. Also my hormones seem to be in check and everything is feeling more natural. I want to say thank you Dr. Hamel for taking the time out to give me back my energy!!!” PL, Kingwood, TX January 2013

    “I have many thanks to give to Dr. Hamel for making me not embarrassed to be seen in public. I had been losing my hair in chunks, dermatitis and not to forget the headaches!!! Since I have been trusting Dr. Hamel with this program the headaches are gone, my hair is back and I feel healthy again!!! I would recommend this program to anyone that is feeling uncomfortable with their life because I know it helped change mine.” KL, Kingwood, TX December 2012

    “I was constantly having severe headaches everyday and I just could not get a good night’s rest which caused me to be extremely irritable. These two issues took away from my family and the ability to support them because I was extremely fatigue and grouchy. After meeting with Dr. Hamel and hearing is concern and knowledge I opened up to the idea of making a change in my life. The headaches are very rare now and I feel rested and enjoy going to work and spending time with my family. Thank you again Dr. Hamel.” TD, Kingwood, TX February 2013

    “I came in 1.5 weeks ago with neck pain, headaches and I always felt tired. Taking the nutritional supplements he recommended, and with 3 treatments I now rarely have a headache, and my neck and back are finally getting some relief. I think Dr. Hamel spends the right amount of time with me and I definitely get the value for the service, I will refer my husband, sister and friends in for sure.”
    JB, Huffman, TX

    There are currently no articles in this topic.