$ ออก .= <<<VAPRINT
<event>
<id> {ด้าย $ ['lastpostid ']}</ ID>
<what> $ etype </ สิ่ง>
']}</ เวลา <when > {ด้าย $ ['date']} {ด้าย $ ['เมื่อ>
<title> {ด้าย $ ['title ']}</ title>
<preview> {ด้าย $ ['ตัวอย่าง ']}</> ดูตัวอย่าง
<poster> {ด้าย $ ['โปสเตอร์ ']}</ lastposter>
<threadid> {ด้าย $ ['ThreadID ']}</ ThreadID>
<postid> {ด้าย $ ['lastpostid ']}</ postid>
<lastpost> {ด้าย $ ['lastpost ']}</ lastpost>
<userid> {ด้าย $ ['หมายเลขผู้ใช้ ']}</ lastpuserid>
<forumid> {ด้าย $ ['forumid ']}</ forumid>
<forumname> {ด้าย $ ['ฟอ รั่ม forumname ']}</>
<views> {ด้าย $ ['views views ']}</>
<replies> {ด้าย $ ['replycount ตอบ ']}</>
<statusicon> {ด้าย $ ['statusicon ']}</ statusicon>
</ กิจกรรม>
VAPRINT;
}
อื่น
{
$ rowcolor = ($ rowcolor =="alt1""alt2":"alt1");
$ = คลิปที่ $ = $ poster_clip = โปสเตอร์ $ = null;
ถ้า (stristr ($ etype,"หัวข้อ"))
{
$ post_url ="showthread.php? ด้าย T = {$ ['ThreadID ']}";
}
อื่น
{
$ post_url ="showthread.php? ด้าย p {$ ['lastpostid']} = การโพสต์ # {$ ด้าย ['lastpostid ']}";
}
if (! ด้าย $ ['title'])
{
$ คลิป ="<strong> </ strong> ไม่ทราบ";
}
อื่น
{
คลิป $ ="<strong> <img src=\\"{$thread['statusicon']}\\" alt=\\"\\" /> <เป้าหมาย = \\"_blank \\"href = \\"{$ post_url} \\ "> {ด้าย $ [title'']}</ a> </ strong>";
}
หาก ($ ด้าย ['ตัวอย่าง'])
{
คลิป $ .="<br /> {ด้าย $ [ตัวอย่าง'']}";
}
คลิป $ .="({ด้าย $ ['views']} views, {$ ด้าย ['replycount']} ตอบกลับ)";
(ถ้าด้าย $ ['lastpuserid'])
{
$ poster_clip ="<a target=\\"_blank\\" href=\\"member.php?u={$thread['lastpuserid']}\\"> {ด้าย $ ['lastposter ']}</ a>";
}
$ poster_clip .="เวลาด้าย /> {$ ด้าย [วันที่']} {$ <br ['']}";
หาก ($ ด้าย ['ฟอ รั่ม'])
{
$ ที่ .="<strong> <a target=\\"_blank\\" href=\\"forumdisplay.php?f={$thread['forumid']}\\"> {ด้าย $ ']}</ ฟอรั่ม [' >> </ strong";
}
อื่น
{
$ ที่ ="";
}
(ถ้ามี is_browser ('Opera'))
{
$ prefetched .= <<<VAPRINT
<div id="row{$row}"> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <TR> <td width = ระดับ"20"="$ "nowrap ="nowrap rowcolor smallfont"align ="center"> $ etype </ td> <td class="$rowcolor smallfont" width="225" nowrap="nowrap" align="left"> $ poster_clip </ td > <td width="80%"> class="$rowcolor smallfont" คลิป $ </ td> <td class="$rowcolor smallfont" width="200" nowrap="nowrap" align="center"> $ ที่ </ font> </ tr> </ table> </ div> \\ n
VAPRINT;
}
อื่น
{
$ prefetched .= <<<VAPRINT
<tr id="row{$row}"> <td class="$rowcolor smallfont" <div align="center"> class="smallfont"> $ etype </ font> </ td> <td class =" $ rowcolor smallfont"> <div class="smallfont"> $ poster_clip </ font> </ td> <td class="$rowcolor smallfont"> <div class="smallfont"> คลิป $ </ strong> </ td > <td class="$rowcolor smallfont" <div align="center"> class="smallfont"> $ ที่ </ font> </ font> </ tr> \\ n
VAPRINT;
}
แถว $ + +;
หาก ($ ด้าย ['lastpostid']> $ highestid)
{
ด้าย = $ $ highestid ['lastpostid'];
}
}
}
หาก ($ แถว <20)
{
สำหรับ ($ x = $ แถว; $ x <21; $ x + +)
{
(ถ้ามี is_browser ('Opera'))
{
$ prefetched .= <<<VAPRINT
<div id="row{$x}"> </ div> \\ n
VAPRINT;
}
อื่น
{
$ prefetched .= <<<VAPRINT
<tr id="row{$x}"> <td class="$rowcolor smallfont" align="center"> </ td> <td class="$rowcolor smallfont"> </ font> < TD class ="$ rowcolor smallfont"> </ td> <td class="$rowcolor smallfont" align="center"> </ font> </ tr> \\ n
VAPRINT;
}
}
}
/ หน่วยความจำ / การประหยัด
unset ($ ด้าย);
$ db -> free_result ($ getthreads);
ถ้า ($ _REQUEST ['ทำ'] =="XML")
{
ส่วนหัว ('Content - Type : text / XML'($ stylevar ['charset'] = '''; charset ='$ stylevar ['charset'] :.?. ''));
echo '"?>''<? รุ่น XML = การเข้ารหัส"1.0"="'. $ stylevar ['charset']. "\\ r \\ n";
หาก ($ output)
{
echo"การส่งออก <events> $ </ กิจกรรม>";
}
อื่น
{
echo"<events />";
}
ออกจาก;
}
$ navbits = array ();
$ navbits [$ ผู้ปกครอง] ='Spy เว็บไซต์';
$ 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 ('$ ส่วนท้าย ="'. fetch_template ('ท้าย'). '";');
$ ส่วนท้ายของ process_replacement_vars = ($ ส่วนท้าย);
echo <<<VAPRINT
$ stylevar [htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
headinclude $
<style type="text/css">
. spyfade1 div,. ช่วง spyfade1,,. spyfade1 TD,. spyfade1 img {
opacity : 0.90;
filter : alpha (ทึบ = 90);
- moz - opacity : 0.90;
}
. spyfade2 div,. ช่วง spyfade2,. spyfade2 TD,. spyfade2 img {
opacity : 0.80;
filter : alpha (ทึบ = 80);
- moz - opacity : 0.80;
}
. spyfade3 div,. ช่วง spyfade3,. spyfade3 TD,. spyfade3 img {
opacity : 0.70;
filter : alpha (ความทึบ = 70);
- moz - opacity : 0.70;
}
. spyfade4 div,. ช่วง spyfade4,. spyfade4 TD,. spyfade4 img {
opacity : 0.50;
filter : alpha (ทึบ = 50);
- moz - opacity : 0.50;
}
. spyfade5 div,. ช่วง spyfade5,. spyfade5 TD,. spyfade5 img {
opacity : 0.30;
filter : alpha (ทึบ = 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 ="ภาพ / misc / play_up.gif";
playimg.alt ="คลิกเพื่อเล่น";
pauseimg.src ="ภาพ / misc / pause_down.gif";
pauseimg.alt ="หยุดชั่วคราว ...";
หยุด ();
}
playSpy function () {
playimg var = document.getElementById ("vaplay");
pauseimg var = document.getElementById ("vapause");
playimg.src ="ภาพ / misc / play_down.gif";
playimg.alt = เล่น"...";
pauseimg.src ="ภาพ / misc / pause_up.gif";
pauseimg.alt ="คลิกเพื่อหยุดชั่วคราว";
กลับมา ();
}
หยุด function () {
เล่น = 0;
}
งาน function () {
เล่น = 1;
}
/ / -->
</ script>
น้ำผลไม้คอมพิวเตอร์ <title> -- Spy Site </ title>
</ head>
onload="spyinit();"> <body
$ ส่วนหัว
Navbar $
<table width="90%" align="center"> <tr> <td align="left"> width="50%" <input type="checkbox" id="subscribe" value="1"> ; หัวข้อที่สมัครเป็นสมาชิกเท่านั้น </ font>
<td align="right"> width="50%"
<img src ID ="vaplay"="ภาพ / misc / play_down.gif"style ="เคอร์เซอร์
![Stick Out Tongue](images/smilies/tongue.png)
ointer;"alt ="Play"title ="ความคิดเห็นที่เล่น"onclick ="playSpy ();"/>
<img src ID ="vapause"="ภาพ / misc / pause_up.gif"style ="เคอร์เซอร์
![Stick Out Tongue](images/smilies/tongue.png)
ointer;"alt ="หยุด"title ="ความคิดเห็นที่หยุดชั่วคราว"onclick ="pauseSpy ();"/>
</ font> </ tr> </ table>
<br />
VAPRINT;
(ถ้ามี is_browser ('Opera'))
{
$ ออก .= <<<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;"> </ font>
<td class="tcat" width="225" nowrap="nowrap" style="height:25px;"> สมาชิก </ font>
<td class="tcat" width="80%" style="height:25px;"> กระทู้ / โพสต์ </ font>
<td class="tcat" width="200" nowrap="nowrap" style="height:25px;"> ฟอรั่ม
</ 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>
</ font> </ tr>
</ table>
VAPRINT;
}
อื่น
{
$ ออก .= <<<VAPRINT
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr align="center"> class="thead" <td width="100"> เหตุการณ์ </ td> <td width="100"> class="thead" สมาชิก </ td> <td class ="thead "> กระทู้ / โพสต์ </ td> <td width="190"> class="thead" ฟอรั่ม </ font> </ tr>
</ thead>
class="alt1"> <tbody
$ prefetched
<tr id="row21" style="display: none;" class="spyfade1"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="center"> </ font> </ tr>
<tr id="row22" style="display: none;" class="spyfade2"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="center"> </ font> </ tr>
<tr id="row23" style="display: none;" class="spyfade3"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="center"> </ font> </ tr>
<tr id="row24" style="display: none;" class="spyfade4"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="center"> </ font> </ tr>
<tr id="row25" style="display: none;" class="spyfade5"> <td align="center"> </ td> <td> </ td> <td> < / td> <td align="center"> </ font> </ tr>
<tbody />
</ table>
VAPRINT;
}
$ ออก .= <<<VAPRINT
$ ส่วนท้ายของ
VAPRINT;
สะท้อนออก $;
?>