Results 1 to 8 of 8

Thread: Easy PHP Calendar Version 6

  1. #1
    Join Date
    Nov 2009
    Posts
    76,596

    Default Easy PHP Calendar Version 6

    Easy PHP Calendar Version 6


    The Easy PHP Calendar is a powerful PHP calendar script that is easily integrated into web sites and is simple to customize. This attractive, full-featured calendar is suitable for display on a calendar of events page, home page, or any other page that needs a calendar.

    Key Features:

    1.mySQL database support
    2.Flat-file database support - No mySQL server required!
    3.Keep your data on your server
    4.Single events, recurring events and floating events plus multiple categories
    5.Complete and easy event and setup administration
    6.Mouse-over and pop-up event details
    7.Customizable categories and multiple event administrators
    8.Rich event descriptions including font sizes/colors and images


    With the Easy PHP Calendar, you can easily customize colors, font sizes, table sizes and more by adjusting a single CSS file. It's simple to take complete control over the PHP calendar's looks and how it interacts with users! With support for multiple date, time and language formats, the Easy PHP Calendar can be used for anywhere in the world!

  2. #2
    Join Date
    Nov 2009
    Posts
    76,596

    Default Simple PHP Calendar 1.11 description

    Simple PHP Calendar 1.11 description

    Simple PHP Calendar is a a simple, extensible PHP calendar class. The project focuses exclusively on generating an HTML representation for a given month. It is meant to be easily extended for use in other applications, such as input widgets for forms, or full event calendaring applications. Its output is completely customizable via CSS.

    A simple example

    After downloading the class and including it in your PHP script, youre ready to start using it. The constructor requires two paramets, a year and month. The following code produces a very plain looking calendar.
    1 require_once( class.Calendar.php );
    2 $cal = new Calendar (2004, 3 );
    3 echo "".$cal->getFullMonthName().
    4 echo $cal->display();


    Customizing the display

    You can use two methods to change how the calendar is displayed. Use setTableWidth to define how wide to make the table, in pixels or as a percentage of the screen. Use setDayNameFormat to change how weekdays are displayed in the header row using strftime formats.
    1 require_once(class.Calendar.php);
    2 $calendar = new Calendar (2004, 4);
    3 $calendar->setTableWidth(50%);
    4 $calendar->setDayNameFormat(%A);
    5 echo "".$calendar->getBriefMonthName().
    6 echo $calendar->display();


    You can use CSS selectors to control the formatting of all aspects of the calendar, including adding borders and how empty boxes display. Lets wrap our talbe in a div named calendar and use the following styles.
    overall table
    #calendar table {
    border:1px solid #fff;
    padding: 0;
    margin:20px;
    ``````
    /* the day headers across the top
    #calendar th {
    background: #565;
    color: #fff;
    margin: 3px;
    padding: 2px 5px;
    ``````
    /* how days this month will look, make dates appear in top right
    #calendar td {
    background: #eee;
    color: #000;
    padding: 2px;
    margin:0;
    height:60px;
    text-align:right;
    vertical-align:top;
    border:1px solid #fff;


    /* these are the days falling outside this month */
    #calendar td.notInMonth {
    background: #999;

    `````
    Enhancements:
    - The documentation has been polished.
    - An example has been added for extending the class to customize how a calendar grid will display.


    BizHat.com - Health

  3. #3
    Join Date
    Apr 2010
    Posts
    5

    Default

    that greattttttt

  4. #4
    Join Date
    Apr 2010
    Posts
    3

    Default

    Quote Originally Posted by 1amir1 View Post
    that greattttttt
    yes indeed ... good work!

  5. #5
    Join Date
    Nov 2009
    Posts
    76,596

    Default PHP XML Parser Functions

    PHP XML Parser Introduction

    The XML functions lets you parse, but not validate, XML documents.


    XML is a data format for standardized structured document exchange. More information on XML can be found in our XML Tutorial.

    This extension uses the Expat XML parser.

    Expat is an event-based parser, it views an XML document as a series of events. When an event occurs, it calls a specified function to handle it.



    Expat is a non-validating parser, and ignores any DTDs linked to a document. However, if the document is not well formed it will end with an error message.


    Because it is an event-based, non validating parser, Expat is fast and well suited for web applications.


    The XML parser functions lets you create XML parsers and define handlers for XML events.




  6. #6
    Join Date
    Apr 2012
    Posts
    6

    Default

    great thx :)

  7. #7
    Join Date
    Jun 2012
    Posts
    5

    Default

    Although a calendar is not so usefull, you can practice your php skills with this project.

  8. #8
    Join Date
    Nov 2013
    Posts
    6

    Thumbs up

    you done well.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •