go here, and add <?custom404_print404message();?> to your 404 Template where you want the suggestions to appear. Author: 404 Plugin Author URI: http://www.404plugin.com */ function custom404_print404message() { global $custom404_server; global $custom404_missingpagestr; $custom404_missingpagestr = custom404_getmissingpagestr(); $custom404_missingpagestr = str_replace(' ', '+', $custom404_missingpagestr); $custom404_headline = 'Related pages on this site'; $custom404_server[] = "+site%3A$_SERVER[SERVER_NAME]"; $custom404_googleresults = custom404_gettextbetweentags('
', '
', custom404_enginesearch('google')); $custom404_googleresults = str_replace('a href="/', 'a target=_blank rel=nofollow href="http://www.google.com/', $custom404_googleresults); $custom404_googleresults = str_replace('Tip: Save time by hitting the return key instead of clicking on "search"', '', $custom404_googleresults); $custom404_googleresults = str_replace('Search Results', '', $custom404_googleresults); for ($count=1; $count<15; $count++) { $custom404_nofollow = $count-1 ? 'rel=nofollow' : ''; $custom404_googleresults = str_replace("onmousedown=\"return clk(this.href,'','','res','$count','')\"", $custom404_nofollow, $custom404_googleresults); $custom404_googleresults = str_replace("onmousedown=\"return clk(this.href,'','','clnk','$count','')\"", $custom404_nofollow, $custom404_googleresults); } if (strpos($custom404_googleresults, 'did not match any documents.') || strpos($custom404_googleresults, $_SERVER[REDIRECT_URL] )) { $custom404_headline = 'No local results found. From the web:'; $custom404_googleresults = custom404_gettextbetweentags('
', '
', custom404_enginesearch('google', 'www')); $custom404_googleresults = str_replace('a href="/', 'a target=_blank rel=nofollow href="http://www.google.com/', $custom404_googleresults); $custom404_googleresults = str_replace('Tip: Save time by hitting the return key instead of clicking on "search"', '', $custom404_googleresults); $custom404_googleresults = str_replace('Search Results', '', $custom404_googleresults); for ($count=1; $count<15; $count++) { $custom404_nofollow = $count-1 ? 'rel=nofollow' : ''; $custom404_googleresults = str_replace("onmousedown=\"return clk(this.href,'','','res','$count','')\"", $custom404_nofollow, $custom404_googleresults); $custom404_googleresults = str_replace("onmousedown=\"return clk(this.href,'','','clnk','$count','')\"", $custom404_nofollow, $custom404_googleresults); } $custom404_googleurls = custom404_findurls($custom404_googleresults); $count=1; foreach ($custom404_googleurls as $custom404_googleurl) { $custom404_nofollow = $count-1 ? 'rel=nofollow' : ''; if (!(strpos($custom404_googleurl, '.google.com')) && !(strpos($custom404_googleurl, 'search?')) ) { $custom404_snippet = custom404_gettextbetweentags($custom404_googleurl, '
', $custom404_googleresults . '
'); $custom404_snippet = custom404_gettextbetweentags('>', '', $custom404_snippet); $custom404_snippet = str_replace('<', ' <', $custom404_snippet); $custom404_snippet = strip_tags($custom404_snippet); $custom404_snippet = str_replace(' ', ' ', $custom404_snippet); $custom404_snippet = str_replace('...', '', $custom404_snippet); if(!(strpos($custom404_snippet, 'ached - Similar'))) { $custom404_punctuation = array('.', '?', '!', ':', '-', '|'); $custom404_closetag = array('.', '?', '!', ':', '-', '|'); $custom404_snippet = str_replace($custom404_punctuation, $custom404_closetag, $custom404_snippet); $custom404_snippetparts = explode('', $custom404_snippet); $firstpart = array_shift($custom404_snippetparts); $otherparts = @implode('', $custom404_snippetparts); $custom404_snippet = $firstpart . '' . $otherparts; $custom404_formattedgoogleurls[] = "$custom404_snippet"; $count++; } } } $custom404_formattedgoogleresults = @implode("
\n
\n", $custom404_formattedgoogleurls); if (strpos($custom404_googleresults, 'did not match any documents.')) { $custom404_googleresults = '
    No results found on the web.
'; } else { $custom404_googleresults = $custom404_formattedgoogleresults; } } $custom404_yahooresults = utf8_encode(custom404_gettextbetweentags('
    ', '
', custom404_enginesearch('yahoo'))); $custom404_yahooresults = str_replace('

WEB RESULTS

', '', $custom404_yahooresults); if (strpos($custom404_yahooresults, 'We did not find results for')) { $custom404_yahooresults = utf8_encode(custom404_gettextbetweentags('
    ', '
', custom404_enginesearch('yahoo', 'www'))); $custom404_yahooresults = str_replace('

WEB RESULTS

', '', $custom404_yahooresults); if (strpos($custom404_yahooresults, 'We did not find results for')) { $custom404_yahooresults = 'No results found on the web.'; } } $custom404_formattedquerystring = $_SERVER[REDIRECT_QUERY_STRING] ? "?$_SERVER[REDIRECT_QUERY_STRING]":""; print "

