This file contains 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 function update(){ | |
if(Input::has('name')){ | |
$user = Sentry::findUserById(Input::get('pk')); | |
$userGroups = $user->groups()->lists('group_id'); | |
$selectedGroups = Input::get('value'); | |
$groupsToAdd = array_diff($selectedGroups, $userGroups); |
This file contains 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
CSS名詞解釋 | |
::AFTER 指定元素內後面後插入內容 | |
::HOVER 選擇元素並予以stype當滑鼠移入該元素時 | |
::BEFORE 指定元素內前面插入內容 | |
::nth-child(3n+2) 選擇所有從0開始偏移2的元素, 這裡是依序選取 2, 5, 8, 11 ....的元素(由2個元素開始遞加3的元素) |
This file contains 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 | |
use \GameController as GameCtrl, | |
\MainController as MainCtrl, | |
\Su\CooRoute as CooRoute, | |
\AppraisalController as Appraisal, | |
\JumpController as JumpCtrl; | |
class PlayController extends \BaseController | |
{ | |
private static $js, $css, $tip=''; |
This file contains 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 | |
namespace Su; | |
class CooRoute | |
{ | |
private static $_instance = null, | |
$noFoundHandle = null, | |
$_complete = false; | |
This file contains 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
var {}; | |
var version = 2; |
This file contains 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 | |
class ParserPages { | |
public static $app_token = '124546464634646|3d8f4e8993a8abfddfdscxvcxve5'; | |
public static $max_times = 5; | |
public static function api($ins){ |
This file contains 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
$res = ParserPages::get_url_info('http://mydowndown.com/'); | |
print_r($res); | |
$urls = ['http://mydowndown.com/', 'http://google.com', 'http://facebook.com']; | |
$res = ParserPages::get_url_info($urls); | |
print_r($res); |
This file contains 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
/* | |
|---------------------------------------------------------------------------------------------------------- | |
| MF POST API | |
|---------------------------------------------------------------------------------------------------------- | |
|http://fans.tests99.com/api/post_message_new.php?key=*** | |
|---------------------------------------------------------------------------------------------------------- | |
| @param string $_POST['message'] 發佈的訊息 default empty | |
| @param string $_POST['url'] 網址 default empty | |
| @param string $_POST['photo_url'] 指定圖片網址 default empty | |
| @param string $_POST['gid'] 群組id(必填)(複數群組以,隔開) |
This file contains 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
/* | |
|---------------------------------------------------------------------------------------------------------- | |
| MF POST API 新增文章 | |
|---------------------------------------------------------------------------------------------------------- | |
|http://fans.tests99.com/api/v2/create_message.php?key=*** | |
|---------------------------------------------------------------------------------------------------------- | |
| @param string $_POST['message'] 發佈的訊息 default empty | |
| @param string $_POST['url'] 網址 default empty | |
| @param string $_POST['photo_url'] 指定圖片網址 default empty | |
| @param string $_POST['media_url'] 指定圖片網址 default empty |
This file contains 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
◆2019/1/12 | |
新增加了直接使用token綁定FB | |
追加了直接檢查粉專連接狀態的按鈕 | |
◆2018/9/25 | |
中秋假期愉快 | |
IBM系統全面升級為SSL加密型網站 | |
修復了無法授權APP的問題 | |
◆2018/8/02 |
OlderNewer