Esempio n. 1
0
<?php
// 使用bigpipe的开关
// 在controller中定义啦
//$nobp = true;
//$nobp = false;

include 'index_bigpipe_inc/index_frame_start.php';
if ($nobp == false) {
    BigPipe::start();

    /*
    // 先出来一部分
    $id = 'top';
    include 'index_bigpipe_inc/pushback_pagelet.php';
    $id = 'marquee_box';
    include 'index_bigpipe_inc/pushback_pagelet.php';
    $id = 'slide';
    include 'index_bigpipe_inc/pushback_pagelet.php';
    $id = 'top_sidebar';
    include 'index_bigpipe_inc/pushback_pagelet.php';
    $id = 'searchdoctor';
    include 'index_bigpipe_inc/pushback_pagelet.php';
    */
    $id = 'thread';
    include 'index_bigpipe_inc/pushback_pagelet.php';
    $id = 'middle_sidebar';
    include 'index_bigpipe_inc/pushback_pagelet.php';
    $id = 'bottom_sidebar';
    include 'index_bigpipe_inc/pushback_pagelet.php';
    $id = 'appointment';
    include 'index_bigpipe_inc/pushback_pagelet.php';