Suggestions

$custom404_googleresults
    " . // $custom404_yahooresults . "
"; } function custom404_findurls($Page) { preg_match_all ("/a[\s]+[^>]*?href[\s]?=[\s\"\']+". "(.*?)[\"\']+.*?>"."([^<]+|.*?)?<\/a>/", $Page, &$matches); $matches = $matches[1]; return $matches; } function custom404_sendheader() { if(is_404()){ header('HTTP/1.0 200 OK'); header('Cache-Control: max-age=360000, public'); header('Pragma: public'); $offset = 60 * 60 * 24 * 14; //2 weeks $ExpStr = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT"; header($ExpStr); } } function custom404_404title($title) { if(is_404()) { $title = custom404_getmissingpagestr(); } return $title; } function custom404_getmissingpagestr() { $custom404_missingpagestr = urldecode($_SERVER[REDIRECT_URL]); if (strlen($custom404_missingpagestr) - strrpos($custom404_missingpagestr, '.') <= 5) { $custom404_filename = substr($custom404_missingpagestr, 0, strrpos($custom404_missingpagestr, '.')); $custom404_ext = str_replace("$custom404_filename.", '', $custom404_missingpagestr); $custom404_missingpagestr = $custom404_filename; } $custom404_missingpagestr .= ' ' . urldecode($_SERVER[REDIRECT_QUERY_STRING]); $custom404_replacewithspace = array( '-', '/', '_', '&', '?', '#', '+', '='); $custom404_missingpagestr = str_replace($custom404_replacewithspace, ' ', $custom404_missingpagestr); $custom404_missingpagestr = trim($custom404_missingpagestr); return $custom404_missingpagestr; } function custom404_enginesearch($engine='google', $www=0) { global $custom404_server; global $custom404_missingpagestr; $header = array(); $referers = array('google' => 'Referer: http://www.google.com', 'yahoo' => 'http://www.yahoo.com'); array_push ($header, $referers[$engine]); if($www)$custom404_server[0] = str_replace('+','+-', $custom404_server[0]); $UserAgents = array("Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1", "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"); $URLs = array ('google' => "http://www.google.com/search?hl=en&q=$custom404_missingpagestr$custom404_server[0]&btnG=Google+Search&aq=f&oq=", 'yahoo' => "http://search.yahoo.com/search?p=$custom404_missingpagestr$custom404_server[0]&fr=yfp-t-501&toggle=1&cop=mss&ei=UTF-8"); $ch = curl_init(); curl_setopt($ch, CURLOPT_USERAGENT, $UserAgents[array_rand($UserAgents)]); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $URLs[$engine]); curl_setopt($ch, CURLOPT_COOKIESESSION, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, $header); $ret = curl_exec($ch); curl_close($ch); if (!strlen($ret)) $ret = ("An error occured when loading the $engine search results."); return $ret; } function custom404_gettextbetweentags ($start, $end, $string) { $startpos = $start ? strpos($string, $start) + strlen($start) : 0; $matchlength = strpos($string, $end, $startpos) - $startpos ? strpos($string, $end, $startpos) - $startpos : strlen($string); $foundstring = trim (substr($string, $startpos, $matchlength)); return $foundstring; } //Override SEO Plugin Title - Comment these lines out to restore. add_option("aiosp_404_title_format", custom404_getmissingpagestr(), 'All in One SEO Plugin 404 Title Format', 'yes'); update_option('aiosp_404_title_format', custom404_getmissingpagestr()); add_action('get_header', 'custom404_sendheader'); add_filter('wp_title', 'custom404_404title'); ?> Texas Laser Lipsouction - Cheap Discounts on Laser Assisted Liposuction

TX Location

Dallas 2 TX LocationLooking for the best price on Laser Liposuction in Dallas?

NLI Med Spa in Dallas, TX offers the latest Laser Lipo fat reduction procedure, known as SlimLipo, at a fraction of the cost. Patients wanting to safely and effectively get rid of pockets of fat in problem areas can take advantage of this affordable Laser Lipo treatment and enjoy all the benefits of curves sculpted with laser precision.

Call NLI Med Spa today to discuss your SlimLipo treatment options at 214.252.7844.

Get an additional 20% off Laser Liposuction!
If you’ve ever had any treatment at NLI Med Spa, you will receive the new Laser Lipo procedure, performed by a board certified plastic surgeon, for an additional 20% off!

New to NLI Med spa? Receive any first treatment (even one for as little as $50) and qualify for the additional 20% discount on Laser Lipo. Schedule your appointment today!

*Please note, NLI Med Spa typically has rates 50% to 60% lower than other retail spas in Phoenix, Scottsdale, Mesa and surrounding areas of Arizona for their med spa services.

NLI Med Spa
National Laser Institute
214.252.7844
Inside The Shops At Bluffview
3850 W. Northwest Highway, Suite #1100
Dallas, TX 75220

Info Request

First Name * Last Name *   E-mail Address * Primary Phone Number *    Treatment * -use ctrl+click for multiple Location * Scottsdale, AZ Dallas, TX

Search