Ikhalenda yeBootstrap eneJQuery

ikhalenda ye-bootstrap Siya sichukumiseka ngakumbi luluntu olukhulu olujikelezayo I-Bootstrap, isakhelo esaziwayo seCSS , Yenziwe yi-Twitter. Ngeli xesha ndikubonisa ikhalenda esekwe eBootstrap Idweliswe ngeJavascript kunye neJQueryUkongeza, ndiza kuchaza ngokweenkcukacha inxenye yokusebenza kwekhalenda kwaye ndiza kongeza amanye amaqhinga kunye nophuculo onokulwenza.

Le khalenda yeBootstrap inoyilo olucocekileyo kwaye iphelele noluphendulayo, iya kubonakala ilungile kuzo zonke izixhobo! Ikwabandakanya ukuguqulelwa kwiilwimi ezingaphezu kwe-7 nabo bonke Imihla yokubhiyozela ilizwe ngalinye icacisiwe kwaye iqatshelwe. Ubunewunewu!

Ukusebenza kwale Khalenda yeBootstrap kunzima kakhulu, kuyikhupha imihla yomsebenzisi kwifayile yeJSON ekuqaleni, kodwa, ngokukodwa kubasebenzisi be-Intanethi ze-Intanethi, ndiza kuchaza khipha izehlo kwiziko ledatha le-MYSQL ukumiliselwa kwayo ngokugqibeleleyo kuyo nayiphi na inkqubo.

Inkqubo yedatha eyaziwayo

Inkqubo yedatha eyaziwayo

Imisebenzi yeefayile eziphambili zesicelo:

INDEX.HTML

  • I-Bootstrap 2.3.2 iyalayisha
  • Uyilo lweKhalenda
  • Uluhlu lweZenzo
  • Ukuhambahamba kwiKhalenda
  • Ukujonga okwahlukileyo kweKhalenda (Usuku / iVeki / iNyanga / uNyaka)
  • Ukufaka isicelo kwiJS
  • Ukukhethwa kolwimi

INDEX-BS3.HTML

  • I-Bootstrap 3.0 iyalayisha
  • Uyilo lweKhalenda
  • Uluhlu lwemicimbi
  • Ukuhambahamba kwiKhalenda
  • Iimbono ezahlukileyo zekhalenda (Usuku / iveki / inyanga / unyaka)
  • Ukufaka isicelo kwiJS
  • Ukukhethwa kolwimi

IZIGANEKO.JSON.PHP

  • Uluhlu lweziganeko ezinedatha elandelayo:
    • i-id: Isichongi somsitho
    • isihloko: isihloko somsitho
    • url: url yomsitho
    • iklasi: Uhlobo lomsitho (info | isilumkiso |…) ngemibala elandelayo.
    • qala: umhla wokuqala
    • isiphelo: umhla wokupheliswa

I-APP

  • Izinto ezigcina ubumbeko lwesicelo.
  • Imisebenzi eyongezelelweyo yeJQuery

IKHALENDA.JS

  • Useto oluphambili lwesicelo
  • Imisebenzi ephambili yeKhalenda
  • Ukukhutshwa kunye nokunyangwa kweziganeko
  • Imihla yemibhiyozo
  • UkuLayishwa koLwimi
  • Ukulayisha uluhlu lweziganeko
  • Ukulayisha iimbono ezahlukeneyo zeKhalenda (Usuku / iVeki / iNyanga / uNyaka)

IKHALENDA.CSS

  • Izitayile zeKhalenda
  • Izimbo zoluhlu lomsitho
  • Izitayile zekhalenda zezinye izixhobo

Khupha imicimbi kwiziko ledatha

Ukukhupha imicimbi kwiziko ledatha le-MYSQL siza kuthatha indawo yemigca yefayile imicimbi.json.php ngu:

<?php

$link=mysql_connect("localhost", "usuariodeacceso", "contraseñadeacceso");
mysql_select_db("basededatos",$link) OR DIE ("Error: No es posible establecer la conexión");
mysql_set_charset('utf8');

$eventos=mysql_query("SELECT * FROM events'",$link);

while($all = mysql_fetch_assoc($eventos)){
$e = array();
$e['id'] = $all['id'];
$e['start'] = $all['inicio'];
$e['end'] = $all['final'];
$e['title'] = $all['nombre'];
$e['class'] = $all['clase'];
$e['url'] = $all['url'];
$result[] = $e;
}

