![]() |
||||
|
||||
|
Sponsored Links Anxiety Free Today. Eliminate Anxiety, Panic Attacks, Stress And Depression. Click Here for More Info! Heal Depression Naturally No Therapy - No Drugs. Discover The True Cause Of Depression And How To Heal It Naturally. Author Endured 30+ Years Of Depression Before Finding The Answer. Click Here for More Info!
Overcome Your Depression Today And Change Your Life Forever... At One Point In Their Life 12% Of The Population Will Suffer From Some Form Of Depression. Click Here for More Info!>>
The X Stress Pack. The Revolutionary And Unique Method To Eliminate Stress, Anxiety And Depression. Combining Meditation Techniques Not Seen Before, Acupressure And Other Orthodox Modalities. The Most Advanced, Yet Simple, Approach To Stress Relief.Click Here for More Info
Amazing Easy To Use Self Help Nlp Digital Hypnosis Meditation MP3s. Digital Hypnosis, Brainwave Therapy, Meditation, Adhd Add, Depression, Self Confidence, Weight Loss, Stress, Alcohol, Smoking, Addiction, Motivation, Sleep, Golf, Body Building, Fibromyalgia, Stop Bad Dreams, Anxiety, Feeling Of Happiness, Affirmations. Click Here for More Info!
| |||
<%@ Language=VBScript %><% ' Local file to store XML ' You must create a blank file named "local_404262.xml" in the same ' directory as this script. It MUST be writable by the web ' server. On unix you would CHMOD 666 the file. On Windows ' you will need to access your custom control panel to set ' the permissions or contact your hosting company. Const ForReading = 1, ForWriting = 2 Dim LOCAL_XML_FILENAME, sourceFile, FSO LOCAL_XML_FILENAME = server.MapPath("local_404262.xml") sourceFile = "http://www.text-link-ads.com/xml.php?inventory_key=PCDASGRFSWNR1ATJMOXJ&referer=" & Server.UrlEncode(Request.ServerVariables("HTTP_REFERER")) & "&user_agent=" & Server.UrlEncode(Request.ServerVariables("HTTP_USER_AGENT")) Set FSO = server.createObject("Scripting.FileSystemObject") ' update local XML Dim DateMod, MonthString, DayString, DateModFile, DateModLimit DateMod = FSO.getFile(LOCAL_XML_FILENAME).DateLastModified MonthString = Month(DateMod) If (MonthString < 10) Then MonthString = "0" & MonthString End If DayString = Day(DateMod) If (DayString < 10) Then DayString = "0" & DayString End If DateModFile = Year(DateMod) & "-" & MonthString & "-" & DayString & " " & Hour(DateMod) & ":" & Minute(DateMod) & ":" & Second(DateMod) MonthString = Month(Date) If (MonthString < 10) Then MonthString = "0" & MonthString End If DayString = Day(Date) If (DayString < 10) Then DayString = "0" & DayString End If DateModLimit = Year(Date) & "-" & MonthString & "-" & DayString & " " & (Hour(Now)-1) & ":" & Minute(Now) & ":" & Second(Now) Dim Contents, Result, xmlhttp, TextStream ' read local XML Contents = "" Set TextStream = FSO.OpenTextFile(LOCAL_XML_FILENAME, ForReading, False, -1) Do While Not TextStream.AtEndOfStream Contents = Contents & TextStream.ReadLine Loop TextStream.Close Set TextStream = nothing If (DateModFile < DateModLimit Or FSO.getFile(LOCAL_XML_FILENAME).size < 20) Then ' fetch remote XML Set xmlhttp = CreateObject("Microsoft.XMLHTTP") xmlhttp.open "GET", sourceFile, False xmlhttp.send "" Result = xmlhttp.responseText If (Result <> "") Then Contents = Result End If ' write new XML to local file Set TextStream = FSO.OpenTextFile(LOCAL_XML_FILENAME, ForWriting, True,-1) TextStream.Write Contents TextStream.Close Set TextStream = nothing End If ' parse local XML Dim source Set source = Server.CreateObject("Microsoft.XMLDOM") source.async = false source.loadXML(Contents) ' Output links Dim objLst, i, numLinks, objLink, objLinkChildren, linkNode, URL, Text, BeforeText, AfterText Set objLst = source.getElementsByTagName("Link") numLinks = objLst.length If numLinks > 0 Then Response.Write("
| ||||
Home Page Articles Blog Depression News Privacy Policy Links Contact Us Site Map | ||||