is_member, is_guest, is_admin 코드 선언 위치 변경

This commit is contained in:
gnuboard
2013-03-11 10:50:24 +09:00
parent 38d14032a0
commit c5cee2583b
2 changed files with 24 additions and 33 deletions

View File

@ -1,22 +1,12 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>AJAX 동적 컨텐츠 테스트</title>
<script src="js/jquery-1.8.3.min.js"></script>
</head>
<body>
<?
echo a(2);
<a href="">클릭</a>
<div></div>
function a($b)
{
global $x;
<script>
$(function(){
$('a').click(function(){
$('div').text('클릭되었습니다.');
});
});
</script>
echo $x+$b;
}
</body>
</html>
$x = 1;
?>