$ Jauda .= <<<VAPRINT
<event>
<id> {$ diegi ['lastpostid']}</ id>
<what> $ etype </ kas>
<when> {$ diegi ['datums']} {$ diegi ["laiks']}</ kad>
<title> {$ diegi ['title']}</ title>
<preview> {$ diegi [priekšskatījuma']}</ preview>
<poster> {$ diegi ['lastposter']}</ plakāts>
<threadid> {$ diegi ['threadid']}</ threadid>
<postid> {$ diegi ['lastpostid']}</ postid>
<lastpost> {$ diegi ['lastpost']}</ lastpost>
<userid> {$ diegi ['lastpuserid']}</ userid>
<forumid> {$ diegi ['forumid']}</ forumid>
<forumname> {$ diegi ['forum']}</ forumname>
<views> {$ diegi [uzskati']}</ viedokli>
<replies> {$ diegi ['replycount']}</ atbildes>
<statusicon> {$ diegi ['statusicon']}</ statusicon>
</ Notikums>
VAPRINT;
    }
    vēl
    {
        $ Rowcolor = ($ rowcolor == "alt1" "alt2":? "Alt1");
        $ Kur = $ klips = $ poster_clip = $ autors = null;
        if (stristr ($ etype, "vītne"))
        {
            $ Post_url = "showthread.php? T = {$ diegi ['threadid']}";
        }
        vēl
        {
            $ Post_url = "showthread.php? P = {$ diegi ['lastpostid']} # post {$ diegi ['lastpostid']}";
        }
        if (! $ diegi ['title'])
        {
            $ Klips = "<strong> Nezināms </ strong>";
        }
        vēl
        {
            $ Klips = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ diegi ['title']}</ a> </ strong>";
        }
        if ($ pavediens ['preview'])
        {
            $ Klips .= "<br /> {$ diegi [priekšskatījuma']}";
        }
        $ Klips .= "({$ diegi ['viedokli']} viedokļiem, {$ diegi ['replycount']} replies)";
        if ($ pavediens ['lastpuserid'])
        {
            $ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ diegi ['lastposter']}</>";
        }
        $ Poster_clip .= "<br /> {$ diegi ['datums']} {$ diegi ['laiks']}";
        if ($ pavediens ['forum'])
        {
            $ Kur .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ diegi ['forum']}</ > </ strong> ";
        }
        vēl
        {
            $ Kur = "";
        }
        if (is_browser ("opera"))
        {
$ Prefetched .= <<<VAPRINT
<div id="row{$row}"> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tr> <td width = "20" class = "$ rowcolor smallfont "nowrap =" nowrap "align =" center "> $ etype </ td> <td class="$rowcolor smallfont" width="225" nowrap="nowrap" align="left"> $ poster_clip </ td > <td class="$rowcolor smallfont" width="80%"> $ klipu </ td> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" align="center"> $ ja </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
        }
        vēl
        {
$ Prefetched .= <<<VAPRINT
<tr id="row{$row}"> <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ etype </ div> </ td> <td class = " $ rowcolor smallfont "> <div class="smallfont"> $ poster_clip </ div> </ td> <td class="$rowcolor smallfont"> <div class="smallfont"> $ klipu </ div> </ td > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ kur </ div> </ td> </ tr> \\ n
VAPRINT;
        }
        $ Row + +;
        if ($ pavediens ['lastpostid']> $ highestid)
        {
            $ Highestid = $ diegi ['lastpostid'];
        }
    }
}
if ($ row <20)
{
    par ($ x = $ row; $ x <21, $ x + +)
    {
        if (is_browser ("opera"))
        {
$ Prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
        }
        vēl
        {
$ Prefetched .= <<<VAPRINT
<tr id="row{$x}"> <td class="$rowcolor smallfont" align="center"> </ td> <td class="$rowcolor smallfont"> </ td> < td class = "$ rowcolor smallfont"> </ td> <td class="$rowcolor smallfont" align="center"> </ td> </ tr> \\ n
VAPRINT;
        }
    }
}
/ / Atmiņas taupīšanu
unset ($ vītne);
$ Db-> free_result ($ getthreads);
if ($ _REQUEST ['do'] == "xml")
{
    header ("Content-Type: text / xml" ($ stylevar ['charset'] ='''; charset =' $ stylevar ['charset'].!?.''));
    echo "<xml version =" 1.0 "kodējums ="? ". $ stylevar ['charset'].'"?>'. "\\ R \\ n";
    if ($ produkciju)
    {
        echo "<events> $ jauda </ notikumi>";
    }
    vēl
    {
        echo "<events />";
    }
    izeju;
}
$ Navbits = array ();
$ Navbits [$ mātes] = 'Lapas Spy ";
$ Navbits = construct_navbits ($ navbits);
eval ('$ navigācijas joslas = "'. fetch_template (navigācijas joslas").'";');
$ Navigācijas joslas = process_replacement_vars ($ navigācijas joslas);
eval ('$ headinclude = "" fetch_template ("headinclude")..'";');
$ Headinclude = process_replacement_vars ($ headinclude);
eval ('$ footer = "'. fetch_template (footer).'";');
$ Footer = process_replacement_vars ($ kājene);
echo <<<VAPRINT
$ Stylevar [htmldoctype]
<HTML dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
. Spyfade1 div. Spyfade1 span,,. Spyfade1 td,. Spyfade1 img {
opacity: 0,90;
filtrs: alfa (necaurredzamība = 90);
-Moz-opacity: 0,90;
}
. Spyfade2 div. Spyfade2 span. Spyfade2 td, spyfade2 img. {
opacity: 0,80;
filtrs: alfa (necaurredzamība = 80);
-Moz-opacity: 0,80;
}
. Spyfade3 div. Spyfade3 span. Spyfade3 td,. Spyfade3 img {
opacity: 0,70;
filtrs: alfa (necaurredzamība = 70);
-Moz-opacity: 0,70;
}
. Spyfade4 div. Spyfade4 span. Spyfade4 td,. Spyfade4 img {
opacity: 0,50;
filtrs: alfa (necaurredzamība = 50);
-Moz-opacity: 0,50;
}
. Spyfade5 div. Spyfade5 span. Spyfade5 td,. Spyfade5 img {
opacity: 0,30;
filtrs: alfa (necaurredzamība = 30);
-Moz-opacity: 0,30;
}
</ Style>
<script language="javascript" src="clientscript/va_prototype.js"> </ script>
<script language="javascript" src="clientscript/va_effects.js"> </ script>
<script language="javascript" src="clientscript/va_spy.js"> </ script>
<script language="javascript" type="text/javascript">
<! -
    spymax = 25;
        highestid = $ highestid;
funkcija pauseSpy () {
    var playimg = document.getElementById ("vaplay");
    var pauseimg = document.getElementById ("vapause");
    playimg.src = "images / misc / play_up.gif";
    playimg.alt = "Click to Play";
    pauseimg.src = "images / misc / pause_down.gif";
    pauseimg.alt = "Pārtraukta ...";
    pauze ();
}
funkcija playSpy () {
    var playimg = document.getElementById ("vaplay");
    var pauseimg = document.getElementById ("vapause");
    playimg.src = "images / misc / play_down.gif";
    playimg.alt = "Playing ...";
    pauseimg.src = "images / misc / pause_up.gif";
    pauseimg.alt = "Uzklikšķiniet, lai Pause";
    CV ();
}
funkcija pauzes () {
    play = 0;
}
funkcija CV () {
    play = 1;
}
/ / ->
</ Script>
<title> Datoru Juice - Site Spy </ title>
</ Head>
<body onload="spyinit();">
$ Header
$ Navigācijas joslas
<table width="90%" align="center"> <tr> <td width="50%" align="left"> <input type="checkbox" id="subscribe" value="1"> ; parakstītā vītnes tikai </ td>
<td width="50%" align="right">
<Img id = "vaplay" src = "images / misc / play_down.gif" style = "kursora

ointer; "alt =" Play "title =" Play Komentāri "onclick =" playSpy (); "/>
<Img id = "vapause" src = "images / misc / pause_up.gif" style = "kursora

ointer; "alt =" Pause "title =" Apturēt Komentāri "onclick =" pauseSpy (); "/>
</ Td> </ tr> </ table>
<br />
VAPRINT;
if (is_browser ("opera"))
{
$ Jauda .= <<<VAPRINT
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr> <td width="20" class="tcat" nowrap="nowrap" style="height:25px;"> </ td>
<td class="tcat" width="225" nowrap="nowrap" style="height:25px;"> dalībvalsts </ td>
<td class="tcat" width="80%" style="height:25px;"> Raksts / Post </ td>
<td class="tcat" width="200" nowrap="nowrap" style="height:25px;"> Forum
</ Tr>
<tr> <td colspan="4" class="alt1">
$ Prefetched
<div id="row21" style="display:none;" class="spyfade1"> </ div>
<div id="row22" style="display:none;" class="spyfade2"> </ div>
<div id="row23" style="display:none;" class="spyfade3"> </ div>
<div id="row24" style="display:none;" class="spyfade4"> </ div>
<div id="row25" style="display:none;" class="spyfade5"> </ div>
</ Td> </ tr>
</ Table>
VAPRINT;
}
vēl
{
$ Jauda .= <<<VAPRINT
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr align="center"> <td class="thead" width="100"> Event </ td> <td class="thead" width="100"> dalībvalsts </ td> <td class = "thead "> Raksts / Post </ td> <td class="thead" width="190"> forums </ td> </ tr>
</ Thead>
<tbody class="alt1">
$ Prefetched
<tr id="row21" style="display: none;" class="spyfade1"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="center"> </ td> </ tr>
<tr id="row22" style="display: none;" class="spyfade2"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="center"> </ td> </ tr>
<tr id="row23" style="display: none;" class="spyfade3"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="center"> </ td> </ tr>
<tr id="row24" style="display: none;" class="spyfade4"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="center"> </ td> </ tr>
<tr id="row25" style="display: none;" class="spyfade5"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="center"> </ td> </ tr>
</ Tbody>
</ Table>
VAPRINT;
}
$ Jauda .= <<<VAPRINT
$ Footer
VAPRINT;
echo $ produkciju;
?>