<!DOCTYPE html> <html lang="zh-Hant"> {include file='head.tpl'} <body> <div class="container"> <h1 class="page-header">{$page_title}</h1> <div class="row"> <div class="col-sm-8 col-md-9"> {if $error} {include file='alert_error.tpl'} {/if} {if $op=="regist"} {include file='regist_form.tpl'} {elseif $op=="show_action"} {include file='show_action.tpl'} {elseif $op=="list_action"} {include file='list_action.tpl'} {else} <h2>主內容</h2> {$content} {/if} </div> <div class="col-sm-4 col-md-3"> <h2>嗨!{$my_name}</h2> {if $group=="admin"} {*管理員工具列*} {include file='side_tools.tpl'} {elseif $group=="user"} {*使用者工具列*} {include file='side_tools.tpl'} {else} {include file='side_login.tpl'} {/if} {if $op=="show_action"} {include file='list_signups.tpl'} {/if} </div> </div> </div> <!--BootStrap js--> <script src="class/bootstrap/js/bootstrap.min.js"></script> </body> </html>