<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php echo $title ?> waychar报名</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link href="themes/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="css/mobi.css">
  </head>
  <body>
  <div class="page-group">
      <!-- 你的html代码 -->
      <div class="page">
          <header class="bar bar-nav">
            <div class="nav_back">
               <?php if($back_url){?>
                  <a class="button button-link button-nav pull-left" href="<?php echo $back_url?>"><span class="icon icon-left"></span><</a>
              <?php } 
              ?>
            </div>
            <div class="nav_title">
              <h1 class="title">
  <center>
              <?php
              if($title)
              {
                echo $title;
              }else
              {
                ?>
            <img src="images/logo.png" style="margin-top: 5px;">
              <?php
              }
              ?>
            </center>
                </h1>
            </div>
            <div class="nav_button">
              <?php if($other_button)
              {
                echo $other_button;
               }
            else
              {?>
                  <button class="button pull-right" onclick="location.href='index.php?c=race&action=add'">发布</button>
              <?php } ?>
            </div>
          </header>

          <?php if($c=='' || $c=='home'){ ?>
          <nav class="bar bar-tab">
              <a href="index.php?c=home" style="color: #1d83c2">
                  <i class="fa fa-plus fa-2x"></i><br/>
                  <span class="tab-label">发布</span>
              </a>

              <a  href="index.php?c=race&action=race_q_list">
                  <i class="fa fa-star fa-2x"></i><br/>
                  <span class="tab-label">活动</span>
              </a>
              <a href="index.php?c=home&action=index">
                  <i class="fa fa-user fa-2x"></i><br/>
                  <span class="tab-label">我</span>
              </a>
          </nav>
        <?php } ?>
  