Compare commits
2 Commits
168184e142
...
48d3433416
Author | SHA1 | Date | |
---|---|---|---|
48d3433416 | |||
be079545ec |
@@ -41,7 +41,7 @@ function generateListItem($ListItemID, $ItemImage, $ItemTitle, $ItemLink, $ItemP
|
|||||||
echo('
|
echo('
|
||||||
</div>
|
</div>
|
||||||
<div class="d-inline">
|
<div class="d-inline">
|
||||||
<small class="text-muted text-end">' . date('m.d.y', strtotime($ItemDate)) . '</small>
|
<small class="text-muted text-end">' . date('d.m.y', strtotime($ItemDate)) . '</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
91
wishlist.sql
Normal file
91
wishlist.sql
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
-- phpMyAdmin SQL Dump
|
||||||
|
-- version 5.2.0
|
||||||
|
-- https://www.phpmyadmin.net/
|
||||||
|
--
|
||||||
|
-- Host: localhost
|
||||||
|
-- Erstellungszeit: 04. Okt 2022 um 22:36
|
||||||
|
-- Server-Version: 10.5.15-MariaDB-0+deb11u1
|
||||||
|
-- PHP-Version: 8.0.22
|
||||||
|
|
||||||
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||||
|
START TRANSACTION;
|
||||||
|
SET time_zone = "+00:00";
|
||||||
|
|
||||||
|
|
||||||
|
/*!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 utf8mb4 */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Datenbank: `wishlist`
|
||||||
|
--
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Tabellenstruktur für Tabelle `lists`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `lists` (
|
||||||
|
`ID` int(11) NOT NULL,
|
||||||
|
`title` varchar(255) NOT NULL,
|
||||||
|
`description` text NOT NULL,
|
||||||
|
`edit_pw` varchar(64) NOT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Tabellenstruktur für Tabelle `whishes`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `whishes` (
|
||||||
|
`ID` int(11) NOT NULL,
|
||||||
|
`whislist` int(11) NOT NULL DEFAULT 0,
|
||||||
|
`title` varchar(128) NOT NULL,
|
||||||
|
`description` text NOT NULL,
|
||||||
|
`link` text NOT NULL,
|
||||||
|
`image` text NOT NULL,
|
||||||
|
`price` int(11) NOT NULL,
|
||||||
|
`reserved` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
|
`reserved_pw` varchar(64) NOT NULL DEFAULT '',
|
||||||
|
`date` date NOT NULL DEFAULT current_timestamp()
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indizes der exportierten Tabellen
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indizes für die Tabelle `lists`
|
||||||
|
--
|
||||||
|
ALTER TABLE `lists`
|
||||||
|
ADD PRIMARY KEY (`ID`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indizes für die Tabelle `whishes`
|
||||||
|
--
|
||||||
|
ALTER TABLE `whishes`
|
||||||
|
ADD PRIMARY KEY (`ID`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT für exportierte Tabellen
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT für Tabelle `lists`
|
||||||
|
--
|
||||||
|
ALTER TABLE `lists`
|
||||||
|
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT für Tabelle `whishes`
|
||||||
|
--
|
||||||
|
ALTER TABLE `whishes`
|
||||||
|
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
/*!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 */;
|
Reference in New Issue
Block a user