亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? frames.php

?? PHP 知識(shí)管理系統(tǒng)(基于樹結(jié)構(gòu)的知識(shí)管理系統(tǒng)), 英文原版的PHP源碼。
?? PHP
?? 第 1 頁 / 共 2 頁
字號(hào):
<?php
/**
 *  Base include file for SimpleTest
 *  @package    SimpleTest
 *  @subpackage WebTester
 *  @version    $Id: frames.php 1672 2008-03-02 04:47:34Z edwardzyang $
 */

/**#@+
 *  include other SimpleTest class files
 */
require_once(dirname(__FILE__) . '/page.php');
require_once(dirname(__FILE__) . '/user_agent.php');
/**#@-*/

/**
 *    A composite page. Wraps a frameset page and
 *    adds subframes. The original page will be
 *    mostly ignored. Implements the SimplePage
 *    interface so as to be interchangeable.
 *    @package SimpleTest
 *    @subpackage WebTester
 */
class SimpleFrameset {
    var $_frameset;
    var $_frames;
    var $_focus;
    var $_names;

    /**
     *    Stashes the frameset page. Will make use of the
     *    browser to fetch the sub frames recursively.
     *    @param SimplePage $page        Frameset page.
     */
    function SimpleFrameset(&$page) {
        $this->_frameset = &$page;
        $this->_frames = array();
        $this->_focus = false;
        $this->_names = array();
    }

    /**
     *    Adds a parsed page to the frameset.
     *    @param SimplePage $page    Frame page.
     *    @param string $name        Name of frame in frameset.
     *    @access public
     */
    function addFrame(&$page, $name = false) {
        $this->_frames[] = &$page;
        if ($name) {
            $this->_names[$name] = count($this->_frames) - 1;
        }
    }

    /**
     *    Replaces existing frame with another. If the
     *    frame is nested, then the call is passed down
     *    one level.
     *    @param array $path        Path of frame in frameset.
     *    @param SimplePage $page   Frame source.
     *    @access public
     */
    function setFrame($path, &$page) {
        $name = array_shift($path);
        if (isset($this->_names[$name])) {
            $index = $this->_names[$name];
        } else {
            $index = $name - 1;
        }
        if (count($path) == 0) {
            $this->_frames[$index] = &$page;
            return;
        }
        $this->_frames[$index]->setFrame($path, $page);
    }

    /**
     *    Accessor for current frame focus. Will be
     *    false if no frame has focus. Will have the nested
     *    frame focus if any.
     *    @return array     Labels or indexes of nested frames.
     *    @access public
     */
    function getFrameFocus() {
        if ($this->_focus === false) {
            return array();
        }
        return array_merge(
                array($this->_getPublicNameFromIndex($this->_focus)),
                $this->_frames[$this->_focus]->getFrameFocus());
    }

    /**
     *    Turns an internal array index into the frames list
     *    into a public name, or if none, then a one offset
     *    index.
     *    @param integer $subject    Internal index.
     *    @return integer/string     Public name.
     *    @access private
     */
    function _getPublicNameFromIndex($subject) {
        foreach ($this->_names as $name => $index) {
            if ($subject == $index) {
                return $name;
            }
        }
        return $subject + 1;
    }

    /**
     *    Sets the focus by index. The integer index starts from 1.
     *    If already focused and the target frame also has frames,
     *    then the nested frame will be focused.
     *    @param integer $choice    Chosen frame.
     *    @return boolean           True if frame exists.
     *    @access public
     */
    function setFrameFocusByIndex($choice) {
        if (is_integer($this->_focus)) {
            if ($this->_frames[$this->_focus]->hasFrames()) {
                return $this->_frames[$this->_focus]->setFrameFocusByIndex($choice);
            }
        }
        if (($choice < 1) || ($choice > count($this->_frames))) {
            return false;
        }
        $this->_focus = $choice - 1;
        return true;
    }

    /**
     *    Sets the focus by name. If already focused and the
     *    target frame also has frames, then the nested frame
     *    will be focused.
     *    @param string $name    Chosen frame.
     *    @return boolean        True if frame exists.
     *    @access public
     */
    function setFrameFocus($name) {
        if (is_integer($this->_focus)) {
            if ($this->_frames[$this->_focus]->hasFrames()) {
                return $this->_frames[$this->_focus]->setFrameFocus($name);
            }
        }
        if (in_array($name, array_keys($this->_names))) {
            $this->_focus = $this->_names[$name];
            return true;
        }
        return false;
    }

    /**
     *    Clears the frame focus.
     *    @access public
     */
    function clearFrameFocus() {
        $this->_focus = false;
        $this->_clearNestedFramesFocus();
    }

    /**
     *    Clears the frame focus for any nested frames.
     *    @access private
     */
    function _clearNestedFramesFocus() {
        for ($i = 0; $i < count($this->_frames); $i++) {
            $this->_frames[$i]->clearFrameFocus();
        }
    }

