PHP Classes

Simple Event calendar: Display calendar with events from a file

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 42%Total: 2,008 All time: 1,958 This week: 52Up
Version License PHP version Categories
eventcalendar 1.0.3GNU General Publi...4.0Time and Date, Content management
Description 

Author

This class can be used to display a calendar with events retrieved from a file.

It can display a calendar of a given month in an HTML table.

The class can read events defined in a file and mark them in the calendar in a different way.

Picture of Manu Abraham
Name: Manu Abraham <contact>
Classes: 1 package by
Country: India India

 

Example

<html>
<head>
<title>Event Calendar</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="lib/mystyle.css" rel="stylesheet" type="text/css">
</head>
<body>
<h2 align="center">Event Calendar</h2>
<?php
   
include("lib/functions.php");
    include(
"lib/config.php");
   
$obj = new eventcal();
   
$curmonth = date("n");
   
$curyear = date("Y");
   
$curday = date("j");
   
$date =$curday.":".$curmonth.":".$curyear;
   
$obj->showMonth($curmonth,$curyear);
   
$obj->todaysevent($date);
?>
<br />
<div align="center"><a href="admin/index.php" target="_blank">Login</a>&nbsp;Developed by <a href="http://manuabraham.info" target="_blank">Manu Abraham</a> &copy;</div>
</body>
</html>


Details

Event calendar ************** This is a script written in php.Here I am not using any database to store the event details. You can download and modify as you like... The administrator can add the events .The default username and password for the administrator section is 'admin' , 'admin' respectively. You can change the Username and password by editing the 'config.php' under the 'lib' directory.. For example , If you are running the script under the local environment The Url to the user section will be http://localhost/eventcal/index.php The Url to the administrator section will be http://localhost/eventcal/admin/index.php Please forward your queries and suggestions to manu@phppals.net manu@manuabraham.info http://manuabraham.info

Screenshots (1)  
  • event.jpg
  Files folder image Files (16)  
File Role Description
Files folder imageadmin (6 files)
Files folder imagelib (5 files)
Plain text file dateevent.php Example Event calendar script
Plain text file index.php Example Event calendar script
Plain text file listmonth.php Example Event calendar script
Plain text file readme.txt Doc. Read me documents

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,008
This week:0
All time:1,958
This week:52Up
User Ratings User Comments (1)
 All time
Utility:60%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:50%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:42%StarStarStar
Rank:3651
 
Nice idea
10 years ago (Kumar S)
62%StarStarStarStar