Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?php echo $title ?></title>
<meta name="description" content="狗寶">
<meta name="author" content="yiming">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="<?php echo base_url(); ?>assets/css/bootstrap.css" rel="stylesheet"/>
<link href="//" rel="stylesheet">
<link href="<?php echo base_url(); ?>assets/css/salemaster.css" rel="stylesheet" />
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<script src=""></script>
<div id="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<a href="#" class="navbar-brand" ><img src="<?php echo base_url(); ?>assets/img/banner_white.png" alt="banner"/></a>
<div class="collapse navbar-collapse">
<ul id="admin-side-navbar" class="nav navbar-nav side-navbar">
<li<?php echo (empty($page)) ? ' class = "active"' : ''; ?>>
<a href="#">首頁</a>
<li<?php echo ($page == 'tab1') ? ' class = "active"' : ''; ?>>
<a href="#">Tab1</a>
<li<?php echo ($page == 'tab2') ? ' class = "active"' : ''; ?>>
<a href="#">Tab2</a>
<li class="side-collapse">
<a href="#collapse-autction" data-parent="admin-side-navbar" data-toggle="collapse">關於狗寶的愛情故事</a>
<ul id="collapse-autction" class="collapse side-collapse-menu">
<li<?php echo ($page == 'g1') ? ' class = "active"' : ''; ?>>
<a href="#">大一</a>
<li<?php echo ($page == 'g2') ? ' class = "active"' : ''; ?>>
<a href="#">大二</a>
<li<?php echo ($page == 'g3') ? ' class = "active"' : ''; ?>>
<a href="#">大三</a>
<hr class="divider visible-xs"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment