$ Ieşire .= <<<VAPRINT
<event>
<id> {$ fire ['lastpostid']}</ id>
<what> $ etype </ ce>
<when> {$ fire ['data']} {$ fire ["timp de când']}</>
<title> {$ fire ['title']}</ title>
<preview> {$ fire ['']}</ previzualizare previzualizare>
<poster> {$ fire ['lastposter poster']}</>
<threadid> {$ fire ['threadid']}</ threadid>
<postid> {$ fire ['lastpostid']}</ postID>
<lastpost> {$ fire ['']}</ lastpost lastpost>
<userid> {$ fire ['lastpuserid userid']}</>
<forumid> {$ fire ['forumid']}</ forumid>
<forumname> {$ fire ['pe forum pentru']}</ forumname>
<views> {$ fire ['opiniile Vizualizari']}</>
<replies> {$ fire ['replycount raspunsuri']}</>
<statusicon> {$ fire ['statusicon']}</ statusicon>
</ Eveniment>
VAPRINT;
}
altfel
{
$ Rowcolor = ($ rowcolor == "alt1" "alt2":? "Alt1");
În cazul în care $ = $ clip = $ $ = poster_clip poster = null;
dacă (stristr ($ etype, "firul"))
{
$ Post_url = "showthread.php? T = {$ fire ['threadid']}";
}
altfel
{
$ Post_url = "showthread.php p = {$ fire ['lastpostid']}? # Post {$ fir ['lastpostid']}";
}
if (! $ fire ['title'])
{
$ Clip = "<strong> Necunoscut </ strong>";
}
altfel
{
$ Clip = "<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <a target = \\" _blank \\ "href = \\" {$ post_url} \\ "> {$ fire ['title']}</ a> </ strong>";
}
dacă ($ fire ['previzualizare'])
{
$ Clip .= "<br /> {$ fire ['previzualizare']}";
}
$ Clip .= "({$ fire ['opiniile']} vederi, {$ fire ['replycount']} raspunsuri)";
dacă ($ fire ['lastpuserid'])
{
$ Poster_clip = "<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {$ fire ['lastposter']}</ a>";
}
$ Poster_clip .= "timp de firul de <br /> {$ fire ['data']} {$ ['']}";
dacă ($ fire ['pe forum pentru "])
{
$ În cazul în care .= "<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {$ fir']}</ ['pe forum pentru a>> </ strong ";
}
altfel
{
$ În cazul în care = "";
}
dacă (is_browser ("opera"))
{
$ Predescărcat .= <<<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"> $ în cazul în care </ td> </ tr> </ table> </ div> \\ n
VAPRINT;
}
altfel
{
$ Predescărcat .= <<<VAPRINT
<tr id="row{$row}"> <td class="$rowcolor smallfont" align="left"> <div 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="left"> <div class="smallfont"> $ în cazul în care </ div> </ td> </ tr> \\ n
VAPRINT;
}
$ Row + +;
dacă ($ fire ['lastpostid']> $ highestid)
{
$ Highestid = $ fire ['lastpostid'];
}
}
}
if ($ row <20)
{
pentru ($ x = $ row; $ x <21; $ x + +)
{
dacă (is_browser ("opera"))
{
$ Predescărcat .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
altfel
{
$ Predescărcat .= <<<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;
}
}
}
/ / De memorie de economisire
unset ($ filet);
$ Db-> free_result ($ getthreads);
dacă ($ _REQUEST ['face'] == "xml")
{
header ("Content-Type: text / xml" ($ stylevar ['charset'] ='''; charset =' $ stylevar ['charset']:.?!.''));
echo "<xml version =" 1.0 "encoding ="? '$ stylevar. [' charset '].'"?>'. "\\ R \\ n";
dacă ($ de ieşire)
{
echo "$ <events> ieşire </ evenimente>";
}
altfel
{
echo "<events />";
}
ieşire;
}
$ Navbits = array ();
$ Navbits [$ mamă] = 'Spy site-ului';
$ 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 (" footer ")..'";');
$ Subsol = process_replacement_vars ($ subsol);
echo <<<VAPRINT
$ Stylevar [htmldoctype]
<HTML dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$ Headinclude
<style type="text/css">
Spyfade1 div., Spyfade1 durata.,, Spyfade1 TD., Spyfade1 img. {
opacitate: 0.90;
filtru: alpha (opacity = 90);
-Moz-opacity: 0.90;
}
Spyfade2 div., Durata spyfade2., Spyfade2 TD., Spyfade2 img. {
opacitate: 0,80;
filtru: alpha (opacity = 80);
-Moz-opacitate: 0,80;
}
Spyfade3 div., Spyfade3 de control., Spyfade3 TD., Spyfade3 img. {
opacitate: 0,70;
filtru: alpha (opacity = 70);
-Moz-opacity: 0.70;
}
Spyfade4 div., Spyfade4 de control., Spyfade4 TD., Spyfade4 img. {
opacitate: 0,50;
filtru: alpha (opacity = 50);
-Moz-opacitate: 0,50;
}
Spyfade5 div., Spyfade5 de control., Spyfade5 TD., Spyfade5 img. {
opacitate: 0.30;
filtru: 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 = "imagini / misc / play_up.gif";
playimg.alt = "Click pentru a juca";
pauseimg.src = "imagini / misc / pause_down.gif";
pauseimg.alt = "Întrerupt ...";
pauză ();
}
playSpy function () {
playimg var = document.getElementById ("vaplay");
pauseimg var = document.getElementById ("vapause");
playimg.src = "imagini / misc / play_down.gif";
playimg.alt = "joacă ...";
pauseimg.src = "imagini / misc / pause_up.gif";
pauseimg.alt = "Click aici pentru a Pauză";
CV-ul ();
}
pauză function () {
play = 0;
}
relua funcţia () {
play = 1;
}
/ / ->
</ Script>
<title> Juice Computer - Spy site-ului </ title>
</ Head>
<body onload="spyinit();">
$ Antet
$ Navbar
<table width="90%" align="center"> <td width="50%" align="left"> <input type="checkbox" id="subscribe" value="1"> ; subiectele subscris numai </ td>
<td width="50%" align="right">
<Img id = "vaplay" src = "imagini / misc / play_down.gif" style = "cursor
![Stick Out Tongue](images/smilies/tongue.png)
ointer; "alt =" Play "title =" Comentarii Play "onclick =" playSpy (); "/>
<Img id = "vapause" src = "imagini / misc / pause_up.gif" style = "cursor
![Stick Out Tongue](images/smilies/tongue.png)
ointer; "alt =" Pauză "title =" Comentarii Pauză "onclick =" pauseSpy (); "/>
</ Td> </ tr> </ table>
<br />
VAPRINT;
dacă (is_browser ("opera"))
{
$ Ieşire .= <<<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 width="225" class="tcat" nowrap="nowrap" style="height:25px;"> membre </ td>
<td class="tcat" width="80%" style="height:25px;"> Subiect / Mesaj </ td>
<td width="200" class="tcat" nowrap="nowrap" style="height:25px;"> Forum
</ Tr>
<tr> <td colspan="4" class="alt1">
$ Predescărcat
<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;
}
altfel
{
$ Ieşire .= <<<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"> Eveniment </ td> <td class="thead" width="100"> membre </ td> <td class = "thead "> Subiect / Mesaj </ td> <td class="thead" width="190"> Forum </ td> </ tr>
</ Thead>
<tbody class="alt1">
$ Predescărcat
<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;
}
$ Ieşire .= <<<VAPRINT
$ Subsol
VAPRINT;
echo $ ieşire;
?>