Location: PHPKode > scripts > Jalali Calendar > jalali-calendar/demo.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Jalali Calendar</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="Calendar.css" type="text/css" rel="stylesheet" />
<?php
//You can get the Events from Database and put them in this Array
$EventsMatrix = array(
					day=>array('1386-12-2','1386-12-7','1386-12-18','1386-12-29'),
					content=>array('دوم اسفند','هفتم اسفند','هیجدهم اسفند','روز ملی شدن صنعت نفت ایران')
					);
require_once ('CalendarEvents.Class.php');
$CalendarEvents = new CalendarEvents($EventsMatrix);
echo $CalendarEvents->JSoutput;
?>
</head>
<body>
<div style="width:100%;text-align:center;">
<div style="margin: auto; width: 350px;">

	<div><?php include('Calendar.php'); ?></div>
	<div id="taskbox" class="taskboxclass"></div>
	
<div>
</div>
	<br />
	<p style="border-left:1px dotted #ff00cc; padding: 5px 0px 5px 10px;text-align:left;">
		Jalali Calendar (Events Calendar) - Version 1.0<br />Author : Armin Randjbar-Daemi - <a href="http://www.omnistream.co.uk" style="font-size:7pt;">OmniStream&trade;</a>
		<br />License : GNU General Public License (GPL)
	</p>
</body>
</html>
Return current item: Jalali Calendar