<?php

//  PROJECT HONEY POT ADDRESS DISTRIBUTION SCRIPT
//  For more information visit: http://www.projecthoneypot.org/
//  Copyright (C) 2004, Unspam, LLC
//  
//  This program is free software; you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation; either version 2 of the License, or
//  (at your option) any later version.
//  
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//  
//  You should have received a copy of the GNU General Public License
//  along with this program; if not, write to the Free Software
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
//  02111-1307  USA
//  
//  If you choose to modify or redistribute the software, you must
//  completely disconnect it from the Project Honey Pot Service, as
//  specified under the Terms of Service Use. These terms are available
//  here:
//  
//  http://www.projecthoneypot.org/terms_of_service_use.php
//  
//  The required modification to disconnect the software from the
//  Project Honey Pot Service is explained in the comments below. To find the
//  instructions, search for:  *** DISCONNECT INSTRUCTIONS ***
//  
//  Generated On: Tue, 26 Oct 2004 19:33:19 -0500
//  For Domain: hewgill.com
//  
//  

//  *** DISCONNECT INSTRUCTIONS ***
//  
//  You are free to modify or redistribute this software. However, if
//  you do so you must disconnect it from the Project Honey Pot Service.
//  To do this, you must delete the lines of code below located between the
//  *** START CUT HERE *** and *** FINISH CUT HERE *** comments. Under the
//  Terms of Service Use that you agreed to before downloading this software,
//  you may not recreate the deleted lines or modify this software to access
//  or otherwise connect to any Project Honey Pot server.
//  
//  *** START CUT HERE ***
//  
define(__REQUEST_HOST,   'hpr7.projecthoneypot.org');
define(__REQUEST_PORT,   '80');
define(__REQUEST_SCRIPT, '/cgi/serve.php');
//  
//  *** FINISH CUT HERE ***
//  

define(__HPOT_TAG1,      'e3953615b0d085ef8eb4ea01a82e49d8');
define(__HPOT_TAG2,      '4c37f837b1ac33fe8c8539051936155c');
define(__HPOT_TAG3,      '34aa2473d1aa4705f92165addfe297ff');

define(__CLASS_STYLE_1,  'trozijowroga');
define(__CLASS_STYLE_2,  'gayaphuphotr');

define(__DIV1,           'gikacl9mil6');

define(__VANITY_L1,      'MEMBER OF PROJECT HONEY POT');
define(__VANITY_L2,      'Spam Harvester Protection Network');
define(__VANITY_L3,      'provided by Unspam');

define(__DOC_TYPE1,      '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n');
define(__HEAD1,          '<html>\n<head>\n');
define(__HEAD2,          '<title>Unanimous|hewgill.com</title>\n</head>\n');
define(__ROBOT1,         '<meta name="robots" content="follow">\n<meta name="robots" content="noindex,noarchive">\n');
define(__NOCOLLECT1,     '<meta name="no-email-collection" content="/" />\n');
define(__TOP1,           '<body>\n<center>\n');
define(__EMAIL1A,        '<a href="mailto:');
define(__EMAIL1B,        '" style="display: none;">');
define(__EMAIL1C,        '</a>');
define(__EMAIL2A,        '<a href="mailto:');
define(__EMAIL2B,        '" style="display:none;">');
define(__EMAIL2C,        '</a>');
define(__EMAIL3A,        '<a style="display: none;" href="mailto:');
define(__EMAIL3B,        '">');
define(__EMAIL3C,        '</a>');
define(__EMAIL4A,        '<a style="display:none;" href="mailto:');
define(__EMAIL4B,        '">');
define(__EMAIL4C,        '</a>');
define(__EMAIL5A,        '<a href="mailto:');
define(__EMAIL5B,        '"></a>');
define(__EMAIL5C,        '..');
define(__EMAIL6A,        '<span style="display: none;"><a href="mailto:');
define(__EMAIL6B,        '">');
define(__EMAIL6C,        '</a></span>');
define(__EMAIL7A,        '<span style="display:none;"><a href="mailto:');
define(__EMAIL7B,        '">');
define(__EMAIL7C,        '</a></span>');
define(__EMAIL8A,        '<!-- <a href="mailto:');
define(__EMAIL8B,        '">');
define(__EMAIL8C,        '</a> -->');
define(__EMAIL9A,        '<div id="'.__DIV1.'"><a href="');
define(__EMAIL9B,        '">');
define(__EMAIL9C,        '</a></div><br><script language="JavaScript" type="text/javascript">document.getElementById(\''.__DIV1.'\').innerHTML=\'\';</script>');
define(__EMAIL10A,       '<a href="mailto:');
define(__EMAIL10B,       '"><!-- ');
define(__EMAIL10C,       ' --></a>');
define(__LEGAL1,         '');
define(__LEGAL2,         '\n');
define(__STYLE1,         '\n<style>a.'.__CLASS_STYLE_1.'{color:#FFF;font:bold 10px arial,sans-serif;text-decoration:none;}</style>');
define(__VANITY1,        '<table cellspacing="0"cellpadding="0"border="0"style="background:#999;width:230px;"><tr><td valign="top"style="padding: 1px 2px 5px 4px;border-right:solid 1px #CCC;"><span style="font:bold 30px arial,sans-serif;color:#666;top:0px;position:relative;">@</span></td><td valign="top" align="left" style="padding:3px 0 0 4px;"><a href="http://www.projecthoneypot.org/" class="'.__CLASS_STYLE_1.'">'.__VANITY_L1.'</a><br><a href="http://www.unspam.com"class="'.__CLASS_STYLE_1.'">'.__VANITY_L2.'<br>'.__VANITY_L3.'</a></td></tr></table>\n');
define(__BOTTOM1,        '</center>\n</body>\n</html>\n');


function getLegalContent() { return '<table cellspacing="0" cellpadding="0" border="0">\n<tr>\n<td><font face="courier"><b><font color="#FFFFFF">t</font><font color="#FFFFFF">f</font><font color="#FFFFFF">c</font></b>&nbsp; &nbsp; &nbsp;&nbsp; <br>&nbsp;<br>The websit<br>to you su<span style="display:none">withdrawal almighty</span>b<br>o&#116;her term<br>W&#101;bsite yo<br>read t&#104;em<font color="#FFFFFF">d</font><br>agent&#115; of <br>th<span style="display:none">skill</span>em. The <br>non-transf<br>Webs&#105;te.<br><br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <b><font color="#FFFFFF">t</font></b><br>&nbsp;<br>Sp&#101;c&#105;al<font color="#FFFFFF">i</font>re<br>Non-Hum&#97;n <br>spiders, b<br>program&#115; &#100;<br>&#97;utomatic&#97;<br><br>Email<font color="#FFFFFF">a</font>addr<br>It is reco<br>alone. You<br>ha&#115; a v<span style="display:none">ideal hemispheric sugary nationality contempt</span>alu<br>storage, a<br>&#118;alue o&#102; &#116;<br>sto&#114;ing th<br>a&#103;reeme<span style="display:none">highpitched</span>n&#116; <br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>&nbsp;<br>Eac&#104; p&#97;rty<br>against th<br>("Ju&#100;icial<br>th&#101; r<span style="display:none">breezy complexioned key</span>egis&#116;<br>such laws <br>and<font color="#FFFFFF">s</font>p&#101;rfor<br>of federal<br>any &#97;ction<br>&#83;ervice. Y<br>&#116;he abo&#118;e<font color="#FFFFFF">t</font><br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>&nbsp;<br>Y&#111;u consen<br>m&#97;y app&#101;&#97;r<br>&#97;buse. T<span style="display:none">kingly juvenile cathedral magazine mosaic</span>he<br>Visitors a<br><br>VI&#83;&#73;TO&#82;S A<br>PART&#89; OR<font color="#FFFFFF">c</font>S<br>S&#85;B&#83;EQ&#85;&#69;NT<br></font></td>\n<td><font face="courier">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br><br>e fro&#109; whi<br>&#106;ect to &#116;h<br>s &#103;ov&#101;r&#110;in<br>u acc&#101;pt t<br>carefully.<br>the i&#110;divi<br>access rig<br>&#101;&#114;ab<span style="display:none">award longstanding unification</span>le &#119;it<br><br><br>&nbsp; &nbsp;&nbsp; <b>SPE&#67;I</b><br><br>stric&#116;i&#111;ns<br>Visitors. <br>ots, index<br>es&#105;&#103;ne&#100;<font color="#FFFFFF">c</font>&#116;o<br>&#108;ly&#46;<br><br>esses on &#116;<br>gn&#105;zed &#116;ha<br>&nbsp;&#97;ckn&#111;wled<br>e n&#111;t less<br>nd/or dist<br>&#104;e&#115;e a&#100;dr&#101;<br>i<span style="display:none">minute gain chockablock faithlessness</span>s Web<span style="display:none">folk bulb tendentious</span>site<br>and expres<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br><br>&nbsp;agrees th<br>e other<font color="#FFFFFF">f</font>i&#110;<br>&nbsp;&#65;ction") <br>e&#114;&#101;d A&#100;mi&#110;<br>are<font color="#FFFFFF">s</font>applie<br>me&#100; e&#110;tire<br>&nbsp;&#97;nd<font color="#FFFFFF">s</font>s&#116;a<span style="display:none">liar formulation globular monthly alveolar</span>te<br>&nbsp;b<span style="display:none">gown evangelical fantastic</span>rou&#103;ht a<br>ou c<span style="display:none">proposal blank blanket</span>onse&#110;t<br>agr&#101;&#101;ment.<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br><br>t<font color="#FFFFFF">c</font>to hav&#105;n<br>&nbsp;somewhere<br>&nbsp;Ide&#110;tifie<br>&#103;re&#101; not t<br><br>GR&#69;E THAT <br>EN&#68;ING ANY<br>&nbsp;BREA&#67;H<font color="#FFFFFF">p</font>&#79;F<br></font></td>\n<td><font face="courier">&nbsp; &nbsp; &nbsp;&nbsp; <b>TE&#82;</b><br><br>ch you &#97;cc<br>&#101; followin<br>g access t<br>hese<font color="#FFFFFF">a</font>&#116;er&#109;&#115;<br>&nbsp;Any Non-&#72;<br>dua&#108;(s) wh<br>hts g&#114;ante<br>hout<font color="#FFFFFF">a</font>th&#101; e<span style="display:none">inferior corporation</span><br><br><br><b>&#65;L</b>&nbsp;<b>LICENSE</b><br><br>&nbsp;&#111;n a vi&#115;i<br>Non-Human <br>er<span style="display:none">oomph whimsical</span>s, r&#111;bot<br>&nbsp;acc&#101;ss, r<br><br><br>&#104;is &#115;ite a<br>t these &#101;m<br>ge<font color="#FFFFFF">f</font>a&#110;d agr<br>&nbsp;than &#85;S $<br>ribution<font color="#FFFFFF">t</font>&#111;<br>sses.<font color="#FFFFFF">c</font>Inte<br>\'s e&#109;a&#105;l a<br>sly prohib<br><br>&nbsp; &nbsp;&nbsp; <b>A&#80;PLI</b><br><br>at &#97;&#110;&#121; sui<br>&nbsp;connectio<br>shall be &#103;<br>istrative <br>d to a&#103;ree<br>l&#121; wi&#116;hin <br>&nbsp;&#99;ourts w&#105;<br>gainst h&#105;m<br>&nbsp;to elect&#114;<br><br><br>&nbsp; &nbsp; <b>RECORD</b><br><br>g &#121;&#111;ur<font color="#FFFFFF">a</font>Int<br>&nbsp;on this &#112;<br>r is &#117;&#110;iqu<br>o use thi&#115;<br><br>HARVESTING<br>&nbsp;MESSAGE(&#83;<br>&nbsp;THESE TER<br></font></td>\n<td><font face="courier"><b>M<span style="display:none">candle prey</span>S</b>&nbsp;<b>AND</b>&nbsp;<b>CON</b><br><br>essed<font color="#FFFFFF">t</font>t&#104;is<br>&#103; conditio<br>&#111; the &#87;&#101;&#98;s<br><font color="#FFFFFF">a</font>and co&#110;di<br>uman Vis&#105;t<br>o c&#111;&#110;trols<br>d to you u<br>xpress wri<br><br><br>&nbsp;<b>R&#69;&#83;TRICTI</b><br><br>tor\'s lice<br>Visitors i<br>&#115;, crawler<br>ead&#44;<font color="#FFFFFF">t</font>com&#112;i<br><br><br>re conside<br>ail ad<span style="display:none">consequent trout</span>dr&#101;&#115;<br>ee that ea<br>&#53;0. You fu<br>f th&#101;se ad<br>nt&#105;onal c&#111;<br>ddresse&#115; &#105;<br>i&#116;e&#100;.<br><br><b>CABL&#69;</b>&nbsp;<b>LA&#87;</b>&nbsp;<br><br>t, acti<span style="display:none">inquiry</span>on <br>&#110; w&#105;th or <br>overned<span style="display:none">tunnel above exuberant sweptback</span><font color="#FFFFFF">f</font>by<br>Contact<font color="#FFFFFF">f</font>(t<br>me<span style="display:none">pointofsale happy</span>nts betw<br>the Admin <br>thin th&#101; A<br>&nbsp;&#105;n connec<br>onic servi<br><br><br><b>S</b>&nbsp;<b>O&#70;<font color="#FFFFFF">t</font>V&#73;&#83;IT</b><br><br>ernet<font color="#FFFFFF">f</font>Prot<br>age<font color="#FFFFFF">c</font>(&#116;he<span style="display:none">monoclinal dwelling</span>&nbsp;"<br>ely mat&#99;h&#101;<br>&nbsp;a&#100;&#100;ress &#102;<br><br>,<font color="#FFFFFF">c</font>GATHERI&#78;<br>) TO<font color="#FFFFFF">h</font>THE I<br>M&#83; OF<font color="#FFFFFF">t</font>&#83;ERV<br></font></td>\n<td><font face="courier"><b>DITI&#79;&#78;S</b>&nbsp;<b>OF</b><br><br>&nbsp;agreeme&#110;t<br>&#110;s&#46; T<span style="display:none">consequence black busy</span>hes&#101; <br>it<span style="display:none">oscine signal</span>e. By vi<br>tions (the<br>&#111;rs to t&#104;e<br>, authors <br>n&#100;er the T<br>tte&#110; permi<br><br><br><b>O&#78;S</b>&nbsp;<b>FOR</b>&nbsp;<b>&#78;O</b><br><br>nse to acc<br>n&#99;lude, bu<br>s, ha&#114;vest<br>le or<span style="display:none">recoilless</span>&nbsp;gath<br><br><br>red pro&#112;r&#105;<br>ses are pr<br>ch<font color="#FFFFFF">i</font>&#101;&#109;ai&#108; a<br>rther agre<br>dresses s<span style="display:none">diminuendo hurried causal</span>u<br>llect&#105;on&#44; <br>&#115; recogniz<br><br><br><b>AND</b>&nbsp;<b>JURIS&#68;</b><br><br>&#111;r proc&#101;ed<br>arisin&#103; fr<br>&nbsp;the<font color="#FFFFFF">c</font>law o<br>he "Admi<span style="display:none">intention naturel essential</span>&#110; <br>e<span style="display:none">tiger contradictory</span>en Admi<span style="display:none">various dwelling lonely</span>n <br>State. Yo<span style="display:none">paisley plausible property</span>&#117;<br>dmin State<br>tio&#110; with <br>ce<font color="#FFFFFF">g</font>of proc<br><br><br><b>OR</b>&nbsp;<b>USE</b>&nbsp;<b>AND</b><br><br>ocol addre<br>Id&#101;n<span style="display:none">fabian pipe drummers</span>t&#105;fier<br>d to<span style="display:none">loop epic underlying</span>&nbsp;you&#114;<font color="#FFFFFF">c</font><br>or an&#121; &#114;ea<br><br>G, &#83;TO&#82;ING<br>DENTIFIER <br>ICE.<br></font></td>\n<td><font face="courier">&nbsp;<b>USE</b>&nbsp;<br><br><font color="#FFFFFF">p</font>("&#116;&#104;e<font color="#FFFFFF">o</font>We&#98;<br>terms are <br>siting (in<br>&nbsp;"Te&#114;ms of<br>&nbsp;Web&#115;ite s<br>o<span style="display:none">league encouraging territorial postbellum</span>r o&#116;herwi<br>&#101;rm&#115; of Se<br>ssion<span style="display:none">sensible tundra monetary proportion fraction</span>&nbsp;of t<br><br><br><b>N-HU&#77;&#65;N</b>&nbsp;<b>V&#73;</b><br><br>e&#115;s the We<br>t are not <br>ers, &#111;r a&#110;<br>er<font color="#FFFFFF">s</font>content<br><br><br>e&#116;&#97;r&#121; &#105;nte<span style="display:none">issue individual dimension productive epicurean</span><br>ovi&#100;ed for<br>ddress the<br>e &#116;hat<font color="#FFFFFF">c</font>th&#101;<br>b<span style="display:none">involved</span>stant&#105;all<br>harve&#115;ting<br>ed as a<font color="#FFFFFF">c</font>vi<br><br><br><b>ICTION</b>&nbsp;<br><br>&#105;ng br&#111;u&#103;h<br>o<span style="display:none">operating grandfatherly gibbous</span>m<font color="#FFFFFF">a</font>&#116;he Te&#114;<br>&#102;<font color="#FFFFFF">h</font>th&#101; s&#116;at<br>S&#116;a&#116;e"&#41; fo<br>&#83;t&#97;te resi<br>&nbsp;consent t<br>. &#89;ou cons<br>brea&#99;hes o<br>&#101;ss regard<br><br><br>&nbsp;<b>AB&#85;SE</b>&nbsp;<br><br>ss re&#99;or&#100;e<br>") if<font color="#FFFFFF">p</font>&#119;e s<br>Internet P<br>son.<br><br>, TRANSF&#69;R<br>CON<span style="display:none">scheme rhomboid formal discipline</span>STITUTE<br><br></font></td>\n<td><font face="courier"><br><br>site") is <br>i&#110; add<span style="display:none">orange roughandready fine</span>itio<br>&nbsp;an&#121; manne<br>&nbsp;Service")<br>hal&#108; b&#101; co<br>se make&#115; u<br>rvice are<br>he o&#119;ner o<br><br><br><b>SIT&#79;&#82;S</b>&nbsp;<br><br>b&#115;i&#116;&#101; app&#108;<br>limited t&#111;<br>y othe&#114; co<br>&nbsp;from<font color="#FFFFFF">i</font>th&#101; <br><br><br>llec&#116;&#117;al<font color="#FFFFFF">c</font>p<br>&nbsp;hu&#109;an vis<br>&nbsp;We&#98;sit&#101; c<br>&nbsp;c&#111;m&#112;il&#97;&#116;i<br>y &#100;i&#109;inish<br>, gatherin<br>olation<span style="display:none">reeltoreel month bestball</span>&nbsp;of<br><br><br><br><br>t by such <br>ms &#111;f &#83;erv<br>e of resid<br>r t<span style="display:none">chunky</span>h&#101; Webs<br>dents e&#110;&#116;e<br>o the juri<br>ent to &#116;&#104;e<br>f &#116;hese &#84;e<br>&#105;ng a&#99;ti&#111;n<br><br><br><br><br>d. An em&#97;i<br>usp<span style="display:none">pyramid correspondent</span>ec&#116;<font color="#FFFFFF">o</font>pot<span style="display:none">unaware technique troop daylight trunk</span><br>&#114;o&#116;ocol ad<br><br><br>RING TO A<font color="#FFFFFF">p</font><br>S AN A<span style="display:none">turkish round cm</span>C&#67;EP<br><br></font></td>\n<td><font face="courier"><br><br>provid&#101;d<br>n to any<br>&#114;) th&#101;<br>. Please<br>ns&#105;der<span style="display:none">balance complex</span>e&#100;<br>se o&#102;<br><br>f the<br><br><br><br><br>y<font color="#FFFFFF">t</font>to<br>, we<span style="display:none">eatable</span>b<br>mputer<br>Web&#115;ite<br><br><br>roperty.<br>&#105;tors<br>onta&#105;&#110;s<br>on,<br>es the<br>&#103;,<font color="#FFFFFF">e</font>and/or<br>&nbsp;thi&#115;<br><br><br><br><br>pa&#114;ty<br>ice<br>en&#99;e &#111;f<br>ite<font color="#FFFFFF">i</font>as<br>red &#105;n&#116;o<br>sdi&#99;&#116;ion<br>&nbsp;v&#101;nue in<br>r&#109;s o&#102;<br>s under<span style="display:none">week incandescent</span><br><br><br><br><br>l addr&#101;ss<br>ent&#105;al<br>d&#114;ess.<br><br><br>THIRD<br>TANCE AND<br><br></font></td>\n</tr>\n</table>\n<br>'; }


