可以到 http://www.bgo.com.tw 下載 ~~





















var oTable = $('#data-table').dataTable();
var iPage = Math.ceil( oTable.fnSettings()._iDisplayStart / oTable.fnSettings()._iDisplayLength )
oTable.fnPageChange(iPage);
class getClinet {
public function __construct(){
$this -> browser = get_browser(null,true);
}
/************************************************************
取得客戶端瀏覽器
************************************************************/
public function get_client_browser ($security = false) {
return $this -> browser["browser"];
}
/************************************************************
取得客戶端瀏覽器版本
************************************************************/
public function get_client_browser_version ($security = false) {
return $this -> browser["version"];
}
/************************************************************
取得客戶端作業系統
************************************************************/
function get_client_os ($security = false) {
return $this -> browser["platform"];
}
}

case "T": //$val = $zthis->DBTimeStamp($arrFields[$fname]); $val = "'".$arrFields[$fname]."'"; break;


<button type="button" onclick="Call_711_Map();">
選取 7-11 門市
</button>
<script type="text/javascript">
function Call_711_Map(){
window.open("711.map.response.php","response_711_windows","width=1003,height=590")
}
</script>
<form method="post" name="map">
訂單編號:<input type="" name="tempvar" value="" /><br />
門市店號:<input type="" name="storeid" value="" /><br />
門市名稱:<input type="" name="storename" value="" /><br />
門市地址:<input type="" name="address" value="" /><br />
合作模式:<input type="" name="servicetype" value="" /><br />
是否離島:<input type="" name="outside" value="" /><br />
</form>
<form action="http://202.168.204.210/EC3G829/emap/eServiceMap.php" name="map" method="post">
<input type="hidden" name="eshopid" value="310" />
<input type="hidden" name="servicetype" value="1" />
<input type="hidden" name="url" value="http://Your_IP/711.map.response.php" />
<input type="hidden" name="tempvar" value="20120801001" />
<input type="hidden" name="storeid" value="950985" />
<input type="hidden" name="display" value="page" />
<input type="hidden" name="charset" value="big5" />
</form>
<?php
if(!$_POST["storeid"]){
?>
<script type="text/javascript">
document.map.submit();
</script>
<?php
}else{
?>
<script type="text/javascript">
opener.window.document.map.tempvar.value = "<?php echo $_POST["tempvar"];?>";
opener.window.document.map.storeid.value = "<?php echo $_POST["storeid"];?>";
opener.window.document.map.storename.value = "<?php echo $_POST["storename"];?>";
opener.window.document.map.address.value = "<?php echo $_POST["address"];?>";
opener.window.document.map.servicetype.value = "<?php echo $_POST["servicetype"];?>";
opener.window.document.map.outside.value = "<?php echo $_POST["outside"];?>";
window.close();
</script>
<?php
}
?>


// 基本設定
$facebook = new Facebook(array(
'appId' => 'YOUR_APP_ID',
'secret' => 'YOUR_APP_SECRET'
));
// 取得登入使用者 ID
$user = $facebook -> getUser();
// 宣告 FQL
$params = array(
'method' => 'fql.query',
'query' => "SELECT uid2 FROM friend WHERE uid1=".$user
);
// 呼叫 API
$friends = $facebook -> api($params);
// 列出資料
foreach ($friends as $key => $value){
echo $value["uid2"];
}
<script type="text/javascript">
// 按讚後執行動作
FB.Event.subscribe('edge.create', function(response) {
top.location.href = "YOUR_APP_URL";
});
// 取消讚後執行動作
FB.Event.subscribe('edge.remove', function(response) {
top.location.href = "YOUR_APP_URL";
});
</script>
<script src="jquery.zrssfeed.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#box').rssfeed('http://www.cwb.gov.tw/rss/forecast/36_02.xml');
});
</script>
if(entry.title.indexOf("一週天氣") > -1){
html += entry.content;
}
$("#subMenu li").hoverIntent(function(e) {
$(this).find("div").slideDown();
}, function(e){
$(this).find("div").hide();
});