return $lv; } // -------------------------------------------------- function get_LvPa($ex1, $ex2) { return floor($ex1 / $ex2 * 100); } function get_LvMoney($LV) { return 100 + 10 * ($LV - 1); } ?> </head> <body style="background-image: url('images/apply-bg.jpg')"> <?php topNavBarLogin(101); ?> <div class="container" style="margin-top: 50px;"> <div class="page-header"> <h1> <span class="glyphicon glyphicon-user" aria-hidden="true"></span> <?php echo $result['Name']; ?> </h1> </div> <div class="row"> <div class="col-md-3"> <button class="btn btn-primary fa fa-tachometer" type="button" style="font-size: 40px"> 泛舟等級 <span class="badge" style="font-size: 40px"><?php
$row = @mysql_query("SELECT * FROM `info` WHERE `ID` = '" . $_SESSION['userID'] . "' "); if (!($result = @mysql_fetch_array($row))) { echo "<script>\n\t\t\t\talert('請先登入'); window.location = 'log.weblogin.php';\n\t\t\t</script>"; exit; } $Permit = $result['Permission']; ?> <!DOCTYPE HTML> <html> <head> <title>亞洲泛舟網</title> <meta charset="UTF-8"> </head> <body style="background-image: url('images/mag-bg.jpg'); color:lightgray"> <?php topNavBarLogin(201); ?> <div class="container slideUp" style="margin-top: 80px;"> <div class="page-header"> <h1 style="text-align: center;"> <i class="fa fa-asterisk"></i> <span style="font-weight: bold">密碼更改</span> <i class="fa fa-asterisk"></i> </h1> </div> <form class="form-horizontal" action="mag.changePW.php" method="post"> <div class="form-group form-group-lg"> <label for="inputPassword1" class="col-sm-3 control-label">Current Password</label> <div class="col-sm-7"> <input type="password" class="form-control" name="PW_current" placeholder="目前密碼" required> </div>
if ($riveID == -1) { $rsl = @mysql_query("SELECT competition.matchID, river.Name, competition.difficulty, competition.price, \n\t\tcompetition.maxPeople, competition.matchDate FROM competition, river WHERE river.No = competition.riverID\n\t\tAND competition.status = 0 AND competition.matchDate >= NOW()"); } else { $rsl = @mysql_query("SELECT competition.matchID, river.Name, competition.difficulty, competition.price, \n\t\tcompetition.maxPeople, competition.matchDate FROM competition, river WHERE river.No = competition.riverID\n\t\tAND competition.status = 0 AND competition.matchDate >= NOW() AND competition.riverID = " . $riveID); } $num = mysql_num_rows($rsl); ?> <!DOCTYPE HTML> <html> <head> <title>亞洲泛舟網</title> <meta charset="UTF-8"> </head> <body style="background-image: url('images/apply-bg.jpg'); height:100%"> <?php topNavBarLogin(102); ?> <div class="container" style="margin-top: 50px"> <h1 style="font-weight: bold">線上泛舟報名</h1> <table id="myTable" class="table table-hover" style="font-size: 18px; font-weight: bold"> <thead> <tr> <th>泛舟梯次</th> <th>泛舟河流</th> <th>泛舟難度</th> <th>報名費用</th> <th>報名人數</th> <th>泛舟日期</th> <th></th> </tr> </thead>
<?php include 'fun.inc.php'; include 'php/mysql_conn.php'; ?> <!DOCTYPE HTML> <html> <head> <title>亞洲泛舟網</title> <meta charset="UTF-8"> <link rel="canonical" href="http://codepen.io/petertoth/pen/BtGkp"> <link rel="stylesheet" type="text/css" href="css/logUI.css"> </head> <body> <?php topNavBarLogin(5); ?> <div class="login slideUp" style="margin: 13% auto 33% auto"> <div class="heading"> <h2>Sign Up</h2> <form action="log.signup.php" method="POST"> <div class="input-group input-group-lg"> <span class="input-group-addon"><i class="fa fa-child"></i></span> <input type="text" name="name" class="form-control" placeholder="姓名" required> </div> <div class="input-group input-group-lg"> <span class="input-group-addon"><i class="fa fa-user"></i></span> <input type="text" name="acc" class="form-control" placeholder="使用者ID(須至少6位數)" required> </div> <div class="input-group input-group-lg"> <span class="input-group-addon"><i class="fa fa-lock"></i></span>
<?php include 'fun.inc.php'; include 'php/mysql_conn.php'; ?> <!DOCTYPE HTML> <html> <head> <title>亞洲泛舟網</title> <meta charset="UTF-8"> </head> <body style="background-image: url('images/apply-bg.jpg')"> <?php topNavBarLogin(105); ?> <div class="container" style="margin-top: 80px;"> <h1>關於泛舟</h1> <form action="home.aboutRafting.php" method="post"> <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">泛舟選擇</button> <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">救生衣選擇</button> </form> </div> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
if(document.getElementsByName("selecttype")[0].value=="") alertStr +="*請填寫泛舟選擇\n"; if(document.getElementsByName("actmoney")[0].value=="") alertStr +="*請填寫活動費用\n"; if(document.getElementsByName("lastfive")[0].value=="") alertStr +="*請填寫匯款末五碼\n"; if(document.getElementsByName("payment")[0].value=="") alertStr +="*請填寫匯款金額\n"; if( alertStr != "" ) { alert( alertStr ); return false; } return true; } </script> </head> <body style="background-image: url('images/river-bg.jpg')"> <?php topNavBarLogin(103); ?> <div class="container" style="margin-top: 50px;"> <h1>線上報名</h1> <form id="myform" name="myform" onSubmit="return check();" action="home.order.php" method="post"> <table border="1" cellspacing="0" cellpadding="0" width="100%" style="background: white"> <thead> <tr> <td colspan="2" style="color: #3333FF; background: #3366FF; color: #fff;">步驟一、泛舟行程專案</td> </tr> <tr> <td colspan="2"><p> 線上報名注意事項: <br /> 1.註明泛舟船種及其他行程(選擇其他旅遊行程,請附上行程表) <br />
include 'php/mysql_conn.php'; include 'fun.inc.php'; include 'fun.dataTable.php'; $rsl = mysql_query("SELECT * FROM river WHERE 1"); $num = mysql_num_rows($rsl); ?> <!DOCTYPE HTML> <html> <head> <title>亞洲泛舟網</title> <meta charset="UTF-8"> </head> <body style="background-image: url('images/river-bg.jpg')"> <?php topNavBarLogin(104); ?> <div class="container" style="margin-top: 40px;"> <h1 class="bg-primary" style="font-weight: bold; padding:5px">自己泛的河自己挑</h1> <table id="myTable" class="table table-striped table-hover" style="background: white"> <thead> <tr> <th>編號</th> <th>水系名</th> <th>幹流長度</th> <th>流域面積</th> <th>平均流量</th> <th>發源地</th> <th>出海地</th> <th>流經縣市</th>