$ Salida .= <<<VAPRINT
<event>
<id> {$ hilo ['lastpostid']}</ id>
<qué> $ etype </ lo>
<when> {$ hilo ['fecha']} {$ hilo ['tiempo']}</ cuando>
<title> {$ hilo ['title título']}</>
<preview> {$ hilo ['vista previa vista previa']}</>
<poster> {$ hilo ['cartel lastposter']}</>
<threadid> {$ hilo ['threadid']}</ threadid>
<postid> {$ hilo ['lastpostid']}</ postid>
<lastpost> {$ hilo ['lastpost']}</ lastpost>
<ID_usuario> {$ hilo ['userid lastpuserid']}</>
<forumid> {$ hilo ['ForumID']}</ ForumID>
<forumname> {$ hilo ['foro']}</ forumname>
<views> {$ hilo ['Vistas al']}</>
<replies> {$ hilo ['respuestas']}</ replycount>
<statusicon> {$ hilo ['statusicon']}</ statusicon>
</ Event>
VAPRINT;
}
más
{
$ Rowcolor = ($ rowcolor == "Alt1" "ALT2": "Alt1");
$ Donde = $ $ = clip de poster_clip = $ cartel = null;
if (stristr ($ etype, "hilo"))
{
$ Post_url = "showthread.php? T = {$ hilo ['threadid']}";
}
más
{
$ Post_url = "showthread.php? P = {$ hilo ['lastpostid']} # {$ mensaje hilo ['lastpostid']}";
}
if ($ thread ['title'])
{
$ = Clip de "<strong> Desconocido </ strong>";
}
más
{
$ = Clip de "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ hilo ['title']}</ a> </ strong>";
}
if ($ thread ['vista previa'])
{
$ Vídeo .= "<br /> {$ hilo ['vista previa']}";
}
$ Vídeo .= "({$ hilo ['visitas']} puntos de vista, {$ hilo ['replycount']} respuestas)";
if ($ thread ['lastpuserid'])
{
$ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ hilo ['lastposter']}</ a>";
}
$ Poster_clip .= "hilo <br /> {$ hilo ['fecha']} {$ ['tiempo']}";
if ($ thread ['foro'])
{
$ Donde .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ hilo ['']}</ foro a> </ strong> ";
}
más
{
$ Donde = "";
}
if (is_browser ('ópera'))
{
$ 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%"> $ clip </ td> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" align="center"> $ en </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
más
{
$ Prefetched .= <<<VAPRINT
<tr id="row{$row}"> <td class="$rowcolor smallfont" <div align="justify"> class="smallfont"> $ etype </ div> </ td> <td class = " $ rowcolor smallfont "> <div class="smallfont"> $ poster_clip </ div> </ td> <td class="$rowcolor smallfont"> <div class="smallfont"> $ clip </ div> </ td > <td class="$rowcolor smallfont" align="center"> <div class="smallfont"> $ en </ div> </ td> </ tr> \\ n
VAPRINT;
}
$ Row + +;
if ($ thread ['lastpostid']> $ highestid)
{
$ = $ Highestid hilo ['lastpostid'];
}
}
}
if ($ fila <20)
{
for ($ x = $ fila, $ x <21, $ x + +)
{
if (is_browser ('ópera'))
{
$ Prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
más
{
$ Prefetched .= <<<VAPRINT
<tr id="row{$x}"> <td class="$rowcolor smallfont" align="justify"> </ td> <td class="$rowcolor smallfont"> </ td> < td class = "$ rowcolor smallfont"> </ td> <td class="$rowcolor smallfont" align="justify"> </ td> </ tr> \\ n
VAPRINT;
}
}
}
/ / La memoria de ahorro
unset ($ tema);
$ 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 ($ resultado)
{
echo "<events> $ salida </ eventos>";
}
más
{
echo "<events />";
}
salida;
}
$ Navbits = array ();
$ Navbits [$ parent] = 'espía del sitio';
$ 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 (' pie ').'";');
$ Footer = process_replacement_vars ($ pie de página);
echo <<<VAPRINT
$ Stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
. Spyfade1 div,. Periodo spyfade1,,. Spyfade1 td,. Spyfade1 img {
opacidad: 0,90;
Filtro: alpha (opacity = 90);
-Moz-opacity: 0.90;
}
. Div spyfade2,. Periodo spyfade2,. Spyfade2 td,. Spyfade2 img {
opacidad: 0,80;
Filtro: alpha (opacity = 80);
-Moz-opacity: 0.80;
}
. Spyfade3 div,. Periodo spyfade3,. Spyfade3 td,. Spyfade3 img {
opacidad: 0,70;
Filtro: alpha (opacity = 70);
-Moz-opacity: 0.70;
}
. Spyfade4 div,. Periodo spyfade4,. Spyfade4 td,. Spyfade4 img {
opacidad: 0,50;
Filtro: alpha (opacity = 50);
-Moz-opacity: 0.50;
}
. Spyfade5 div,. Periodo spyfade5,. Spyfade5 td,. Spyfade5 img {
opacidad: 0,30;
Filtro: 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 language="javascript" type="text/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 = "Click to Play";
pauseimg.src = "images / misc / pause_down.gif";
pauseimg.alt = "pausa ...";
pausa ();
}
playSpy function () {
playimg var = document.getElementById ("vaplay");
pauseimg var = document.getElementById ("vapause");
playimg.src = "images / misc / play_down.gif";
playimg.alt = "Jugar ...";
pauseimg.src = "images / misc / pause_up.gif";
pauseimg.alt = "Haga clic en Pausa";
Reanudar ();
}
pausa function () {
jugar = 0;
}
reanudar function () {
jugar = 1;
}
/ / ->
</ Script>
Jugo <title> Informática - Espía del sitio </ title>
</ Head>
<body onload="spyinit();">
$ Header
$ Navbar
<table width="90%" align="center"> <td align="left"> width="50%" <input type="checkbox" id="subscribe" value="1"> ; temas suscrito sólo </ 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 =" Pausa "title =" Comentarios Pausa "onclick =" pauseSpy (); "/>
</ Td> </ tr> </ table>
<br />
VAPRINT;
if (is_browser ('ópera'))
{
$ Salida .= <<<VAPRINT
<table class="tborder" cellpadding="0" cellspacing="0" width="100%" border="0" align="center" id="spy_table">
<td width="20" class="tcat" nowrap="nowrap" style="height:25px;"> </ td>
<td width="225" class="tcat" nowrap="nowrap" style="height:25px;"> miembro </ td>
<td class="tcat" width="80%" style="height:25px;"> Tema / Post </ td>
<td width="200" class="tcat" nowrap="nowrap" style="height:25px;"> Foro
</ 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;
}
más
{
$ Salida .= <<<VAPRINT
<table class="tborder" cellpadding="6" cellspacing="1" width="100%" border="0" align="center" id="spy_table">
<thead>
<tr align="center"> <td width="100"> class="thead" Evento </ td> <td width="100"> class="thead" miembro </ td> <td class = "THEAD "> Tema / Post </ td> <td width="190"> class="thead" Foro </ td> </ tr>
</ THEAD>
<tbody class="alt1">
$ Prefetched
<tr id="row21" style="display: none;" class="spyfade1"> <td align="center"> </ td> </ td> < / p> <p align="justify"> </ td> </ tr>
<tr id="row22" style="display: none;" class="spyfade2"> <td align="center"> </ td> </ td> < / p> <p align="justify"> </ td> </ tr>
<tr id="row23" style="display: none;" class="spyfade3"> <td align="center"> </ td> </ td> < / p> <p align="justify"> </ td> </ tr>
<tr id="row24" style="display: none;" class="spyfade4"> <td align="center"> </ td> </ td> < / p> <p align="justify"> </ td> </ tr>
<tr id="row25" style="display: none;" class="spyfade5"> <td align="center"> </ td> </ td> < / p> <p align="justify"> </ td> </ tr>
</ Tbody>
</ Table>
VAPRINT;
}
$ Salida .= <<<VAPRINT
$ Pie de página
VAPRINT;
echo $ salida;
>