示例#1
0
"><a href="../about/index.php?m=1">關於悅豪</a></li>
        <li class="<?php 
echo XIF($querystr == "2", "active", "");
?>
"><a href="../news/news_list.php?m=2">最新消息</a></li>
        <li class="<?php 
echo XIF($querystr == "3", "active", "");
?>
"><a href="../rooms/rooms_list.php?m=3">房型介紹</a></li>
        <li class="<?php 
echo XIF($querystr == "4", "active", "");
?>
"><a href="../environment/index.php?m=4">悅豪設施</a></li>
        <li class="<?php 
echo XIF($querystr == "5", "active", "");
?>
"><a href="../contact/index.php?m=5">聯絡我們</a></li>
        <li class="<?php 
echo XIF($querystr == "6", "active", "");
?>
"><a href="../privacy/index.php?m=6">隱私說明</a></li>
        <li class="<?php 
echo XIF($querystr == "7", "active", "");
?>
"><a href="../sitemap/index.php?m=7">網站地圖</a></li>
      </ul>      
      
    </div>
  </div>
</nav>
<!--/header-->
示例#2
0
<!--header-->
<?php 
require_once "config.php";
$m = $_GET["m"];
?>
<div id="header"> <a href="../../index.php">
  <div class="logo"><img src="../../images/logo.png" title="Super 346 Live House"/ class="img-responsive"></div>
  </a>
  <div class="nav-collapse">
    <ul>
      <li class="menu-item"><a href="../news/news_list.php?m=1" class="<?php 
echo XIF($m == 1, "active", "");
?>
">最新消息</a></li>
      <li class="menu-item"><a href="../menu/index.php?m=2" class="<?php 
echo XIF($m == 2, "active", "");
?>
">菜單介紹</a></li>
      <li class="menu-item"><a href="../events/events_list.php?m=3" class="<?php 
echo XIF($m == 3, "active", "");
?>
">特別活動</a></li>
      <li class="menu-item"><a href="../contact/index.php?m=4" class="<?php 
echo XIF($m == 4, "active", "");
?>
">聯絡資訊</a></li>
    </ul>
  </div>
</div>
<!--/header-->
示例#3
0
"><a href="../news/list.php?m=1">最新消息<span class="sr-only">(current)</span></a></li> 			
            <li class="<?php 
echo XIF($m == "2", "active", "");
?>
"><a href="../products/category.php?m=2">产品介紹</a></li>
 			<li class="<?php 
echo XIF($m == "3", "active", "");
?>
"><a href="../location/list.php?m=3">经销据点</a></li>
			<li class="<?php 
echo XIF($m == "4", "active", "");
?>
"><a href="../service_center/index.php?m=4">维修中心</a></li>
            
            <li class="<?php 
echo XIF($m == "5", "active", "");
?>
"><a href="../about/index.php?m=5">关于我们</a></li>
          </ul>
          
          <form class="navbar-form navbar-right" role="search" method="post" action="../../web/search/index.php">
            <div class="form-group">
              <input type="text" class="form-control" placeholder="Search by keyword" name="keyword" id="keyword">
            </div>
            <button type="submit" class="btn btn-default menu_btn"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button>
          </form>
        </div>
      </nav>
    </div>
  </div>
  <!--/nav_bg--> 
				<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="../../index.php">報名系統</a>
			</div>
			
			<!-- Collect the nav links, forms, and other content for toggling -->
			<div class="collapse navbar-collapse navbar-ex1-collapse">
				
				<ul id="tabs" class="nav navbar-nav">
					<!-- <li><a href="../../index.php"><span class="glyphicon glyphicon-home" aria-hidden="true"></span> 首頁</a></li> -->
					<li class="<?php 
echo XIF($_GET["m"] == 1, "active", "");
?>
"><a href="../about/index.php?m=1"><span class="glyphicon glyphicon-comment" aria-hidden="true"></span> 關於我們</a></li>
					<li class="<?php 
echo XIF($_GET["m"] == 2, "active", "");
?>
"><a href="../contact/index.php?m=2"><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span> 聯絡我們</a></li>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> 比賽項目 <b class="caret"></b></a>
						<ul class="dropdown-menu">
							<?php 
$sql = "select * from " . $race_class . " order by `range` asc";
$query = mysql_query($sql);
while ($row = mysql_fetch_array($query)) {
    ?>
								<li id="<?php 
    echo $row["num"];
    ?>
"><a href="?rid=<?php 
    echo $row["num"];
示例#5
0
            <td>
            	<?php 
    //類別資料
    $sql_class = "select * from " . $race_class . "";
    $query_class = mysql_query($sql_class);
    ?>
            
            	<select id="txt_class" name="txt_class" required="required">
				<?php 
    while ($row_class = mysql_fetch_array($query_class)) {
        ?>
                	<option value="<?php 
        echo $row_class["num"];
        ?>
"  <?php 
        echo XIF($row_class["num"] == $team_class, "selected", "");
        ?>
  ><?php 
        echo $row_class["name"];
        ?>
</option>
                <?php 
    }
    ?>
                </select>
            
            </td>
          </tr>
            <tr>
            <th scope="col">管理員</th>
            <td><?php 
示例#6
0
?>
">個人檔案</a>
					  <!-- <a href="#" class="list-group-item <?php 
echo XIF($_SESSION["list_m"] == "1", "myactive", "");
?>
">忘記密碼</a> -->
					  <a href="#" class="list-group-item <?php 
echo XIF($_SESSION["list_m"] == "1", "myactive", "");
?>
">我的隊伍</a>
					  <a href="#" class="list-group-item <?php 
echo XIF($_SESSION["list_m"] == "2", "myactive", "");
?>
">我的盃賽</a>
					  <a href="#" class="list-group-item <?php 
echo XIF($_SESSION["list_m"] == "3", "myactive", "");
?>
">我的訊息</a>
					</div>
				</div>

				<div class="col-xs-7 col-sm-7 col-md-7 col-lg-7">
					<!--[個人檔案]-->
					<div class="table-responsive panel_container">						
						<table class="table">			  
						  <tbody>
						  	<tr>
						  		<td>帳號</td>
						  		<td><?php 
echo $user_account;
?>
示例#7
0
          <ul class="dropdown-menu">
            <li><a href="../about/index.php?m=1">關於我們</a></li>
            <li><a href="../about/enviroment.php?m=1">環境介紹</a></li>           
          </ul>
        
        </li>
        <li class="<?php 
echo XIF($m == 2, "active", "");
?>
" ><a href="../news/news_list.php?m=2">最新消息</a></li>
        <li class="<?php 
echo XIF($m == 3, "active", "");
?>
"><a href="../course/index.php?m=3">課程介紹</a></li>
        <li class="<?php 
echo XIF($m == 4, "active", "");
?>
"><a href="../products/index.php?m=4">產品介紹</a></li>
        <li class="<?php 
echo XIF($m == 5, "active", "");
?>
"><a href="../information/information_list.php?m=5">健康資訊</a></li>
        <li class="<?php 
echo XIF($m == 6, "active", "");
?>
"><a href="../contact/index.php?m=6">聯絡芳林</a></li>
      </ul>
    </div>
  </div>
</nav>
<!--/nav-->