PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of S.Mohammad Salehi   Persian Calendar With Navigation In Month And Year   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: persian calendar Example
Class: Persian Calendar With Navigation In Month And Year
Display Persian month calendars
Author: By
Last change: spell correction
Date: 16 years ago
Size: 662 bytes
 

Contents

Class file image Download
<?php
include "PCalendar.Class.php";
$cal = new PersianCalendar;
?>
<html>
<head>
<title>Persian Calendar With Month And Year Navigation - S.Mohammad Salehi</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
Body {
background-color: #F3EDBE;
font-family: tahoma;
color: #000000;
font-size: 14px;
margin-top: 0;
margin-left: 0
}

a {
    color: #FFFFFF;
    text-decoration: none;
}

a:hover {
   color: #F7FB4A;
   text-decoration: underline;
}

</style>
<?php
$cal
->SetStyle();
?>
</head>

<body>
<div align="center"><?php $cal->ShowPersianCal();?>
</div>
</body>
</html>