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
function smarty_function_myshoes_list | |
{ | |
$tag = '<option value="%s">%s</option>'; | |
$root = XCube_Root::getSigleton(); | |
$handler = Legacy_Utils::getModuleHandler('page', 'shoes'); | |
$cri = Xcck_Utils::getListCriteria('shoes'); | |
$cri->add(new Criteria('uid', $root->mContext->mXoopsUser->get('uid'))); | |
$objs = $handler->getObjects($cri); | |
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
<html> | |
<head> | |
<!-- 以下の showCards() function を実装すること --> | |
<script type="text/javascript"> | |
function showCards(size, serial) { | |
return "S1"; | |
} | |
</script> | |
</head> | |
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
function getPowers() | |
{ | |
// 元データとなる json ファイルを指定 | |
filepath = "/Users/kilica/6-1-Powers.json"; | |
fileObj = new File(filepath); | |
flag = fileObj.open("r"); | |
if (flag == true) { | |
powerText = fileObj.read(); |
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 | |
$list = new RandomStringList(1000, 4); | |
$list->output(); | |
class RandomStringList | |
{ | |
// remove l,I,O,0,1 | |
const CHARACTERS = "abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789"; |