示例#1
0
function smarty_function_url($params)
{
    if (isset($params['ignore'])) {
        return Swoole\Tool::url_merge($params['key'], $params['value'], $params['ignore']);
    } else {
        return Swoole\Tool::url_merge($params['key'], $params['value']);
    }
}
示例#2
0
}
?>
>
                                        <a href="<?php 
echo Swoole\Tool::url_merge('order', 'id_asc');
?>
">时间升序</a>
                                    </li>
                                    <li <?php 
if (empty($_GET['order']) or $_GET['order'] == 'id_desc') {
    echo 'class="active"';
}
?>
>
                                        <a href="<?php 
echo Swoole\Tool::url_merge('order', 'id_desc');
?>
">时间降序</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </header>
                    <div role="content">

                        <div class="jarviswidget-editbox">

                        </div>

                        <div class="widget-body no-padding">
                            <div class="widget-body-toolbar" style="height: 60px;">