?><?php 


function formatHTML($s) {
    return str_replace('\n',"\n",$s);
}

function getDocType()       { return formatHTML(__DOC_TYPE1); }
function getHeadHTML1()     { return formatHTML(__HEAD1); }
function getRobotHTML()     { return formatHTML(__ROBOT1); }
function getNoCollectHTML() { return formatHTML(__NOCOLLECT1); }
function getHeadHTML2()     { return formatHTML(__HEAD2); }
function getTopHTML()       { return formatHTML(__TOP1); }
function getEmailHTML($method,$m) { 
    switch ($method) {
    case 0: return "";
    case 1: return formatHTML(__EMAIL1A.$m.__EMAIL1B.$m.__EMAIL1C); 
    case 2: return formatHTML(__EMAIL2A.$m.__EMAIL2B.$m.__EMAIL2C); 
    case 3: return formatHTML(__EMAIL3A.$m.__EMAIL3B.$m.__EMAIL3C); 
    case 4: return formatHTML(__EMAIL4A.$m.__EMAIL4B.$m.__EMAIL4C); 
    case 5: return formatHTML(__EMAIL5A.$m.__EMAIL5B); 
    case 6: return formatHTML(__EMAIL6A.$m.__EMAIL6B.$m.__EMAIL6C); 
    case 7: return formatHTML(__EMAIL7A.$m.__EMAIL7B.$m.__EMAIL7C); 
    case 8: return formatHTML(__EMAIL8A.$m.__EMAIL8B.$m.__EMAIL8C); 
    case 9: return formatHTML(__EMAIL9A.$m.__EMAIL9B.$m.__EMAIL9C); 
    }
    return formatHTML(__EMAIL9A.$m.__EMAIL9B.$m.__EMAIL9C); 
}
function getLegalHTML()   { return formatHTML(__LEGAL1.(getLegalContent()).__LEGAL2); }
function getStyleHTML()   { return formatHTML(__STYLE1); }
function getVanityHTML()  { return formatHTML(__VANITY1); }
function getBottomHTML()  { return formatHTML(__BOTTOM1); }

