Jump to content

Search the Community

Showing results for tags 'store'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Found 3 results

  1. Auction Ima wants to raise funds by running auctions online so every senior member has a chance to bid The auction: Must enable only administration to upload articles for auction and only senior members to bid. Must notify members of their bid and also when another member has outbid them Must be time limited i.e. an ending date/time to the auction can be set. Should have a buy it now functionality which, when used, ends the auction. Could enable bids to be withdrawn (with all appropriate notifications to members and calculations).
  2. Hey all, I'm trying to build a dynamic store opening hours display (see image below) what I have: as you can see on the image above, a red box shows what day it is today. When the store is open 09:00 till 12:00 and 13:00 till 18:00 the red box will change into a green one. When closed a red box appears. Holidays are calculated in PHP Closed days are stored in MYSQL and pulled in php what I still need: I'm searching for a easy and correct way to check if for example today is 17/11/2014 If there is going to be a holiday or a closed day within 7 days. (18,19,20,21,22,23/11/2014) If there is a holiday or closed day within 7days it had to been displayed (Arrow on image) Something like this: if (is_a_holiday == true && Monday) {echo $date_of_holiday} else if (is_closed == true && Monday) {echo $date_of_closed} else {echo $Display_regular_Monday} if (is_a_holiday == true && Thuesday) {echo $date_of_holiday} else if (is_closed == true && Thuesday) {echo $date_of_closed} else {echo $Display_regular_Thuesday} // Other days calculation ... Holidays are callculated this way: <?php// vvvvv HOLIDAYS vvvvv // START$Jaar = date('Y'); // Current Year$dezeweek1 = date('Y/m/d'); // Current Day$dezeweek7 = date('Y/m/d', strtotime("+7 day")); // Current Day + 7 Days$EA = easter_date($Jaar); // Easter This Year$ED = date('j', $EA); // Easter Day$EM = date('n', $EA); // Easter Month$EY = date('Y', $EA); // Easter Year $feestdag_01 = date('Y/m/d', mktime (0,0,0,1,1,$Jaar)); // Newyear$feestdag_02 = date('Y/m/d', mktime (0, 0, 0, $EM, $ED + 1, $EY)); // Easter Monday$feestdag_03 = date('Y/m/d', mktime (0,0,0,5,1,$Jaar)); // Labor Day$feestdag_04 = date('Y/m/d', mktime (0, 0, 0, $EM, $ED + 39, $EY)); // Our Dear Lord Ascension$feestdag_05 = date('Y/m/d', mktime (0, 0, 0, $EM, $ED + 50, $EY)); // Pinkster Monday$feestdag_06 = date('Y/m/d', mktime (0,0,0,7,21,$Jaar)); // Nationale feestdag$feestdag_07 = date('Y/m/d', mktime (0,0,0,8,15,$Jaar)); // Our Dear Lady Assumption$feestdag_08 = date('Y/m/d', mktime (0,0,0,11,1,$Jaar)); // All Hallows$feestdag_09 = date('Y/m/d', mktime (0,0,0,11,11,$Jaar)); // Truce$feestdag_10 = date('Y/m/d', mktime (0,0,0,12,25,$Jaar)); // Christmas $feestdag_15 = date('Y/m/d', mktime (0,0,0,11,18,$Jaar)); // Test Date$feestdag_16 = date('Y/m/d', mktime (0,0,0,11,19,$Jaar)); // Test Date// ^^^^^ HOLIDAYS ^^^^^ // END?> English is not my mother language so if my syntax is not correct I apologize Thank you.
  3. I'm not quite sure where this should go. JavaScript? I have a search bar, below it, results display in a slider of sorts. Picture I could use cookies or a session to remember the slider's position and what entry the user has selected but it seems easier to use a few hidden input fields and simply update them with a little JavaScript. Is there a reason not to do it this way? Providing that the information being stored is relatively harmless (not a password or anything like that).
  • Create New...