예제 #1
0
<?php

chdir('..');
include 'common.inc';
$loc = GetDefaultLocation();
$tid = array_key_exists('tid', $_GET) ? $_GET['tid'] : 0;
$run = array_key_exists('run', $_GET) ? $_GET['run'] : 0;
$page_keywords = array('Video', 'comparison', 'Webpagetest', 'Website Speed Test');
$page_description = "Visually compare the performance of multiple websites with a side-by-side video and filmstrip view of the user experience.";
?>

<!DOCTYPE html>
<html>
    <head>
        <title>WebPagetest - Visual Comparison</title>
        <?php 
$gaTemplate = 'Visual Test';
include 'head.inc';
?>
    </head>
    <body>
        <div class="page">
            <?php 
$tab = 'Home';
include 'header.inc';
?>
            <form name="urlEntry" action="/video/docompare.php" method="POST" onsubmit="return ValidateInput(this)">

            <h2 class="cufon-dincond_black">Test a website's performance</h2>

            <div id="test_box-container">
예제 #2
0
function xmlrpc_GetDefaultLocation($xmlrpcmsg)
{
    ob_start('ob_file_callback');
    /*x*/
    if ($xmlrpcmsg->getNumParams() == 2) {
        /*x*/
        $rtn = new xmlrpcresp(php_xmlrpc_encode(GetDefaultLocation($xmlrpcmsg->getParam(0)->scalarval(), $xmlrpcmsg->getParam(1)->scalarval())));
        /*x*/
    } else {
        /*e*/
        $rtn = new xmlrpcresp(php_xmlrpc_encode(GetDefaultLocation('', '')));
        /*x*/
    }
    ob_end_flush();
    return $rtn;
}
예제 #3
0
function xmlrpc_GetDefaultLocation($xmlrpcmsg)
{
    return new xmlrpcresp(php_xmlrpc_encode(GetDefaultLocation($xmlrpcmsg->getParam(0)->scalarval(), $xmlrpcmsg->getParam(1)->scalarval())));
}