Exemplo n.º 1
0
        } elseif (count($_GET) > 0) {
            $_SESSION['osLink'] = $_GET;
            unset($_SESSION['osLink']['kill']);
            $_SESSION['silentmode'] = true;
            if (isset($_SESSION['osLink'])) {
                if (is_array($_SESSION['osLink'])) {
                    foreach ($_SESSION['osLink'] as $a => $b) {
                        $p = osParse($b);
                        osMessage($a, "client_" . $p[0], $p[1]);
                    }
                }
            }
            $_SESSION['silentmode'] = false;
        }
        if (isset($bizbank)) {
            $page_content = $bizbank->show(false);
            foreach ($_SESSION['osNodes'] as $nodeFN => $node) {
                if (isset($node['node'])) {
                    if (is_object($node['node'])) {
                        //						$JQueryCode.="if(window.".$nodeFN.")".$nodeFN."();";
                    }
                }
            }
        }
        echo <<<PHTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
\t<head>
\t\t<!-- Quantcast Tag -->
\t\t\t<script type="text/javascript">
\t\t\tvar _qevents = _qevents || [];
Exemplo n.º 2
0
         osMessage($_POST['_target'], $_POST['_message'], $_POST);
     }
     $msgMode = true;
 } else {
     if (count($_GET) > 0) {
         $_SESSION['osLink'] = $_GET;
         unset($_SESSION['osLink']['kill']);
         $_SESSION['silentmode'] = true;
         foreach ($_SESSION['osLink'] as $a => $b) {
             $p = osParse($b);
             osMessage($a, "client_" . $p[0], $p[1]);
         }
         $_SESSION['silentmode'] = false;
     }
     if (isset($bizbank)) {
         $bizbank->show(true);
     }
     require_once "ajax.php";
 }
 foreach ($_SESSION['osNodes'] as $node) {
     if (isset($node['sleep'])) {
         if (!$node['sleep']) {
             if (isset($node['node'])) {
                 if (is_object($node['node'])) {
                     $node['node']->gotoSleep();
                     if ($msgMode) {
                         $node['node']->show(true);
                     }
                 }
             }
         }