$display_range[1]) && $_SESSION["user"]["user_id"]!="1" && $_SESSION["user"]["user_id"]!="2" && $fishing_diary_id!='') header ("location:index.php"); // Inlclude the neccessary modules $_PAGE['title'] = 'Fishing & Scuba Diving Diary 傑仔的釣魚和浮潛日記 '; $_PAGE['meta_keywords'] = '釣魚 船釣 艇釣 釣點 沉船位 青班 石班 西貢 艇家 魚餌 魚獲圖片 釣魚短片 釣魚電影 魚絲 魚鉤 呔魚 排口 大蝦 八爪 三們仔 塔門'; $page_marquee=' This page is written in Chinese language.     Fishing, Diving, lots of fun !     放生BB魚,保護大自然,大家齊響應! Protect the natural environment.'; $_page_top_banner='top_banner.jpg'; $site_helper='5.gif'; echo $_USER['browser']; //$_page_activate_moving_menu=1; $_page_disable_research_conference_list=1; $_page_is_fishing=1; $_page_fish_uncle='left'; $_page_selected_diary='right'; $_page_fish_search='right'; $_page_place_search='right'; $_page_fish_uncle_boat='right'; $_page_fish_chattabox='right'; include '../modules/default.inc'; $_SESSION["message"]=''; $_SESSION["user"]["site_helper"]=''; if ($fishing_diary_id!="") echo ""; else echo ""; // Include the page banner //$page_banner_no_bgcolor=0; //$page_banner='fishing.jpg'; //include '../modules/page_banner.inc'; if ($_SESSION["user"]["user_id"]!="1" && $_SESSION["user"]["user_id"]!="2"){ if ($with_hunting=='Y'){ if (trim($display_year)=='') $query = "select display_content,day,month,year,place,image_source,time,title,get,fishing_diary_id,title_image,have_photo,have_movie from `fishing_diary` where display='Y' and diary_type='kit' order by priority desc limit ".$_fishing_diary_display_no_of_entry; else $query = "select display_content,day,month,year,place,image_source,time,title,get,fishing_diary_id,title_image,have_photo,have_movie from `fishing_diary` where fishing_diary_id>='".$display_range[0]."' and fishing_diary_id<='".$display_range[1]."' and display='Y' and year='".$display_year."' and diary_type='kit' order by priority desc"; }else{ if (trim($display_year)=='') $query = "select display_content,day,month,year,place,image_source,time,title,get,fishing_diary_id,title_image,have_photo,have_movie from `fishing_diary` where display='Y' and with_hunting='".$with_hunting."' and diary_type='kit' order by priority desc limit ".$_fishing_diary_display_no_of_entry; else $query = "select display_content,day,month,year,place,image_source,time,title,get,fishing_diary_id,title_image,have_photo,have_movie from `fishing_diary` where fishing_diary_id>='".$display_range[0]."' and fishing_diary_id<='".$display_range[1]."' and display='Y' and with_hunting='".$with_hunting."' and year='".$display_year."' and diary_type='kit' order by priority desc"; } }else{ if (trim($display_year)=='') $query = "select display_content,day,month,year,place,image_source,time,title,get,fishing_diary_id,title_image,have_photo,have_movie from `fishing_diary` where diary_type='kit' order by priority desc limit ".$_fishing_diary_display_no_of_entry; else $query = "select display_content,day,month,year,place,image_source,time,title,get,fishing_diary_id,title_image,have_photo,have_movie from `fishing_diary` where year='".$display_year."' and diary_type='kit' order by priority desc"; } $result = mysql_query($query,$db_link) or die("Query failed : Failed to select the fishing diary from database"); while ($line=mysql_fetch_array($result, MYSQL_ASSOC)) $fishing[count($fishing)]=$line; mysql_free_result($result); if ($fishing_diary_id!=""){ if ($_SESSION["user"]["user_id"]!="1" && $_SESSION["user"]["user_id"]!="2"){ if ($with_hunting=='Y') $query = "select * from `fishing_diary` where fishing_diary_id='".$fishing_diary_id."' and display='Y' and diary_type='kit' "; else $query = "select * from `fishing_diary` where fishing_diary_id='".$fishing_diary_id."' and display='Y' and with_hunting='".$with_hunting."' and diary_type='kit' "; }else $query = "select * from `fishing_diary` where fishing_diary_id='".$fishing_diary_id."' and diary_type='kit' "; $result = mysql_query($query,$db_link) or die("Query failed : Failed to select the fishing diary from database"); while ($line=mysql_fetch_array($result, MYSQL_ASSOC)) $fishing_message=$line; mysql_free_result($result); } /* echo "\n"; echo ""; echo "
Hello 各位好!
又有一件事希望大家幫幫忙了, 我們有2張$4,000 勝景旅遊 S.K.Y. Travel 的Coupons.
可以用來訂機票,book酒店,旅行團等一切消費,
可惜傑仔和家人未能抽出時間去旅行...Coupons不能使用了...
使用Coupons的最後期限是31-3-2007, 不過都可以用來book之後的機票., 真的不想浪費喔....
如果您有興趣, 我們可以以平價出讓給您,
請send email 去 kit[dot]fishing[at]gmail[dot]com 聯絡吧!
Thank you
\n"; */ // Declare if ok to watch Spearfishing content echo "\n"; echo ""; echo "
"; $page_banner_no_bgcolor=0; $page_banner='diving2.jpg'; include '../modules/page_banner.inc'; //if ($_SESSION["user"]["user_id"]=="1") include $server_path.'/fishing/index_introduction_module.inc'; // NEWS //title_line("最新消息","news"); echo "\n"; echo "\n"; echo "
\n"; echo "\n"; echo ""; echo "
時間消息
"; ?>
"; // ==================== My Fishing Diary ======================== title_line("釣魚和潛水歷險旅程 ".$display_year,"Fishing Diary"); echo "\n"; echo ""; echo ""; else echo "顯示 / 不顯示 內容包含獵魚活動的日記."; echo "
顯示"; for ($i=(int)date('Y') ; $i>=2004 ; $i--){ if ($display_year==$i) echo "".$i." "; else echo "".$i." "; } echo "年的美好回憶."; if ($with_hunting=='Y') echo "顯示 / 不顯示 內容包含獵魚活動的日記.
\n"; $color_flag=1; echo "\n"; echo "\n"; echo "
時間地點主題收穫詳情
"; for ($i=0 ; $i
\n"; echo "\n"; if ($color_flag==1){ echo "\t\n"; $color_flag=2; } else{ echo "\t\n"; $color_flag=1; } echo ""; echo ""; echo ""; if (strlen($fishing[$i]["get"])>33) echo ""; else echo ""; echo ""; echo""; echo "
".$fishing[$i]["day"]."-".$fishing[$i]["month"]."-".$fishing[$i]["year"]."
".$fishing[$i]["time"]."
".$fishing[$i]["place"]."".$fishing[$i]["title"]."".substr($fishing[$i]["get"],0,37)."...".$fishing[$i]["get"].""; if ($fishing[$i]['display_content']=='Y' || $_SESSION["user"]["user_id"]=="1") echo ""; // Select random one out of the # of pics provided $fishing_pic_array=split(',',$fishing[$i]["title_image"]); $fish_pic_key=rand(0,count($fishing_pic_array)-1); $fishing[$i]["title_image"]=$fishing[$i]["image_source"].$fishing_pic_array[$fish_pic_key]; if ($fishing[$i]['display_content']=='Y'|| $_SESSION["user"]["user_id"]=="1") echo "詳情"; else echo "未公開的日記"; if ($fishing[$i]['display_content']=='Y'|| $_SESSION["user"]["user_id"]=="1") echo ""; echo "
"; if ($fishing_diary_id==$fishing[$i]["fishing_diary_id"]) echo "
\n"; } echo ""; // Include right panel for the fishing site include '../modules/fishing_right_panel.inc'; echo ""; echo ""; echo ""; $_PAGE['keywords_search_list_no_of_words']=4000; $_PAGE['keywords_search_list_range_low']='START_OF_FISHING'; $_PAGE['keywords_search_list_range_high']='END_OF_FISHING'; // Inlclude the neccessary close module include '../modules/default_close.inc'; ?>