Posts

Calender Code "Javascript code that must be at js/src" named builder.js

// script.aculo.us builder.js v1.6.5, Wed Nov 08 14:17:49 CET 2006 // Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) // // script.aculo.us is freely distributable under the terms of an MIT-style license. // For details, see the script.aculo.us web site: http://script.aculo.us/ var Builder = { NODEMAP: { AREA: 'map', CAPTION: 'table', COL: 'table', COLGROUP: 'table', LEGEND: 'fieldset', OPTGROUP: 'select', OPTION: 'select', PARAM: 'object', TBODY: 'table', TD: 'table', TFOOT: 'table', TH: 'table', THEAD: 'table', TR: 'table' }, // note: For Firefox < 1.5, OPTION and OPTGROUP tags are currently broken, // due to a Firefox bug node: function(elementName) { elementName = elementName.toUpperCase(); // try innerHTML approach var parentTag = this.NODEMAP[element

Calender Code "Javascript code that must be at js/lib" named prototype.js

/* Prototype JavaScript framework, version 1.5.0_rc1 * (c) 2005 Sam Stephenson * * Prototype is freely distributable under the terms of an MIT-style license. * For details, see the Prototype web site: http://prototype.conio.net/ * /*--------------------------------------------------------------------------*/ var Prototype = { Version: '1.5.0_rc1', BrowserFeatures: { XPath: !!document.evaluate }, ScriptFragment: '(?: )((\n|\r|.)*?)(?:<\/script>)', emptyFunction: function() {}, K: function(x) { return x }}var Class = { create: function() { return function() { this.initialize.apply(this, arguments); } }}var Abstract = new Object();Object.extend = function(destination, source) { for (var property in source) { destination[property] = source[property]; } return destination;}Object.extend(Object, { inspect: function(object) { try { if (object === undefined) return 'undefined'; if (object === null) return 

Calender Code to be runed in the database named dbase

-- -- Table structure for table `event` -- CREATE TABLE `event` ( `id` int(4) NOT NULL auto_increment, `body` text NOT NULL, `timestamp` int(10) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=14 ; -- -------------------------------------------------------- -- -- Table structure for table `settings` -- CREATE TABLE `settings` ( `id` int(1) NOT NULL auto_increment, `dayColor` varchar(6) NOT NULL, `weekendColor` varchar(6) NOT NULL, `todayColor` varchar(6) NOT NULL, `eventColor` varchar(6) NOT NULL, `iteratorColor1` varchar(6) NOT NULL, `iteratorColor2` varchar(6) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 ; -- -- Dumping data for table `settings` -- INSERT INTO `settings` (`id`, `dayColor`, `weekendColor`, `todayColor`, `eventColor`, `iteratorColor1`, `iteratorColor2`) VALUES (1, 'e6e1d3', 'a0a395', 'ffeb45', 'fa0032', 'e6ffab', 'ffffff'); -- -----------------------------------------

Calender Code file name rpc.php

<?php include('databaseConnection.php'); include('settings.php'); $action = $_POST['action']; switch($action) { case 'startCalendar': $month = $_POST['month']; $year = $_POST['year']; if(($month == 0) || ($year == 0)) { $thisDate = mktime(0, 0, 0, date("m"), date("d"), date("Y")); } else { $thisDate = mktime(0, 0, 0, $month, 1, $year); } echo '<div style="margin-bottom: 3px;"> <form name="changeCalendarDate"> <select id="ccMonth" onChange="startCalendar($F(\'ccMonth\'), $F(\'ccYear\'))">'; for($i=0; $i<=11; $i++) { $monthNumber = ($i+1); $monthMaker = mktime(0, 0, 0, $monthNumber, 1, 1990); if($month > 0) { if($month == $monthNumber) { $sel = 'selected'; } else { $sel = ''; } }

Calender Code of setting.php

<?php include('databaseConnection.php'); // Grab the settings here for use in the script. $getSettings = mysql_query("SELECT * FROM settings WHERE id='1' LIMIT 1"); if($getSettings) { extract(mysql_fetch_array($getSettings), EXTR_PREFIX_ALL, 's'); $dayColor = $s_dayColor; $weekendColor = $s_weekendColor; $todayColor = $s_todayColor; $eventColor = $s_eventColor; $iteratorColor1 = $s_iteratorColor1; $iteratorColor2 = $s_iteratorColor2; } else { die("Could not get settings."); } ?> calender software, calender software reviews, free calender software, hijri calender conversion software, calender software for recurring events and weekend spanning, insert calender events

Database connection code for calender

My file name is databaseConnection.php <?php // Connect to the database. // // localhost = your database server. // YourUsername = your database username. // YourPassword = your database password. // YourDatabase = your database name. // // Alter these settings to your own ones. $conn = mysql_connect('localhost', 'root', ''); mysql_select_db('pabson'); ?> no code database software, free web database code, pill imprint code database, universal product code database, virus source code database, bar code database, free download zip code database, codes for banks for transfers of money and database, database code generator php, free us zip postal codes database, php database code, zip code database, cpt billing code database, cpt code database, firefox kiosk webbrowser control post to database linux code, free zip code database, how to code login page in flex connect to database, how to insert image in mysql database using java code, html code create a

Calender Code

<?php include('databaseConnection.php'); $action = $_POST['action']; switch($action) { case 'login': // Login. $username = stripslashes(trim($_POST['username'])); $password = sha1(stripslashes(trim($_POST['password']))); if(empty($username) || empty($password)) { // Stop, someone tried entering nothing into here. // Show an error. $loginMsg = 'You must enter a username and password'; } else { // The input seems to be ok, check it against the database. $checkDetails = mysql_query("SELECT id FROM user WHERE username='$username' AND password='$password' LIMIT 1", $conn); if($checkDetails) { if(mysql_num_rows($checkDetails) > 0) { setcookie('nodstrumCalendarV2', '1', time()+3600); // Cookie will expire in 1 hour. // $loginMsg = '<span style="color: green">You are logged in<i>!</i></span>'; } else { $loginMsg = 'Your username or password was incorrect