<?
if (!isset($_SESSION)) //判斷是否已經開啟SESSION
{
session_start();}//開起SESSION}
$mAccount=$_SESSION['mAccount'];
$mid=$_SESSION['mId'];
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>JUME(Join You And Me)揪咪揪團活動網</title>
<script src='../jQuery/jquery-1.2.6.js' type='text/javascript'></script>
</head>

<body>
<? include("../member/header2.php"); ?>
<? include("../db.php");
$rId=$_GET['rId'];
$str=mysql_query("select take.mId,take.tPhone,take.tEmail,take.tMsn,take.tTraffic,take.tElse,activity.aName,raise.rTitle from take inner join raise inner join activity on take.rId=raise.rId and raise.aId=activity.aId where take.rId='$rId' and take.mId='$mid'");
$row=mysql_fetch_object($str);
echo "Activity:".$row->aName."Raise:".$row->rTitle;
?>

<table border="1" align="center">
  <tr>
    <td>ID</td>
    <td><?=$mAccount?></td>
  </tr>
  <tr>
    <td>MSN</td>
    <td><?=$row->tMsn?></td>
  </tr>
  <tr>
    <td>聯絡電話</td>
    <td><?=$row->tPhone?></td>
  </tr>
    <tr>
    <td>E-mail</td>
    <td><?=$row->tEmail?></td>
  </tr>
  <tr>
    <td>交通方式</td>
    <td><?=$row->tTraffic?></td>
  </tr>
  <tr>
    <td>備註</td>
    <td><?=$row->tElse?></td>
  </tr>
</table>
<div align="center"><a href="show_raise_detail.php?rId=<?=$rId?>">回揪團</a>
</div>
</body>
</html>
