RE: [PEAR] Smarty + DataObject and DataObjectDebugger's console...
| From: | Denis Gerasimov | Date: | Tue, 12 Oct 2004 06:38:12 +0000 |
| Subject: | RE: [PEAR] Smarty + DataObject and DataObjectDebugger's console... | ||
| References: | 1 | Groups: | php.pear.general php.smarty.general |
| Request: | Send a blank email to pear-general+get-14865@lists.php.net to get a copy of this message | ||
Hello Justin,
Thank you very much for paying your attention to our problem.
Please have a look at my comments below.
Sorry for the attachment (otherwise it will be very difficult to read this
email).
Best regards, Denis Gerasimov
Outsourcing Services Manager,
VEKOS, Ltd.
www.vekos.ru
> -----Original Message-----
> From: Justin Patrin [mailto:papercrane@gmail.com]
> Sent: Monday, October 11, 2004 10:28 PM
> To: Denis Gerasimov
> Cc: PEAR General ML; Smarty General ML
> Subject: Re: [PEAR] Smarty + DataObject and DataObjectDebugger's
> console...
>
> On Mon, 11 Oct 2004 14:26:50 +0400, Denis Gerasimov
> <denis.gerasimov@vekos.ru> wrote:
> >
> > Hello,
> >
> > Let me explain a couple of things...
> >
> > First, the screenshot
> > (http://www.vekos.ru/images/DataObjectDebugger_Consonle.png) is not a
> 'drawn
> > picture'; that is REALLY working debug console...
> >
> > Yes, Justin, we are smart enough ;-) and know about callback function -
> that
> > is the way how we do collect debug info. Here is a snip from our
> > database.cfg.ini file:
> >
>
> I didn't mean to talk down to you, it just seemed that this was what
> you were asking. You didn't ask any specific questions and so I
> assumed you needed help from the beginning.
>
Well, probably you are right ;-)
> > ...
> > ;debug = 0
> > debug = DATAOBJECTDEBUGGER_debug
> > ; default debugging level
> > ...
> >
> > Then, we have the following debugger class (still beta since our
> troubles
> > aren't solved yet):
> >
> > <?php
> >
> > require_once "DB/DataObject.php";
> >
> > /**
> > * DataObject Debugger class.
> > *
> > * Copyright (c) VEKOS, Ltd., 2004
> > *
> > * @author Denis Gerasimov <denis.gerasimov@vekos.ru>
> > * @author Roman Bondarenko <roman.bondarenko@vekos.ru>
> > * @package DataObjectDebugger
> > * @access public
> > * @version 1.0
> > */
> >
> > $_DATAOBJECTDEBUGGER_DEBUG_INFO = array();
> >
> > class DataObjectDebugger
> > {
> >
> > // FIX
> > public static function debug($strClass, $strMessage, $strLogType =
> 0,
> > $intLevel = 1)
> > {
> > global $_DATAOBJECTDEBUGGER_DEBUG_INFO;
> >
> > $arrLineEnd = array("\r", "\n", "\r\n",
> > "\n\r");
> >
> > // FIX
> > if ($intLevel > 1) return;
> >
> > $_DATAOBJECTDEBUGGER_DEBUG_INFO[] = array(
> > 'class' => str_replace("\r\n", ' ',
> > nl2br(htmlspecialchars($strClass))),
> > 'message' => str_replace($arrLineEnd, ' ',
> > htmlspecialchars($strMessage)),
> > 'type' => str_replace("\r\n", ' ',
> > nl2br(htmlspecialchars($strLogType))));
> > }
> >
> > public static function dump()
> > {
> > global $_DATAOBJECTDEBUGGER_DEBUG_INFO;
> >
> > $strDebug = '';
> >
> > if (!ini_get('html_errors')) {
> > foreach ($_DATAOBJECTDEBUGGER_DEBUG_INFO as $arrValue) {
> > $strDebug .= " {$arrValue['class']} :
> {$arrValue['type']} :
> > {$arrValue['message']}<br>";
> > }
> > } else {
> > foreach ($_DATAOBJECTDEBUGGER_DEBUG_INFO as $arrValue) {
> > $strDebug .= "<code><B>{$arrValue['class']} :
> > {$arrValue['type']} :
> > </B>{$arrValue['message']}</code><br>";
> > }
> > }
> >
> > return $strDebug;
> > }
> >
> > }
> >
> > // BTW why does not DO support calling static class methods?
> > function DATAOBJECTDEBUGGER_debug($strClass, $strMessage, $strLogType =
> 0,
> > $intLevel = 1)
> > {
> > DataObjectDebugger::debug($strClass, $strMessage, $strLogType,
> > $intLevel);
> > }
> >
> > ?>
> >
> > So know we have all debug info gathered into the global array
> > $_DATAOBJECTDEBUGGER_DEBUG_INFO.
> >
> > Now, the second issue:
> >
> > We tried to use this Smarty plug-in for opening debug console popup
> window:
> >
> > <?php
> >
> > /*
> > * Smarty plugin
> > */
> >
> > function smarty_prefilter_debug($strSource, $objSmarty)
> > {
> > global $_DATAOBJECTDEBUGGER_DEBUG_INFO;
>
> > $arrFileContent = File(DIR_TPL . 'DataObjectDebug.tpl.html');
> > $strFileContent = join('', $arrFileContent);
>
> - What are these two lines for? You don't seem to be using these variables
Sorry, I occasionally have missed the following line here:
$strSource .= $strFileContent;
>
> >
> > $objSmarty->assign('arrDebug', $_DATAOBJECTDEBUGGER_DEBUG_INFO);
> >
> > return $strSource;
> > }
>
> - $strSource is passed in and returned without being used anywhere in
> this function
Hmmm... Now it is used.
> - $objSmarty is passed in by value. If you're using PHP4, the assign
> call won't do anything.
>
We are using PHP5 so all goes fine due to call-by-reference.
> >
> > ?>
> >
> > (As for DataObjectDebug.tpl.html template, you can easily imagine how it
> > looks like.)
Here is it:
<SCRIPT language=javascript>
_data_object_console =
window.open("","Debug","width=680,height=600,resizable,scrollbars=yes");
_data_object_console.document.write("<HTML><TITLE>DataObject Debug
Console</TITLE><BODY bgcolor=#ffffff>");
_data_object_console.document.write("<table border=0 width=500>");
_data_object_console.document.write("<tr align = left
bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>");
_data_object_console.document.write("<tr
bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b><
/td></tr>");
{foreach from=$arrDebug item=arrInfo}
_data_object_console.document.write("<tr bgcolor={cycle
values="#eeeeee,#fafafa"}><td><font
color=maroon>{$arrInfo.class}</font></td><td>{$arrInfo.type}</td><td><font
color=green>{$arrInfo.message}</font></td></tr>");
{/foreach}
_data_object_console.document.write("</table>");
_data_object_console.document.write("</BODY></HTML>");
_data_object_console.document.close();
</SCRIPT>
> >
> > It seems to be OK but it really doesn't... the thing is that debug info
> will
> > be inserted after EACH template (i.e. also after included templates),
> not
> > after the whole page HTML.
> >
> > So, here is the question: how should we deal with that?
> >
> > Please, DO NOT suggest modifying Smarty's debug.tpl - that seems to be
> the
> > wrong way... also because we want Smarty debug info and DO debug info to
> be
> > shown independently (i.e. only Smarty console or only DO console or
> both).
>
> When are you calling that function above and with what arguments? What
> exactly is happening? Do you get multiple DO debug windows? Are the
> Smarty and DO windows combined? Are you seeing the DO messages
> multiple times?
>
1. That is a Smarty prefilter:
$objSmarty->debugging = true;
include_once('Smarty/plugins/prefilter.debug.php');
$objSmarty->register_prefilter('smarty_prefilter_debug');
So it is called by Smarty during execution.
2. At the first glance all seem to work but we get JS errors (the reason is
outlined below).
3. Have you looked at the screenshot? There are two different popup windows
- one for Smarty and another for DO.
Now, here is the idea.
1. We read DataObjectDebug.tpl.html template and append it to the end of the
template being processed.
2. We assign DO debug info to this template using given Smarty instance.
3. As a result we have JS script that opens DO debug window and outputs
debug info appended to the template.
The problem:
Debug info is appended to EACH processed template while we want it to be
added to the end of the "whole" file - please see my attachment for example.
> >
> > Thank you very much.
> >
> > Best regards, Denis Gerasimov
> > Outsourcing Services Manager,
> > VEKOS, Ltd.
> > www.vekos.ru
> >
> >
> >
> > > -----Original Message-----
> > > From: Justin Patrin [mailto:papercrane@gmail.com]
> > > Sent: Thursday, October 07, 2004 9:10 PM
> > > To: Denis Gerasimov
> > > Cc: PEAR General ML; Smarty General ML
> > > Subject: Re: [PEAR] Smarty + DataObject and DataObjectDebugger's
> > > console...
> > >
> > > On Thu, 7 Oct 2004 19:30:57 +0400, Denis Gerasimov
> > > <denis.gerasimov@vekos.ru> wrote:
> > > >
> > > > Hello all
> > > >
> > > > We are trying to develop debugging console for PEAR DB_DataObject
> that
> > > > should be similar to "internal" Smarty debug console.
> > > >
> > > > For example, look at this screenshot
> > > >
> > > > http://www.vekos.ru/images/DataObjectDebugger_Consonle.png
> > > >
> > > > However we have some troubles that seem to be difficult to solve.
> Does
> > > > anybody know how we can implement Smarty-like debugging console for
> our
> > > own
> > > > needs (it should be based on Smarty)?
> > > >
> > >
> > > The best way might be to create a listener callback which outputs JS
> > > which changes the "console". You can do this by setting the debug
> > > option to a valid callback instead of "1". JS is actually how Smarty
> > > does it (see the debug.tpl in the Smarty distribution).
> > >
> > > --
> > > paperCrane --Justin Patrin--
> >
>
> --
> paperCrane --Justin Patrin--
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
<html> <head> <!-- ... here goes some HTML ... --> <body> <!-- BEGIN admin_header.inc.html --> <a name="top"></a> <table width="100%" class="markup" cellspacing="0"> <!-- ... here goes some HTML ... --> </table> <div id="Layer1" style="position:absolute; left:0px; top:102px; width:219px; height:51px; z-index:1"><img src="/images/menu_flag_admin.jpg" alt="" width="167" height="51"><img src="/images/top_06_admin.jpg" width="52" height="51"></div> <!-- END admin_header.inc.html --> <SCRIPT language=javascript> _data_object_console = window.open("","Debug","width=680,height=600,resizable,scrollbars=yes"); _data_object_console.document.write("<HTML><TITLE>DataObject Debug Console</TITLE><BODY bgcolor=#ffffff>"); _data_object_console.document.write("<table border=0 width=500>"); _data_object_console.document.write("<tr align = left bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>"); _data_object_console.document.write("<tr bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>GET</td><td><font color=green>id 35 Array ( [0] => id ) </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>QUERY</td><td><font color=green>SELECT * FROM news_news WHERE news_news.id = 35 ORDER BY date DESC , id DESC </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>query</td><td><font color=green>QUERY DONE IN 0.0026049613952637 seconds</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>CHECK autofetchd 1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>ABOUT TO AUTOFETCH</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>FETCH</td><td><font color=green>a:6:{s:2:"id";s:2:"35";s:6:"status";s:9:"PUBLISHED";s:4:"date";s:10:"2004-10-17";s:5:"title";s:17:"DataObjecDebugger";s:11:"description";s:29:"testing DataObjectDebugger! ";s:4:"text";s:29:"testing DataObjectDebugger! ";}</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>DONE</font></td></tr>"); _data_object_console.document.write("</table>"); _data_object_console.document.write("</BODY></HTML>"); _data_object_console.document.close(); </SCRIPT> <table class="markup" align="center" width="780"> <!-- ... here goes some HTML ... --> <h5><span class="charbold">À</span>äìèíèñòðàòèâíàÿ ÷àñòü</h5> <!-- BEGIN admin_menu.inc.html --> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <!-- ... here goes some HTML ... --> </tr> </table> <!-- END admin_menu.inc.html --> <SCRIPT language=javascript> _data_object_console = window.open("","Debug","width=680,height=600,resizable,scrollbars=yes"); _data_object_console.document.write("<HTML><TITLE>DataObject Debug Console</TITLE><BODY bgcolor=#ffffff>"); _data_object_console.document.write("<table border=0 width=500>"); _data_object_console.document.write("<tr align = left bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>"); _data_object_console.document.write("<tr bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>GET</td><td><font color=green>id 35 Array ( [0] => id ) </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>QUERY</td><td><font color=green>SELECT * FROM news_news WHERE news_news.id = 35 ORDER BY date DESC , id DESC </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>query</td><td><font color=green>QUERY DONE IN 0.0026049613952637 seconds</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>CHECK autofetchd 1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>ABOUT TO AUTOFETCH</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>FETCH</td><td><font color=green>a:6:{s:2:"id";s:2:"35";s:6:"status";s:9:"PUBLISHED";s:4:"date";s:10:"2004-10-17";s:5:"title";s:17:"DataObjecDebugger";s:11:"description";s:29:"testing DataObjectDebugger! ";s:4:"text";s:29:"testing DataObjectDebugger! ";}</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>DONE</font></td></tr>"); _data_object_console.document.write("</table>"); _data_object_console.document.write("</BODY></HTML>"); _data_object_console.document.close(); </SCRIPT> </td> </tr> <tr><td align="center"> <!-- ... here goes some HTML ... --> <!-- END admin_footer.inc.html --> <SCRIPT language=javascript> _data_object_console = window.open("","Debug","width=680,height=600,resizable,scrollbars=yes"); _data_object_console.document.write("<HTML><TITLE>DataObject Debug Console</TITLE><BODY bgcolor=#ffffff>"); _data_object_console.document.write("<table border=0 width=500>"); _data_object_console.document.write("<tr align = left bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>"); _data_object_console.document.write("<tr bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>GET</td><td><font color=green>id 35 Array ( [0] => id ) </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>QUERY</td><td><font color=green>SELECT * FROM news_news WHERE news_news.id = 35 ORDER BY date DESC , id DESC </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>query</td><td><font color=green>QUERY DONE IN 0.0026049613952637 seconds</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>CHECK autofetchd 1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>ABOUT TO AUTOFETCH</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>FETCH</td><td><font color=green>a:6:{s:2:"id";s:2:"35";s:6:"status";s:9:"PUBLISHED";s:4:"date";s:10:"2004-10-17";s:5:"title";s:17:"DataObjecDebugger";s:11:"description";s:29:"testing DataObjectDebugger! ";s:4:"text";s:29:"testing DataObjectDebugger! ";}</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>DONE</font></td></tr>"); _data_object_console.document.write("</table>"); _data_object_console.document.write("</BODY></HTML>"); _data_object_console.document.close(); </SCRIPT> </td></tr> </table> </body> </html><SCRIPT language=javascript> _data_object_console = window.open("","Debug","width=680,height=600,resizable,scrollbars=yes"); _data_object_console.document.write("<HTML><TITLE>DataObject Debug Console</TITLE><BODY bgcolor=#ffffff>"); _data_object_console.document.write("<table border=0 width=500>"); _data_object_console.document.write("<tr align = left bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>"); _data_object_console.document.write("<tr bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>GET</td><td><font color=green>id 35 Array ( [0] => id ) </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>QUERY</td><td><font color=green>SELECT * FROM news_news WHERE news_news.id = 35 ORDER BY date DESC , id DESC </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>query</td><td><font color=green>QUERY DONE IN 0.0026049613952637 seconds</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>CHECK autofetchd 1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>ABOUT TO AUTOFETCH</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>FETCH</td><td><font color=green>a:6:{s:2:"id";s:2:"35";s:6:"status";s:9:"PUBLISHED";s:4:"date";s:10:"2004-10-17";s:5:"title";s:17:"DataObjecDebugger";s:11:"description";s:29:"testing DataObjectDebugger! ";s:4:"text";s:29:"testing DataObjectDebugger! ";}</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>DONE</font></td></tr>"); _data_object_console.document.write("</table>"); _data_object_console.document.write("</BODY></HTML>"); _data_object_console.document.close(); </SCRIPT> <SCRIPT language=javascript> if( self.name == '' ) { var title = 'Console'; } else { var title = 'Console_' + self.name; } _smarty_console = window.open("",title.value,"width=680,height=600,resizable,scrollbars=yes"); _smarty_console.document.write("<HTML><TITLE>Smarty Debug Console_"+self.name+"</TITLE><BODY bgcolor=#ffffff>"); _smarty_console.document.write("<table border=0 width=100%>"); _smarty_console.document.write("<tr bgcolor=#cccccc><th colspan=2>Smarty Debug Console</th></tr>"); _smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>included templates & config files (load time in seconds):</b></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td colspan=2><tt><font color=brown>admin/admin_interface.tpl.html</font> <font size=-1><i>(0.65239) (total)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td colspan=2><tt> <font color=brown>admin/header.inc.html</font> <font size=-1><i>(0.11712)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td colspan=2><tt> <font color=brown>admin/menu.inc.html</font> <font size=-1><i>(0.22226)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td colspan=2><tt> <font color=brown>admin/footer.inc.html</font> <font size=-1><i>(0.14436)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>assigned template variables:</b></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=blue>{$SCRIPT_NAME}</font></tt></td><td nowrap><tt><font color=green>/php/admin/news_news.php</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td valign=top><tt><font color=blue>{$arrDebug}</font></tt></td><td nowrap><tt><font color=green><b>Array (8)<\/b><br><b>0<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => id 35 Array ( [0] =&gt; id ) <br> <b>type<\/b> => GET<br><b>1<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => 1<br> <b>type<\/b> => __find<br><b>2<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => SELECT * FROM news_news WHERE news_...<br> <b>type<\/b> => QUERY<br><b>3<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => QUERY DONE IN 0.0026049613952637 sec...<br> <b>type<\/b> => query<br><b>4<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => CHECK autofetchd 1<br> <b>type<\/b> => __find<br><b>5<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => ABOUT TO AUTOFETCH<br> <b>type<\/b> => __find<br><b>6<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => a:6:{s:2:&quot;id&quot;;s:2:&quot;35&...<br> <b>type<\/b> => FETCH<br><b>7<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => DONE<br> <b>type<\/b> => __find</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=blue>{$arrInfo}</font></tt></td><td nowrap><tt><font color=green><b>Array (3)<\/b><br><b>class<\/b> => DataObjects_News_news<br><b>message<\/b> => DONE<br><b>type<\/b> => __find</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td valign=top><tt><font color=blue>{$strDataFormHTML}</font></tt></td><td nowrap><tt><font color=green><i>\n<\/i><script type="text/javascript"><i>\n<\/i>//<!...</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=blue>{$strPageTitle}</font></tt></td><td nowrap><tt><font color=green>Àäìèíèñòðàòèâíàÿ ÷àñòü</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>assigned config file variables (outer template scope):</b></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=maroon>{#files#}</font></tt></td><td><tt><font color=green><b>Array (0)<\/b></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td valign=top><tt><font color=maroon>{#vars#}</font></tt></td><td><tt><font color=green><b>Array (0)<\/b></font></tt></td></tr>"); _smarty_console.document.write("</table>"); _smarty_console.document.write("</BODY></HTML>"); _smarty_console.document.close(); </SCRIPT> <SCRIPT language=javascript> _data_object_console = window.open("","Debug","width=680,height=600,resizable,scrollbars=yes"); _data_object_console.document.write("<HTML><TITLE>DataObject Debug Console</TITLE><BODY bgcolor=#ffffff>"); _data_object_console.document.write("<table border=0 width=500>"); _data_object_console.document.write("<tr align = left bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>"); _data_object_console.document.write("<tr bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>GET</td><td><font color=green>id 35 Array ( [0] => id ) </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>QUERY</td><td><font color=green>SELECT * FROM news_news WHERE news_news.id = 35 ORDER BY date DESC , id DESC </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>query</td><td><font color=green>QUERY DONE IN 0.0026049613952637 seconds</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>CHECK autofetchd 1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>ABOUT TO AUTOFETCH</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>FETCH</td><td><font color=green>a:6:{s:2:"id";s:2:"35";s:6:"status";s:9:"PUBLISHED";s:4:"date";s:10:"2004-10-17";s:5:"title";s:17:"DataObjecDebugger";s:11:"description";s:29:"testing DataObjectDebugger! ";s:4:"text";s:29:"testing DataObjectDebugger! ";}</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>DONE</font></td></tr>"); _data_object_console.document.write("</table>"); _data_object_console.document.write("</BODY></HTML>"); _data_object_console.document.close(); </SCRIPT>
<html> <head> <!-- ... here goes some HTML ... --> <body> <!-- BEGIN admin_header.inc.html --> <a name="top"></a> <table width="100%" class="markup" cellspacing="0"> <!-- ... here goes some HTML ... --> </table> <div id="Layer1" style="position:absolute; left:0px; top:102px; width:219px; height:51px; z-index:1"><img src="/images/menu_flag_admin.jpg" alt="" width="167" height="51"><img src="/images/top_06_admin.jpg" width="52" height="51"></div> <!-- END admin_header.inc.html --> <SCRIPT language=javascript> _data_object_console = window.open("","Debug","width=680,height=600,resizable,scrollbars=yes"); _data_object_console.document.write("<HTML><TITLE>DataObject Debug Console</TITLE><BODY bgcolor=#ffffff>"); _data_object_console.document.write("<table border=0 width=500>"); _data_object_console.document.write("<tr align = left bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>"); _data_object_console.document.write("<tr bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>GET</td><td><font color=green>id 35 Array ( [0] => id ) </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>QUERY</td><td><font color=green>SELECT * FROM news_news WHERE news_news.id = 35 ORDER BY date DESC , id DESC </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>query</td><td><font color=green>QUERY DONE IN 0.0026049613952637 seconds</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>CHECK autofetchd 1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>ABOUT TO AUTOFETCH</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>FETCH</td><td><font color=green>a:6:{s:2:"id";s:2:"35";s:6:"status";s:9:"PUBLISHED";s:4:"date";s:10:"2004-10-17";s:5:"title";s:17:"DataObjecDebugger";s:11:"description";s:29:"testing DataObjectDebugger! ";s:4:"text";s:29:"testing DataObjectDebugger! ";}</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>DONE</font></td></tr>"); _data_object_console.document.write("</table>"); _data_object_console.document.write("</BODY></HTML>"); _data_object_console.document.close(); </SCRIPT> <table class="markup" align="center" width="780"> <!-- ... here goes some HTML ... --> <h5><span class="charbold">À</span>äìèíèñòðàòèâíàÿ ÷àñòü</h5> <!-- BEGIN admin_menu.inc.html --> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <!-- ... here goes some HTML ... --> </tr> </table> <!-- END admin_menu.inc.html --> <SCRIPT language=javascript> _data_object_console = window.open("","Debug","width=680,height=600,resizable,scrollbars=yes"); _data_object_console.document.write("<HTML><TITLE>DataObject Debug Console</TITLE><BODY bgcolor=#ffffff>"); _data_object_console.document.write("<table border=0 width=500>"); _data_object_console.document.write("<tr align = left bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>"); _data_object_console.document.write("<tr bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>GET</td><td><font color=green>id 35 Array ( [0] => id ) </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>QUERY</td><td><font color=green>SELECT * FROM news_news WHERE news_news.id = 35 ORDER BY date DESC , id DESC </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>query</td><td><font color=green>QUERY DONE IN 0.0026049613952637 seconds</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>CHECK autofetchd 1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>ABOUT TO AUTOFETCH</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>FETCH</td><td><font color=green>a:6:{s:2:"id";s:2:"35";s:6:"status";s:9:"PUBLISHED";s:4:"date";s:10:"2004-10-17";s:5:"title";s:17:"DataObjecDebugger";s:11:"description";s:29:"testing DataObjectDebugger! ";s:4:"text";s:29:"testing DataObjectDebugger! ";}</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>DONE</font></td></tr>"); _data_object_console.document.write("</table>"); _data_object_console.document.write("</BODY></HTML>"); _data_object_console.document.close(); </SCRIPT> </td> </tr> <tr><td align="center"> <!-- ... here goes some HTML ... --> <!-- END admin_footer.inc.html --> <SCRIPT language=javascript> _data_object_console = window.open("","Debug","width=680,height=600,resizable,scrollbars=yes"); _data_object_console.document.write("<HTML><TITLE>DataObject Debug Console</TITLE><BODY bgcolor=#ffffff>"); _data_object_console.document.write("<table border=0 width=500>"); _data_object_console.document.write("<tr align = left bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>"); _data_object_console.document.write("<tr bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>GET</td><td><font color=green>id 35 Array ( [0] => id ) </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>QUERY</td><td><font color=green>SELECT * FROM news_news WHERE news_news.id = 35 ORDER BY date DESC , id DESC </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>query</td><td><font color=green>QUERY DONE IN 0.0026049613952637 seconds</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>CHECK autofetchd 1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>ABOUT TO AUTOFETCH</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>FETCH</td><td><font color=green>a:6:{s:2:"id";s:2:"35";s:6:"status";s:9:"PUBLISHED";s:4:"date";s:10:"2004-10-17";s:5:"title";s:17:"DataObjecDebugger";s:11:"description";s:29:"testing DataObjectDebugger! ";s:4:"text";s:29:"testing DataObjectDebugger! ";}</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>DONE</font></td></tr>"); _data_object_console.document.write("</table>"); _data_object_console.document.write("</BODY></HTML>"); _data_object_console.document.close(); </SCRIPT> </td></tr> </table> </body> </html><SCRIPT language=javascript> _data_object_console = window.open("","Debug","width=680,height=600,resizable,scrollbars=yes"); _data_object_console.document.write("<HTML><TITLE>DataObject Debug Console</TITLE><BODY bgcolor=#ffffff>"); _data_object_console.document.write("<table border=0 width=500>"); _data_object_console.document.write("<tr align = left bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>"); _data_object_console.document.write("<tr bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>GET</td><td><font color=green>id 35 Array ( [0] => id ) </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>QUERY</td><td><font color=green>SELECT * FROM news_news WHERE news_news.id = 35 ORDER BY date DESC , id DESC </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>query</td><td><font color=green>QUERY DONE IN 0.0026049613952637 seconds</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>CHECK autofetchd 1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>ABOUT TO AUTOFETCH</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>FETCH</td><td><font color=green>a:6:{s:2:"id";s:2:"35";s:6:"status";s:9:"PUBLISHED";s:4:"date";s:10:"2004-10-17";s:5:"title";s:17:"DataObjecDebugger";s:11:"description";s:29:"testing DataObjectDebugger! ";s:4:"text";s:29:"testing DataObjectDebugger! ";}</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>DONE</font></td></tr>"); _data_object_console.document.write("</table>"); _data_object_console.document.write("</BODY></HTML>"); _data_object_console.document.close(); </SCRIPT> <SCRIPT language=javascript> if( self.name == '' ) { var title = 'Console'; } else { var title = 'Console_' + self.name; } _smarty_console = window.open("",title.value,"width=680,height=600,resizable,scrollbars=yes"); _smarty_console.document.write("<HTML><TITLE>Smarty Debug Console_"+self.name+"</TITLE><BODY bgcolor=#ffffff>"); _smarty_console.document.write("<table border=0 width=100%>"); _smarty_console.document.write("<tr bgcolor=#cccccc><th colspan=2>Smarty Debug Console</th></tr>"); _smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>included templates & config files (load time in seconds):</b></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td colspan=2><tt><font color=brown>admin/admin_interface.tpl.html</font> <font size=-1><i>(0.65239) (total)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td colspan=2><tt> <font color=brown>admin/header.inc.html</font> <font size=-1><i>(0.11712)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td colspan=2><tt> <font color=brown>admin/menu.inc.html</font> <font size=-1><i>(0.22226)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td colspan=2><tt> <font color=brown>admin/footer.inc.html</font> <font size=-1><i>(0.14436)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>assigned template variables:</b></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=blue>{$SCRIPT_NAME}</font></tt></td><td nowrap><tt><font color=green>/php/admin/news_news.php</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td valign=top><tt><font color=blue>{$arrDebug}</font></tt></td><td nowrap><tt><font color=green><b>Array (8)<\/b><br><b>0<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => id 35 Array ( [0] =&gt; id ) <br> <b>type<\/b> => GET<br><b>1<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => 1<br> <b>type<\/b> => __find<br><b>2<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => SELECT * FROM news_news WHERE news_...<br> <b>type<\/b> => QUERY<br><b>3<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => QUERY DONE IN 0.0026049613952637 sec...<br> <b>type<\/b> => query<br><b>4<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => CHECK autofetchd 1<br> <b>type<\/b> => __find<br><b>5<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => ABOUT TO AUTOFETCH<br> <b>type<\/b> => __find<br><b>6<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => a:6:{s:2:&quot;id&quot;;s:2:&quot;35&...<br> <b>type<\/b> => FETCH<br><b>7<\/b> => <b>Array (3)<\/b><br> <b>class<\/b> => DataObjects_News_news<br> <b>message<\/b> => DONE<br> <b>type<\/b> => __find</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=blue>{$arrInfo}</font></tt></td><td nowrap><tt><font color=green><b>Array (3)<\/b><br><b>class<\/b> => DataObjects_News_news<br><b>message<\/b> => DONE<br><b>type<\/b> => __find</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td valign=top><tt><font color=blue>{$strDataFormHTML}</font></tt></td><td nowrap><tt><font color=green><i>\n<\/i><script type="text/javascript"><i>\n<\/i>//<!...</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=blue>{$strPageTitle}</font></tt></td><td nowrap><tt><font color=green>Àäìèíèñòðàòèâíàÿ ÷àñòü</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>assigned config file variables (outer template scope):</b></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=maroon>{#files#}</font></tt></td><td><tt><font color=green><b>Array (0)<\/b></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td valign=top><tt><font color=maroon>{#vars#}</font></tt></td><td><tt><font color=green><b>Array (0)<\/b></font></tt></td></tr>"); _smarty_console.document.write("</table>"); _smarty_console.document.write("</BODY></HTML>"); _smarty_console.document.close(); </SCRIPT> <SCRIPT language=javascript> _data_object_console = window.open("","Debug","width=680,height=600,resizable,scrollbars=yes"); _data_object_console.document.write("<HTML><TITLE>DataObject Debug Console</TITLE><BODY bgcolor=#ffffff>"); _data_object_console.document.write("<table border=0 width=500>"); _data_object_console.document.write("<tr align = left bgcolor=#cccccc><th colspan=3>DataObject Debug Console</th></tr>"); _data_object_console.document.write("<tr bgcolor=#cccccc><td><b>Class</b></td><td><b>Type</b></td><td><b>Message</b></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>GET</td><td><font color=green>id 35 Array ( [0] => id ) </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>QUERY</td><td><font color=green>SELECT * FROM news_news WHERE news_news.id = 35 ORDER BY date DESC , id DESC </font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>query</td><td><font color=green>QUERY DONE IN 0.0026049613952637 seconds</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>CHECK autofetchd 1</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>ABOUT TO AUTOFETCH</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#eeeeee><td><font color=maroon>DataObjects_News_news</font></td><td>FETCH</td><td><font color=green>a:6:{s:2:"id";s:2:"35";s:6:"status";s:9:"PUBLISHED";s:4:"date";s:10:"2004-10-17";s:5:"title";s:17:"DataObjecDebugger";s:11:"description";s:29:"testing DataObjectDebugger! ";s:4:"text";s:29:"testing DataObjectDebugger! ";}</font></td></tr>"); _data_object_console.document.write("<tr bgcolor=#fafafa><td><font color=maroon>DataObjects_News_news</font></td><td>__find</td><td><font color=green>DONE</font></td></tr>"); _data_object_console.document.write("</table>"); _data_object_console.document.write("</BODY></HTML>"); _data_object_console.document.close(); </SCRIPT>