function performRequest($request) {
    $response = "";
    
    $head  = "POST ".__REQUEST_SCRIPT." HTTP/1.1\r\n";
    $head .= "Host: ".__REQUEST_HOST."\r\n";
    $head .= "User-Agent: PHPot ".__HPOT_TAG2."\r\n";
    $head .= "Content-Type: application/x-www-form-urlencoded\r\n";
    $head .= "Content-Length: ".strlen($request)."\r\n";
    $head .= "Connection: close\r\n\r\n";
    
    $errno  = NULL;
    $errstr = NULL;
    $fd = @fsockopen (__REQUEST_HOST, __REQUEST_PORT, $errno, $errstr, 20);
    
    if (!$fd) {
        // Socket Error
        die("\n<BR>Unable to contact the Server<BR>\n");
        return "-1";
    } else {
        fputs($fd,$head.$request);
        while(!feof($fd)) {
            $response .= fgets($fd,4096);
        }
        fclose($fd);
    }

    return $response;
}

function prepareRequest() {
    $postvars          = array();
    $postvars["tag1"]  = __HPOT_TAG1;
    $postvars["tag2"]  = __HPOT_TAG2;
    $postvars["tag3"]  = __HPOT_TAG3;              
    $postvars["tag4"]   = md5(implode("",file(basename($_SERVER["PHP_SELF"])))); 
    $postvars["ip"]    = $_SERVER["REMOTE_ADDR"];
    $postvars["svrn"]  = $_SERVER["SERVER_NAME"];  
    $postvars["svp"]   = $_SERVER["SERVER_PORT"];  
    $postvars["svip"]  = $_SERVER["SERVER_ADDR"];
    $postvars["rquri"] = $_SERVER["REQUEST_URI"];
    $postvars["sn"]    = str_replace(' ','%20',$_SERVER["SCRIPT_NAME"]);
    $postvars["ref"]   = $_SERVER["HTTP_REFERER"];
    $postvars["uagnt"] = $_SERVER["HTTP_USER_AGENT"];

    return $postvars;
}