    /**
     *    Test for the presence of a frameset.
     *    @return boolean        Always true.
     *    @access public
     */
    function hasFrames() {
        return true;
    }

    /**
     *    Accessor for frames information.
     *    @return array/string      Recursive hash of frame URL strings.
     *                              The key is either a numerical
     *                              index or the name attribute.
     *    @access public
     */
    function getFrames() {
        $report = array();
        for ($i = 0; $i < count($this->_frames); $i++) {
            $report[$this->_getPublicNameFromIndex($i)] =
                    $this->_frames[$i]->getFrames();
        }
        return $report;
    }

    /**
     *    Accessor for raw text of either all the pages or
     *    the frame in focus.
     *    @return string        Raw unparsed content.
     *    @access public
     */
    function getRaw() {
        if (is_integer($this->_focus)) {
            return $this->_frames[$this->_focus]->getRaw();
        }
        $raw = '';
        for ($i = 0; $i < count($this->_frames); $i++) {
            $raw .= $this->_frames[$i]->getRaw();
        }
        return $raw;
    }

    /**
     *    Accessor for plain text of either all the pages or
     *    the frame in focus.
     *    @return string        Plain text content.
     *    @access public
     */
    function getText() {
        if (is_integer($this->_focus)) {
            return $this->_frames[$this->_focus]->getText();
        }
        $raw = '';
        for ($i = 0; $i < count($this->_frames); $i++) {
            $raw .= ' ' . $this->_frames[$i]->getText();
        }
        return trim($raw);
    }

    /**
     *    Accessor for last error.
     *    @return string        Error from last response.
     *    @access public
     */
    function getTransportError() {
        if (is_integer($this->_focus)) {
            return $this->_frames[$this->_focus]->getTransportError();
        }
        return $this->_frameset->getTransportError();
    }

    /**
     *    Request method used to fetch this frame.
     *    @return string      GET, POST or HEAD.
     *    @access public
     */
    function getMethod() {
        if (is_integer($this->_focus)) {
            return $this->_frames[$this->_focus]->getMethod();
        }
        return $this->_frameset->getMethod();
    }

    /**
     *    Original resource name.
     *    @return SimpleUrl        Current url.
     *    @access public
     */
    function getUrl() {
        if (is_integer($this->_focus)) {
            $url = $this->_frames[$this->_focus]->getUrl();
            $url->setTarget($this->_getPublicNameFromIndex($this->_focus));
        } else {
            $url = $this->_frameset->getUrl();
        }
        return $url;
    }

    /**
     *    Page base URL.
     *    @return SimpleUrl        Current url.
     *    @access public
     */
    function getBaseUrl() {
        if (is_integer($this->_focus)) {
            $url = $this->_frames[$this->_focus]->getBaseUrl();
        } else {
            $url = $this->_frameset->getBaseUrl();
        }
        return $url;
    }

    /**
     *    Expands expandomatic URLs into fully qualified
     *    URLs for the frameset page.
     *    @param SimpleUrl $url        Relative URL.
     *    @return SimpleUrl            Absolute URL.
     *    @access public
     */
    function expandUrl($url) {
        return $this->_frameset->expandUrl($url);
    }

