|
|
|
ช่วยแนะนำการใช้ fullcalender ด้วยครับ มันแสดงเป็นภาษาต่างดาวอะครับ เราควรแก้ตรงใหนดี รบกวนด้วยครับ |
|
|
|
|
|
|
|
Code (PHP)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body {
background-image: url(images/bg4.jpg);
background-repeat: repeat;
}
.bodytable {
margin: auto;
height: auto;
width: 800px;
padding-top: 50px;
border-radius: 5px;
border: 1px solid #CCC;
}
body,td,th {
font-family: Tahoma, Geneva, sans-serif;
}
</style>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ปฏิทินกิจกรรมศูนย์การศึกษาพิเศษ ประจำจังหวัดเชียงราย</title>
<!-- Bootstrap core CSS -->
<link href="dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="signin.css" rel="stylesheet">
<link href="theme.css" rel="stylesheet">
<META name=GENERATOR content="MSHTML 8.00.6001.18812">
<script type="text/javascript" src="datetimepicker_css.js"></script>
<link rel='stylesheet' type='text/css' href='fullcalendar/redmond/theme.css' />
<link rel='stylesheet' type='text/css' href='fullcalendar/fullcalendar.css' />
<script type='text/javascript' src='fullcalendar/jquery/jquery.js'></script>
<script type='text/javascript' src='fullcalendar/jquery/jquery-ui-custom.js'></script>
<script type="text/javascript" src="fullcalendar/fullcalendar.min.js"></script>
<script type="text/javascript">
$(function(){
$('#calendar').fullCalendar({
header: {
left: 'month,agendaWeek,agendaDay',
center: 'title',
right: 'prev,next today'
},
//editable: true, ??????????????????
theme:true,
events: "getCalendar2.php?gData=1",
loading: function(bool) {
if (bool) $('#loading').show();
else $('#loading').hide();
}
});
});
</script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">ทะเบียนคุมไปราชการผู้อำนวยการ</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="main.php">หน้าแรก</a></li>
<li > <a href="#"></a></li>
<li><a href="login.php">เข้าระบบ</a></li>
</ul>
</div>
<div id="navbar" class="navbar-collapse collapse">
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="bodytable">
<table class="table" width="100%">
<tr>
<td width="3%" align="right"> </td>
<td width="95%" align="center"><h2>Spcr_Calendar</h2></td>
<td width="2%"> </td>
</tr>
<tr>
<td align="right"> </td>
<td align="center"><h3>ตารางปฏิทินกิจกรรม</h3></td>
<td> </td>
</tr>
<tr>
<td align="right"> </td>
<td align="right"><div align="center" id="calendar"></div></td>
<td> </td>
</tr>
<tr>
<td align="right"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</div>
</body>
</html>
Tag : PHP
|
|
|
|
|
|
Date :
2016-05-18 16:50:14 |
By :
nayrock |
View :
871 |
Reply :
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Encoding ไฟล์เป็น UTF-8
|
|
|
|
|
Date :
2016-05-18 20:10:45 |
By :
Who am i |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 03
|