<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ~~~ <?php namespace php\lib; class route { public $controller;//控制器 public $action;//方法 public function __construct() { /* *****.com/index.php/index/index 1.隱藏index.php *****.com/index/index 2.獲取url參數部分 3.返回對應的控制器和方法 */ if (isset( $_SERVER['REQUEST_URI']) && $_SERVER['REQUEST_URI']!='/' ) { $path=$_SERVER['REQUEST_URI']; $patharr=explode('/',trim($path,'/')); if ($patharr['0']=='index.php') { unset($patharr['0']); if (isset($patharr['1'])) { $this->controller=$patharr['1']; } unset($patharr['1']); if (isset($patharr['2'])) { $this->action=$patharr['2']; } unset($patharr['2']); $count=count($patharr)+3; $i=3; while ( $i< $count) { if ($patharr[$i + 1]) { $_GET[$patharr[$i]]=$patharr[$i + 1]; } $i=$i+2; } return $_GET; // print_r($_GET); }else{ if (isset($patharr['0'])) { $this->controller=$patharr['0']; } unset($patharr['0']); if (isset($patharr['1'])) { $this->action=$patharr['1']; } unset($patharr['1']); } }else{ $this->controller='index'; $this->action='index'; } } } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看