PHP Classes

Simple Event calendar: Display calendar with events from a file

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (15)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 42%Total: 2,007 All time: 1,959 This week: 51Up
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
Age: 42
All time rank: 150687 in India India
Week rank: 259 Up16 in India India Up

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  
  • event.jpg
  Files folder image Files  
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

  Files folder image Files  /  admin  
File Role Description
  Plain text file eventdetails.php Appl. Event calendar script
  Plain text file index.php Appl. Event calendar script
  Plain text file login.php Appl. Event calendar script
  Plain text file logoff.php Appl. Event calendar script
  Plain text file mainpage.php Appl. Event calendar script
  Plain text file viewevents.php Appl. Event calendar script

  Files folder image Files  /  lib  
File Role Description
  Plain text file config.php Conf. Event Calendar script
  Plain text file event_list.txt Data Event Calendar script
  Plain text file functions.php Class Event Calendar script
  Plain text file myscript.js Data Event Calendar script
  Plain text file mystyle.css Data Event Calendar script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,007
This week:0
All time:1,959
This week:51Up
User Ratings User Comments (1)
 All time
Utility:60%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:50%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:42%StarStarStar
Rank:3623
 
Nice idea
10 years ago (Kumar S)
62%StarStarStarStar