function __ac_desc_desktop($object) { global $gbl, $sgbl, $login, $ghtml; $skindir = $login->getSkinDir(); $col = $login->getSkinColor(); $sel = "des"; $a = $ghtml->print_domcollapse($sel); $history = $login->dskhistory; $history = array_reverse($history); $shortcut = $login->dskshortcut_a; $shediturl = $ghtml->getFullUrl('a=list&c=dskshortcut_a'); $ghtml->print_message(); print "<table cellpadding=0 width=90% cellspacing=1 style='border:1px solid #{$col}; background:#fffafa;'><tr></tr><tr height=50> <td align=center>"; print "<form name=desktopsearch method=get action=/display.php>"; $ghtml->print_input("hidden", "frm_action", "desktop"); print "<table cellpadding=0 cellspacing=0 > <tr> <td> "; $ghtml->print_input("text", "frm_desksearch", $ghtml->frm_desksearch); print "</form>\n"; print "</td> <td ><a href=javascript:document.desktopsearch.submit()> <img src=img/general/icon/search_b.gif> Search </a> </td> </tr> </table> "; print "</td> </tr> </table>"; print "<table width=90% cellpadding=0 valign=top cellspacing=20 height=200> <tr> <td valign=top>\n"; $iconpath = get_image_path() . "/button/"; print "<div id=\"debug\"></div><div id=\"boundary\"><div id=\"content\"> <h2 class=expanded align=center onMouseover=\"this.style.background='url({$skindir}/onexpand.gif)'\" onMouseout=\"this.style.background='url({$skindir}/expand.gif)'\"><code>History</code></h2><table cellpadding=0 cellspacing=0 style=\"background:#f0f0f0;\">"; $count = 0; foreach ($history as $k => $h) { if ($h == 1) { $h = null; } else { $h = lxgettimewithoutyear($h); } $count++; $ac_descr = $ghtml->getActionDetails($k, null, $iconpath, $path, $post, $_t_file, $_t_name, $_t_image, $__t_identity); $des = "{$ac_descr['2']} for {$__t_identity} ({$h})"; print "<tr valign=center style=\"background:#f0f0f0;height:25px\" onMouseover=\"this.style.background='url({$skindir}/a.gif)'\" onMouseout=\"this.style.background='url({$skindir}/b.gif)'\"><td style=\"padding:0 0 0 20;\" nowrap><a href={$k}><img src={$_t_image} width=20 height=20></td> <td width=100% nowrap><a href={$k}> {$des}</td> </tr><tr style=\"background:#ffffff;\"><td></td> <td> </td> </tr>\n"; } print "</table> </td></div></div> </tr> </table> "; }
function __ac_desc_desktop($object) { global $gbl, $sgbl, $login, $ghtml; $skindir = $login->getSkinDir(); $col = $login->getSkinColor(); $sel = "des"; $a = $ghtml->print_domcollapse($sel); $history = $login->dskhistory; $history = array_reverse($history); $shortcut = $login->dskshortcut_a; $shediturl = $ghtml->getFullUrl('a=list&c=dskshortcut_a'); $ghtml->print_message(); //$ghtml->print_curvy_table_start(); //print("To add links to <font style='font-weight:bold'>Favorites </font> , go to a particular page, and then click on the <font style='font-weight:bold'> Add to Favorites </font> link that appears on the top right. <font style='font-weight:bold'>History </font> is the list of last 20 pages you have visited."); //$ghtml->print_curvy_table_end(); print "<table cellpadding=0 width=90% cellspacing=1 style='border:1px solid #{$col}; background:#fffafa;'><tr></tr><tr height=50> <td align=center>"; print "<form name=desktopsearch method=get action=/display.php>"; $ghtml->print_input("hidden", "frm_action", "desktop"); print "<table cellpadding=0 cellspacing=0 > <tr> <td> "; $ghtml->print_input("text", "frm_desksearch", $ghtml->frm_desksearch); print "</form>\n"; print "</td> <td ><a href=javascript:document.desktopsearch.submit()> <img src=img/general/icon/search_b.gif> Search </a> </td> </tr> </table> "; print "</td> </tr> </table>"; print "<table width=90% cellpadding=0 valign=top cellspacing=20 height=200> <tr> <td valign=top>\n"; /* <div id="debug"></div><div id="boundary"><div id="content"> <h2 class=expanded align=center onMouseover="this.style.background='url(<?php echo $skindir?>/onexpand.gif)'" onMouseout="this.style.background='url(<?php echo $skindir?>/background1.gif)'"><code> </code></h2> print("<table cellpadding=0 cellspacing=0 valign=top style=\"background:#f0f0f0;\" >\n"); $count = 0;*/ $iconpath = get_image_path() . "/button/"; /* if ($shortcut) foreach($shortcut as $k => $h) { $k = base64_decode($k); $count++; $ac_descr = $ghtml->getActionDetails($k, null, $iconpath, $path, $post, $_t_file, $_t_name, $_t_image, $__t_identity); if (isset($h->description) && $h->description) { $des = $h->description; } else { $des = "{$ac_descr['desc']} for $__t_identity"; } print("<tr valign=center style=\"background:#f0f0f0;height:25px\" onMouseover=\"this.style.background='url($skindir/a.gif)'\" onMouseout=\"this.style.background='url($skindir/b.gif)'\"><td style=\"padding:0 0 0 20;\" nowrap><a href=$k><img src=$_t_image width=20 height=20></td><td width=100% nowrap><a href=$k> $des</td></tr><tr style=\"background:#ffffff;\"><td nowrap></td> <td nowrap> </td> </tr>\n"); } print("</table> </td> </div></div><td valign=top>"); */ print "<div id=\"debug\"></div><div id=\"boundary\"><div id=\"content\"> <h2 class=expanded align=center onMouseover=\"this.style.background='url({$skindir}/onexpand.gif)'\" onMouseout=\"this.style.background='url({$skindir}/expand.gif)'\"><code>History</code></h2><table cellpadding=0 cellspacing=0 style=\"background:#f0f0f0;\">"; $count = 0; foreach ($history as $k => $h) { if ($h == 1) { $h = null; } else { $h = lxgettimewithoutyear($h); } $count++; $ac_descr = $ghtml->getActionDetails($k, null, $iconpath, $path, $post, $_t_file, $_t_name, $_t_image, $__t_identity); $des = "{$ac_descr['2']} for {$__t_identity} ({$h})"; print "<tr valign=center style=\"background:#f0f0f0;height:25px\" onMouseover=\"this.style.background='url({$skindir}/a.gif)'\" onMouseout=\"this.style.background='url({$skindir}/b.gif)'\"><td style=\"padding:0 0 0 20;\" nowrap><a href={$k}><img src={$_t_image} width=20 height=20></td> <td width=100% nowrap><a href={$k}> {$des}</td> </tr><tr style=\"background:#ffffff;\"><td></td> <td> </td> </tr>\n"; } print "</table> </td></div></div> </tr> </table> "; }