    /**
     *    Original request data.
     *    @return mixed              Sent content.
     *    @access public
     */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91福利小视频| 欧美绝品在线观看成人午夜影视| 亚洲精品国产一区二区精华液| 在线播放日韩导航| 成人动漫一区二区三区| 麻豆国产91在线播放| 一区二区三区中文在线| 国产亚洲精品7777| 日韩午夜在线影院| 欧美日韩在线免费视频| 成人黄动漫网站免费app| 韩国一区二区在线观看| 偷拍日韩校园综合在线| 一区二区三区四区高清精品免费观看| 日韩免费视频线观看| 欧美日韩黄色一区二区| 91丨九色porny丨蝌蚪| 国产精品一区二区在线看| 蜜桃精品视频在线| 日韩电影网1区2区| 亚洲综合另类小说| 亚洲欧美日韩中文字幕一区二区三区 | 欧美日韩久久久一区| av午夜一区麻豆| 成人精品免费看| 国产激情视频一区二区在线观看| 久久精品免费看| 日韩精品成人一区二区三区| 性久久久久久久| 亚洲午夜电影网| 亚洲精品v日韩精品| 亚洲另类中文字| 亚洲精品一二三四区| 亚洲日本青草视频在线怡红院| 国产精品国产馆在线真实露脸 | 综合自拍亚洲综合图不卡区| 国产亚洲精品aa午夜观看| 2017欧美狠狠色| 久久久久久久久蜜桃| 久久久久国产精品麻豆ai换脸| 精品国产一区二区三区av性色| 日韩欧美亚洲国产精品字幕久久久| 欧美一级高清片| 日韩欧美一区二区三区在线| 欧美国产成人精品| 国产欧美日韩中文久久| 国产欧美一区二区三区在线看蜜臀| 国产欧美视频一区二区三区| 国产午夜精品久久久久久久| 国产欧美视频一区二区| 亚洲三级免费观看| 一区二区三区成人在线视频| 亚洲国产日韩a在线播放| 亚洲高清免费一级二级三级| 天天做天天摸天天爽国产一区 | 亚洲综合激情网| 亚洲一区在线看| 美国毛片一区二区| 国产成人8x视频一区二区| 成人高清视频在线| 色婷婷精品大视频在线蜜桃视频| 欧美色图天堂网| 欧美成人一区二区| 国产精品天天看| 亚洲国产日韩一区二区| 黄一区二区三区| av资源网一区| 欧美一卡二卡三卡四卡| 中文字幕免费一区| 亚洲成人中文在线| 国产一区美女在线| 色网综合在线观看| 日韩免费视频一区| 18欧美亚洲精品| 日本欧美在线观看| 成人av电影免费在线播放| 欧美日韩中文精品| 国产偷v国产偷v亚洲高清| 亚洲精品国产精品乱码不99| 免费久久99精品国产| 成人午夜视频在线| 制服丝袜亚洲精品中文字幕| 国产人伦精品一区二区| 三级亚洲高清视频| k8久久久一区二区三区 | 国产精品久久久久久亚洲伦| 午夜精品123| 成人午夜私人影院| 亚洲国产成人一区二区三区| 日韩国产精品大片| 成人av午夜电影| 日韩精品中午字幕| 一区二区三区成人| 国产suv精品一区二区三区| 欧美精品丝袜中出| 伊人色综合久久天天人手人婷| 国产真实精品久久二三区| 欧美三级中文字| 国产精品精品国产色婷婷| 美女网站在线免费欧美精品| 色婷婷综合久久久| 久久久久久麻豆| 日韩和欧美一区二区三区| 在线一区二区三区四区五区| 久久精品人人做| 麻豆精品在线观看| 欧美日韩大陆在线| 又紧又大又爽精品一区二区| 成人免费的视频| 久久精品人人做人人综合| 麻豆精品在线播放| 欧美人狂配大交3d怪物一区| 亚洲男人天堂av| 成人精品一区二区三区四区| 欧美成人vr18sexvr| 天堂在线一区二区| 欧美午夜精品电影| 亚洲一区二区在线观看视频| 99热在这里有精品免费| 中文字幕精品一区二区三区精品| 精品一区二区三区欧美| 日韩精品一区二| 男人操女人的视频在线观看欧美| 欧美特级限制片免费在线观看| 亚洲视频免费在线观看| 99久久婷婷国产综合精品| 国产精品亲子乱子伦xxxx裸| 国产毛片精品视频| 久久你懂得1024| 国产精品夜夜嗨| 久久久久久免费网| 丁香网亚洲国际| 中文字幕一区二区日韩精品绯色| 成人高清视频在线| 亚洲三级在线免费| 色噜噜久久综合| 国产精品一区二区在线看| 亚洲精品一区二区精华| 精品一区二区三区免费播放| 欧美mv和日韩mv的网站| 麻豆免费精品视频| 久久久精品天堂| 国产99一区视频免费| 中文字幕中文字幕一区| 色先锋aa成人| 日韩精品高清不卡| 日韩欧美国产午夜精品| 国产在线精品不卡| 国产精品人成在线观看免费| 色婷婷国产精品| 亚洲bdsm女犯bdsm网站| 日韩一区二区三区视频在线| 国产一区二区日韩精品| 国产精品美女久久久久高潮| 一本一道久久a久久精品 | 美女视频免费一区| 久久精品视频网| 一本久久a久久精品亚洲 | 成人午夜又粗又硬又大| 亚洲视频综合在线| 777奇米成人网| 国产精品77777竹菊影视小说| 亚洲色图.com| 日韩精品最新网址| 成人深夜在线观看| 亚洲一区二区三区中文字幕 | 一区二区高清视频在线观看| 777xxx欧美| 成人激情综合网站| 调教+趴+乳夹+国产+精品| 国产午夜三级一区二区三| 91老司机福利 在线| 日韩精品成人一区二区在线| 国产日韩欧美a| 欧美性感一类影片在线播放| 国产一区二区三区精品欧美日韩一区二区三区 | 成人一级片在线观看| 亚洲永久免费av| www激情久久| 欧美日韩日日骚| 国产一区二区伦理| 亚洲一区日韩精品中文字幕| 久久夜色精品国产噜噜av| 欧美影片第一页| 丁香婷婷深情五月亚洲| 日韩中文字幕麻豆| 国产精品久久毛片| 欧美成人bangbros| 在线日韩国产精品| 国产酒店精品激情| 午夜精品久久久久久久 | 亚洲va韩国va欧美va精品| 国产日韩欧美精品电影三级在线| 欧美伦理视频网站| 99re这里都是精品| 国产精品自拍在线| 视频精品一区二区| 亚洲欧洲av另类| 国产日韩精品视频一区| 4hu四虎永久在线影院成人|