echo json_encode(array('success' => 1, 'result' => $result));

?>

Github | Ikhalenda yeBootstrap

Khuphela | Ikhalenda yeBootstrap

Ulwazi oluthe kratya | I-Bootstrap: Isakhelo seCSS


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Izimvo ezi-14, shiya ezakho

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   UDavid Z sitsho

    njengoko ndikhangela ikhowudi uSergio

    1.    USergio Ródenas sitsho

      Ikhowudi sele ikhangelwe! Inye kuphela into, kuya kufuneka wenze itafile «imicimbi» kwindawo yogcino lwedatha ngale mihlaba ilandelayo: {id | ikhaya | isiphelo | igama | iklasi | url} kwaye uqwalasele ukufikelela kwindawo yogcino lwedatha yakho!

      1.    ros sitsho

        Ndizitshintshile ezo zinto zixabisekileyo zabanye, kwaye indivumele ukuba ndongeze umcimbi kwiziko ledatha yam, kodwa andiboni kubonakala kwikhalenda. Kwaye ndingayifumana njani kwakhona idatha yeziganeko ngokuxhomekeke kumhla ndicofa kwikhalenda?

  2. Ukwenza nokwenza ukwenziwa kweziganeko, emva koko kufuneka kwenziwe ugcino lwedatha, kodwa malunga nokuba ndinokufaka imicimbi kuyo kwaye ngokungagqibekanga ulwimi luye kwiSpanish kuba ichazwa njengesiNgesi ngokungagqibekanga

    1.    USergio Ródenas sitsho

      Ukungagqibeki ulwimi kwiSpanish, kungcono ukubuyisela imitya esele ikho kwifayile yolwimi lwaseSpain kunye nesiNgesi kwifayile yekhalenda. Nangona kunjalo, zikho ezinye iindlela ezicocekileyo, onokuzifumana kwiwebhusayithi ephambili yeskripthi okanye kuluntu lwaseGithub, oluqhotyoshelwe kwesi sithuba.
      Kwakhona, ndiza kuzama ukufaka iposti entsha kwiiveki ezimbalwa apho ndiza kuchaza indlela yokwenza ukufakwa kweziganeko kwindawo yogcino lwedatha.

  3. Enkosi kakhulu, ndiyayixabisa iposti yokufaka imicimbi :)

  4.   UJayire sitsho

    molo ndinengxaki xa ndilungisa yonke into ukuze ndinxibelelane ndikhuphe idatha yam kwiziko ledatha ayibonisi imicimbi

  5.   diego sitsho

    ayifaki umsitho kwiziko ledatha

  6.   Gonza sitsho

    Ngaba ungathumela ukuba ungayifaka njani imicimbi? Kwimihlaba yokuqala neyokuphela luhlobo luni lweedatha? isitampu sexesha? kukho "0" okuseleyo, kufuneka ndifake kwaye ndikwazi ukuhlela imicimbi. Enkosi

  7.   Lwesine sitsho

    YENZA INGXELO YONYAKA UKUBA AKUKHO 'bootstrap_calendar` / *! 40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_spanish_ci * /;
    SEBENZISA `bootstrap_calendar`;
    Indawo yokulahla iMySQL 10.13 Distrib 5.6.13, yeWin32 (x86)
    -
    Umgcini: 127.0.0.1 Isiseko sedatha: bootstrap_calendar
    - ————————————————————
    Inguqulelo yeseva 5.5.27

    / *! 40101 SET @OLD_CHARACTER_SET_CLIENT = @@ CHARACTER_SET_CLIENT * /;
    / *! 40101 SET @OLD_CHARACTER_SET_RESULTS = @@ CHARACTER_SET_RESULTS * /;
    / *! 40101 SET @OLD_COLLATION_CONNECTION = @@ COLLATION_CONNECTION * /;
    / *! 40101 SET NAMES utf8 * /;
    / *! 40103 SET @OLD_TIME_ZONE = @@ TIME_ZONE * /;
    / *! 40103 SET TIME_ZONE = '+ 00:00' * /;
    / *! 40014 SET @OLD_UNIQUE_CHECKS = @@ UNIQUE_CHECKS, UNIQUE_CHECKS = 0 * /;
    / *! 40014 SET @OLD_FOREIGN_KEY_CHECKS = @@ FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS = 0 * /;
    / *! 40101 SET @OLD_SQL_MODE = @@ SQL_MODE, SQL_MODE = 'NO_AUTO_VALUE_ON_ZERO' * /;
    / *! 40111 SET @OLD_SQL_NOTES = @@ SQL_NOTES, SQL_NOTES = 0 * /;

    -
    - Itheyibhile yolwakhiwo lweetafile `
    -

    I-DROP TABLE UKUBA IKHO `iziganeko`;
    / *! 40101 SET @saved_cs_client = @@ character_set_client * /;
    / *! 40101 SET uphawu_set_client = utf8 * /;
    YENZA ITHEYIBHILE `iziganeko` (
    `id` int (10) engatyikitywanga HAYI NGOKUPHELELEYO _
    `isihloko` varchar (150) COLLATE utf8_spanish_ci DEFAULT NULL,
    Umbhalo womzimba COLLATE utf8_spanish_ci HAYI,
    `url` varchar (150) COLLATE utf8_spanish_ci HAYI,
    'class` varchar (45) COLLATE utf8_spanish_ci HAYI UKUQINISEKISA' ulwazi ',
    `qala` varchar (15) COLLATE utf8_spanish_ci HAYI,
    `end` varchar (15) COLLATE utf8_spanish_ci HAYI,
    UQHELEKO LOKUQALA (`id`)
    INJINI = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_spanish_ci;
    / *! 40101 SET uphawu_set_client = @ saved_cs_client * /;

    -
    Idatha yokulahla itafile` izehlo`
    -

    BHALA IITABHILE `imicimbi` BHALA;
    / *! Iziganeko ezingama-40000 NGAPHAMBILI KWESICWANGCISO `
    / *! Imicimbi engama-40000 NGAPHAMBILI KWESICWANGCISO` YENZA AMAKHODI * /;
    VULA Iitafile;
    / *! 40103 SET TIME_ZONE = @ OLD_TIME_ZONE * /;

    / *! 40101 SET SQL_MODE = @ OLD_SQL_MODE * /;
    / *! 40014 SET FOREIGN_KEY_CHECKS = @ OLD_FOREIGN_KEY_CHECKS * /;
    SETYENZA IINKCUKACHA = @ OLD_UNIQUE_CHECKS * /;
    / *! 40101 SET CHARACTER_SET_CLIENT = @ OLD_CHARACTER_SET_CLIENT * /;
    / *! 40101 SET CHARACTER_SET_RESULTS = @ OLD_CHARACTER_SET_RESULTS * /;
    / *! 40101 SET COLLATION_CONNECTION = @ OLD_COLLATION_CONNECTION * /;
    / *! 40111 SET SQL_NOTES = @ OLD_SQL_NOTES * /;

    Indawo yokulahla inkunkuma igqityiwe ngowama-2014-05-31 14:38:23

  8.   juan77 sitsho

    hello migos ngaba ikhona indlela yokutshintsha ifomathi yomhla weJSON

  9.   imboniso sitsho

    Ikhalenda ilunge kakhulu, kuphela xa usongeza umsitho omtsha umhla oza kundithatha ngokungagqibekanga kokubini ekuqaleni nasekupheleni ikwifomathi yesiNgesi, ndingayitshintsha njani ibe yiSpanish? Iya kuba yi-DD / MM / YYYY. Enkosi kakhulu kunye nemibuliso

  10.   noFabian sitsho

    Molo, ikhalenda intle kakhulu, kodwa xa uhlaziya umhla ayiboniswanga kwangoko kwikhalenda. Ndingenza ntoni?

    Ndinenye ingxaki, ndingenza njani ukuba onke amanqaku aboniswe kwimbonakalo yenyanga, ngaba kunokwenzeka ukuba kwandiswe isikwere? Yintoni ehambelana nosuku?

  11.   alex sitsho

    Ndinengxaki yokuba ekuhlaleni xa ulayisha umzekelo usebenza ngokugqibeleleyo kodwa xa ndiyilayisha kwiseva ekwi-intanethi ayibonisi nto ivela kwikhalenda kuphela amaqhosha. Nawuphi na umbono onokuba uyintoni okanye yintoni engalunganga ngomncedisi ukuyilungisa nceda.