This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class MDetail { | |
String announceFolk; | |
String eDateTime; | |
boolean isAnnounce; | |
boolean isSignUp; | |
String loc; | |
long maxJoinNum; | |
String name; | |
String outline; | |
String profileUrl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//首先 | |
private List<Event> myevents; | |
public static ArrayList<LinkedHashMap<String, ?>> myListEvent; | |
//從google api拿資料 | |
Events tmpEvents = client.events().list(myCalendarId). | |
setSingleEvents(true) | |
.setOrderBy("startTime") | |
.execute(); | |
this.myevents = tmpEvents.getItems(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//首先他有一個 | |
private List<Event> myevents; | |
// | |
Events tmpEvents = client.events().list(myCalendarId). | |
setSingleEvents(true) | |
.setOrderBy("startTime") | |
.execute(); | |
this.myevents = tmpEvents.getItems(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# PTX (公共運輸整合資訊流通服務平臺) 的 php 查詢範例 | |
# 詳見: https://newtoypia.blogspot.tw/2018/01/ptx-bash-php.html | |
# 本程式不需要任何外加套件; 但關於 「如何保護私密資訊」, 請見 | |
# http://phpsec.org/projects/guide/3.html | |
# 的 "PHP Cookbook" 那一段 | |
# 如果省略上面步驟, 那就必須把下面的註解打開, | |
# 在程式碼裡填上 id 跟 key (限測試用; 請勿使用真的 id 跟 key!) | |
#$_SERVER['PTX_ID'] = 'FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
mb_parse_str($_SERVER["QUERY_STRING"], $qs); | |
$rid = array_key_exists('rid', $qs) ? $qs["rid"] : ""; | |
$timeformat = array_key_exists('timeformat', $qs) ? $qs["timeformat"] : "0"; | |
$refresh = array_key_exists('refresh', $qs) ? $qs["refresh"] : "0"; | |
$reverse = array_key_exists('reverse', $qs) ? $qs["reverse"] : "0"; | |
$hidecar = array_key_exists('hidecar', $qs) ? $qs["hidecar"] : "0"; | |
$dark = array_key_exists('dark', $qs) ? $qs["dark"] : "0"; | |
$ivrno = array_key_exists('ivrno', $qs) ? $qs["ivrno"] : ""; | |
$stopID = array_key_exists('stopID', $qs) ? $qs["stopID"] : ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="menu"> | |
<li> | |
<a href="#">@(abgne)</a> | |
<ul class="submenu"> | |
<li><a href="http://blog.xuite.net/abgne/diary1" target="_blank">A</a></li> | |
<li><a href="http://www.flycan.com.tw/course/jquery.php" target="_blank">B</a></li> | |
<li><a href="http://www.flycan.com.tw/course/course_javascript.php" target="_blank">C</a></li> | |
</ul> | |
</li> | |
<li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id=\"ManagerAddForm\"> | |
<a href=\"javascript:;\" id=\"btn_selectall\">CheckAll</a> | | |
<a href=\"javascript:;\" id=\"btn_selectall_no\">UnCheckAll</a><br/> | |
<input type=\"checkbox\" name=\"SubModuleID[]\" value=\"123\" class=\"chk\" /> ..1 <br/> | |
<input type=\"checkbox\" name=\"SubModuleID[]\" value=\"223\" class=\"chk\" /> ..2 <br/> | |
<input type=\"checkbox\" name=\"SubModuleID[]\" value=\"323\" class=\"chk\" /> ..3 <br/> | |
<input type=\"checkbox\" name=\"SubModuleID[]\" value=\"423\" class=\"chk\" /> ..4 <br/> | |
<input type=\"checkbox\" name=\"SubModuleID[]\" value=\"523\" class=\"chk\" /> ..5 <br/> | |
</div> | |
<div id=\"ManagerAddForm2\"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#btn_selectall").live('click',function() { | |
$('#ManagerAddForm input:checkbox.chk').each(function(){ | |
this.checked = 'checked'; | |
}); | |
}); | |
$("#btn_selectall_no").live('click',function() { | |
$('#ManagerAddForm input:checkbox.chk').each(function(){ | |
this.checked = ''; | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="js/jquery.js" language="javascript"></script> | |
<style> | |
ul.submenu{display:none;} | |
</style> | |
<script type="text/javascript"> | |
//處理AJAX的JS | |
function showCustomer(str) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="js/jquery.js" language="javascript"></script> | |
<style> | |
ul.submenu{display:none;} | |
</style> | |
<script type="text/javascript"> | |
//處理AJAX的JS | |
function showCustomer(str) |
NewerOlder