統計
| ブランチ: | リビジョン:

pictcode / app / View / Programs / display_program.ctp @ 48ae03cf

履歴 | 表示 | アノテート | ダウンロード (757 Bytes)

1 b3a58ce1 hasse
<?php 
2
	
3
	$val = json_decode('{"blocks":[{"name":"tap_enable","position":{"x":0,"y":0},"values":[true,0],"isVars":[false,false],"topLinkId":"link_0","bottomLinkIds":["link_1"]},{"name":"wait","position":{"x":1.0581813203458523e-16,"y":-0.757},"values":[0.5,0],"isVars":[false,false],"topLinkId":"link_1","bottomLinkIds":[null]},{"name":"rotate_right","position":{"x":0.6014999999999999,"y":0.757},"values":[1.2,90],"isVars":[false,false],"topLinkId":null,"bottomLinkIds":["link_0"]}],"sprites":[]}');
4
var_dump($val);
5
	echo $this->Html->image("img/btn_header_005.png", array(
6
	    "alt" => "image",
7
		// "onclick" => "saveProgram($val);",
8
		'url' => array('controller' => 'Programs', 'action' => 'add_program')
9
	));
10
	
11
	// echo '<ul id="result"></ul>';
12
13
14
15
?>