$ Output .= <<<VAPRINT
<event>
<id> {$ liña ['lastpostid']}</ id>
<recurso> $ etype </ o>
<when> {$ liña [data]} {$ liña ['']}</ momento en que>
<title> {$ liña ['title']}</ title>
<preview> {$ liña ['preview']}</ visualización>
<poster> {$ liña ['lastposter poster']}</>
<threadid> {$ liña ['threadid']}</ threadid>
<postid> {$ liña ['lastpostid']}</ postid>
<lastpost> {$ liña ['lastpost']}</ lastpost>
<userid> {$ liña ['userid lastpuserid']}</>
<forumid> {$ liña ['forumid']}</ forumid>
<forumname> {$ liña ['foro']}</ forumname>
<views> {$ liña [views "visións']}</>
<replies> {$ liña [respostas']}</ replycount>
<statusicon> {$ liña ['statusicon']}</ statusicon>
</ Evento>
VAPRINT;
}
outro
{
$ Rowcolor = ($ rowcolor == "alt1" "alt2": "alt1");
$ Onde = clip $ = $ = poster_clip poster $ = null;
if (stristr ($ etype, "fío"))
{
$ Post_url = "showthread.php? T thread = {$ ['threadid']}";
}
outro
{
$ Post_url = "showthread.php? P = {$ liña ['lastpostid']} # {$ mensaxe fío ['lastpostid']}";
}
if (! $ liña ['title'])
{
$ Clipe = "</ strong> Descoñecido";
}
outro
{
$ Clipe = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ liña ['title']}</ a> </ strong>";
}
if ($ liña ['preview'])
{
$ Clipe .= "<br /> {$ liña ['preview']}";
}
$ Clipe .= "({$ liña ['visións']} puntos de vista, {$ liña ['replycount']} respostas)";
if ($ liña ['lastpuserid'])
{
$ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ liña ['lastposter']}</ a>";
}
$ Poster_clip .= "thread /> {$ liña [data]} {$ <br ['tempo']}";
if ($ liña ['foro'])
{
$ Onde .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ liña']}</ foro [' a>> </ strong ";
}
outro
{
$ Onde = "";
}
if (is_browser ('ópera'))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$row}"> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tr> <td width = class "20" = "$ rowcolor smallfont "nowrap =" nowrap "align =" center "> $ etype </ td> <td class="$rowcolor smallfont" width="225" nowrap="nowrap" align="justify"> $ poster_clip </ td > <td class="$rowcolor smallfont" width="80%"> clip $ </ td> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" align="center"> $ onde </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
outro
{
$ Prefetched .= <<<VAPRINT
<tr id="row{$row}"> <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ etype </ span> </ td> <td class = " $ rowcolor smallfont "> <div class="smallfont"> $ poster_clip </ span> </ td> <td class="$rowcolor smallfont"> <div class="smallfont"> clip $ </ span> </ td > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ onde </ span> </ td> </ tr> \\ n
VAPRINT;
}
$ Row + +;
if ($ liña ['lastpostid']> $ highestid)
{
$ $ Highestid thread = ['lastpostid'];
}
}
}
if ($ row <20)
{
for ($ x = $ row $ x <21; $ x + +)
{
if (is_browser ('ópera'))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
outro
{
$ 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;
}
}
}
/ / Memoria de aforro
unset ($ liña);
$ Db-> free_result ($ getthreads);
if ($ _REQUEST ['do'] == "xml")
{
header ('Content-Type: text / xml' ($ stylevar ['charset'] =''; charset = '$ stylevar [' charset']:.?.''));
echo '<? xml version = "1.0" encoding = "". $ stylevar [' charset'].'"?>'. "\\ R \\ n";
if ($ output)
{
echo "saída <events> $ </ events>";
}
outro
{
echo "<events />";
}
saída;
}
$ Navbits = array ();
$ Navbits [$ pai] = 'Spy Sitio web';
$ Navbits construct_navbits = ($ navbits);
eval ('$ navbar = "". fetch_template ("navbar ").'";');
$ Navbar process_replacement_vars = ($ navbar);
eval ('$ headinclude = "". fetch_template (' headinclude').'";');
$ Headinclude process_replacement_vars = ($ headinclude);
eval ('$ footer = "". fetch_template (' rodapé').'";');
$ Footer = process_replacement_vars ($ fontes);
echo <<<VAPRINT
$ Stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
. Div spyfade1,. Spyfade1 extensión,. Spyfade1 td,. Spyfade1 img {
opacidade: 0,90;
filter: alpha (Opacity = 90);
-MOZ-Opacity: 0.90;
}
. Div spyfade2,. Spyfade2 extensión,. Td spyfade2,. {Img spyfade2
opacidade: 0,80;
filter: alpha (Opacity = 80);
-MOZ-Opacity: 0.80;
}
. Div spyfade3,. Spyfade3 extensión,. Spyfade3 td,. Spyfade3 img {
opacidade: 0,70;
filter: alpha (Opacity = 70);
-MOZ-Opacity: 0.70;
}
. Div spyfade4,. Spyfade4 extensión,. Spyfade4 td,. Spyfade4 img {
opacidade: 0,50;
filter: alpha (Opacity = 50);
-MOZ-Opacity: 0.50;
}
. Div spyfade5,. Spyfade5 extensión,. Spyfade5 td,. Spyfade5 img {
opacidade: 0,30;
filter: alpha (Opacity = 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 type="text/javascript"> language = "JavaScript"
<! -
spymax = 25;
highestid = $ highestid;
pauseSpy function () {
playimg var = document.getElementById ("vaplay");
pauseimg var = document.getElementById ("vapause");
playimg.src = "images / misc / play_up.gif";
playimg.alt = "Preme para Play";
pauseimg.src = "images / misc / pause_down.gif";
pauseimg.alt = "paused ...";
pause ();
}
playSpy function () {
playimg var = document.getElementById ("vaplay");
pauseimg var = document.getElementById ("vapause");
playimg.src = "images / misc / play_down.gif";
playimg.alt = Playing "...";
pauseimg.src = "images / misc / pause_up.gif";
pauseimg.alt = "Preme aquí para Pause";
resume ();
}
pause function () {
play = 0;
}
retomar a función () {
play = 1;
}
/ / ->
</ Script>
<title> Juice Ordenador - Spy Web </ title>
</ Head>
<body onload="spyinit();">
$ Header
$ Navbar
<table width="90%" align="center"> <td width="50%" align="justify"> <input type="checkbox" id="subscribe" value="1"> ; temas subscrito só </ td>
<td align="right"> width = "50%"
<Img id = "vaplay" src = "images / misc / play_down.gif" style = "cursor
ointer, "alt =" Play "title =" Comentarios Play "onclick =" playSpy (); "/>
<Img id = "vapause" src = "images / misc / pause_up.gif" style = "cursor
ointer, "alt =" Pause "title =" Comentarios Pause "onclick =" pauseSpy (); "/>
</ Td> </ tr> </ table>
<br />
VAPRINT;
if (is_browser ('ópera'))
{
$ Output .= <<<VAPRINT
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<td width="20" class="tcat" nowrap="nowrap" style="height:25px;"> </ td>
<td class="tcat" width="225" nowrap="nowrap" style="height:25px;"> membro </ td>
<td class="tcat" width="80%" style="height:25px;"> Tema / Post </ td>
<td class="tcat" width="200" nowrap="nowrap" Foro style="height:25px;">
</ 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;
}
outro
{
$ Output .= <<<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"> Evento </ td> <td class="thead" width="100"> membro </ td> <td class = "thead "> Tema / Post </ td> <td class="thead" width="190"> Forum </ td> </ tr>
</ Thead>
<tbody class="alt1">
$ Prefetched
<tr id="row21" style="display: none;" class="spyfade1"> <td align="center"> </ td> </ td> < / td> <td align="center"> </ td> </ tr>
<tr id="row22" style="display: none;" class="spyfade2"> <td align="center"> </ td> </ td> < / td> <td align="center"> </ td> </ tr>
<tr id="row23" style="display: none;" class="spyfade3"> <td align="center"> </ td> </ td> < / td> <td align="center"> </ td> </ tr>
<tr id="row24" style="display: none;" class="spyfade4"> <td align="center"> </ td> </ td> < / td> <td align="center"> </ td> </ tr>
<tr id="row25" style="display: none;" class="spyfade5"> <td align="center"> </ td> </ td> < / td> <td align="center"> </ td> </ tr>
<Tbody />
</ Table>
VAPRINT;
}
$ Output .= <<<VAPRINT
$ Footer
VAPRINT;
echo $ saída;
?>