Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by 鮭魚 ( 13 years ago )
<?php
//----------------- 流程控制區 -------------------//
@$select = $_REQUEST['select'] ;
switch ( $select ) {
case "num_select":
break ;
default:
} // switch
//------------------ 函數區 ----------------------//
function show_item() {
return 'QQ' ;
} // show_item()
function item_db() {
// 取得所有物品清單
include_once( 'item_tokenize.php' ) ;
$allItem = getAllItemList() ;
global $link ;
$main = "
<!DOCTYPE html>
<html lang= 'zh_TW'>
<head>
<link href='css/searchMeme.css' rel='stylesheet' />
[removed][removed]
[removed][removed]
[removed][removed]
[removed]
$(document).ready( function () {
var searchGreen = $( '#search-green' ).searchMeme( { onSearch: function ( searchText ) {
setTimeout( function () {
$( '#dialog-one' ).dialog( 'open' ) ;
searchGreen.searchMeme({ searchComplete: true });
$( '#search-results' ).html( 'You searched for ' + searchGreen.val() + '' ) ;
$( '.result' ).addClass( 'go-green' ).animate({ 'height': 100 }, 500);}, 30 ) ;
}, buttonPlacement: 'left', button: 'green'
});
});
[removed]
[removed]
$( function() {
var wHeight = $( window ).height() ;
var wWidth = $( window ).width() ;
$( '#dialog-one' ).dialog( {
autoOpen: false,
height: wHeight * 0.8,
width: wWidth * 0.8,
draggable: false,
resizable: false,
show: 'fold',
hide: 'fold',
modal: true
}) ;
$( '#open_one' ).click( function() {
$( '#dialog-one' ).dialog( 'close' ) ;
}) ;
}) ;
[removed]
</head>
<body>
<div class='result' id='search-results'>
</div>
<div class='wrapper'>
<div class='demo'>
<input type='text' id='search-green' />
<div class='clear'></div>
</div>
</div>
<div id='dialog-one' title='物品查詢'>
$allItem
<p><button id='open_one' class='btn' autofocus>視窗關閉</button>
</div>
</body>
</html>
" ;
return $main."<br><br>物品資料庫尚未準備就緒<br><br><br><br>" ;
} // item_db()
?>
Revise this Paste