function transcribeResponse(& $response) {
    $settings  = NULL;
    $arr       = explode("\n",$response);
    $isParam   = FALSE;

    
    for ($i=0;list(,$v)=each($arr);$i++) {
        if ($v == "<END>")   $isParam = FALSE;

        if ($isParam) {          
            $pieces = explode("=",$v,2);
            $settings[$pieces[0]] = urldecode($pieces[1]);
        }
        if ($v == "<BEGIN>") $isParam = TRUE;
    }
    

    if ($settings["directives"]) {
        $settings["directives"] = explode(",",$settings["directives"]);
    }

    return $settings;
}


$response  = "";
$post      = prepareRequest();

for (reset($post);list($k,$v) = each($post);) {
    $request .= "&$k=".urlencode(stripslashes($v));
}
$request    = substr($request,1);
$response   = performRequest($request);
if ($response == "-1") {
    exit();
}
$settings   = transcribeResponse($response);

$directives   = $settings["directives"];
$email        = $settings["email"];
$emailmethod  = $settings["emailmethod"];




?>
<?=($directives[0]==1) ? getDocType()    : "" ?>
<?=($settings["injDocType"]) ? $settings["injDocTypeMsg"] : "" ?>
<?=($directives[1]==1) ? getHeadHTML1()   : "" ?>
<?=($settings["injHead1HTML"]) ? $settings["injHead1HTMLMsg"] : "" ?>
<?=($directives[8]==1) ? getRobotHTML()   : "" ?>
<?=($settings["injRobotHTML"]) ? $settings["injRobotHTMLMsg"] : "" ?>
<?=($directives[9]==1) ? getNoCollectHTML()   : "" ?>
<?=($settings["injNoCollectHTML"]) ? $settings["injNoCollectHTMLMsg"] : "" ?>
<?=($directives[1]==1) ? getHeadHTML2()   : "" ?>
<?=($settings["injHead2HTML"]) ? $settings["injHead2HTMLMsg"] : "" ?>
<?=($directives[2]==1) ? getTopHTML()    : "" ?>
<?=($settings["injTopHTML"]) ? $settings["injTopHTMLMsg"] : "" ?>
<?
   if ($settings["actMsgOn"]) { 
       echo $settings["actMsg"]; 
   }
   if ($settings["errMsgOn"]) { 
       echo $settings["errMsg"]; 
   }
   if ($settings["customMsgOn"]) { 
       echo $settings["customMsg"]; 
   }
?>
<?=($directives[3]==1) ? getLegalHTML()  : "" ?>
<?=($settings["injLegalHTML"]) ? $settings["injLegalHTMLMsg"] : "" ?>
<?
   if ($settings["altLegalOn"]) { 
       echo $settings["altLegalMsg"]; 
   } 
?>
<?=($directives[4]==1) ? getEmailHTML(intval($emailmethod),$email)  : "" ?>
<?=($settings["injEmailHTML"]) ? $settings["injEmailHTMLMsg"] : "" ?>
<?=($directives[5]==1) ? getStyleHTML()  : "" ?>
<?=($settings["injStyleHTML"]) ? $settings["injStyleHTMLMsg"] : "" ?>
<?=($directives[6]==1) ? getVanityHTML() : "" ?>
<?=($settings["injVanityHTML"]) ? $settings["injVanityHTMLMsg"] : "" ?>
<?
   if ($settings["altVanityOn"]) {
        echo $settings["altVanityMsg"];
    }
?>
<?=($directives[7]==1) ? getBottomHTML() : "" ?>
<?=($settings["injBottomHTML"]) ? $settings["injBottomHTMLMsg"] : "" ?>
