From: root Date: Fri, 19 Nov 2010 21:08:40 +0000 (+0100) Subject: little bookmakr system X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=5834625948e21672afb15783ad2463133d58d1a2;p=dolphin.git little bookmakr system --- diff --git a/bookmarks/README b/bookmarks/README new file mode 100644 index 0000000..0eaf9f6 --- /dev/null +++ b/bookmarks/README @@ -0,0 +1,12 @@ +A simple Script to manage your Bookmarks without any third-party hoster eg. xmarks, apple etc. + +All you need is this script a MySQL Database and one table in it. + +Create your own subdomain and protect it with the htaccess file and your can now access and manage +your Bookmarks everywhere. + +Independent to a browser or location. + +AND your data is where YOU know. Not in a cloud without security. You control it and decide where and who has access. + +copyright 2010 Johannes 'Banana' Keßler diff --git a/bookmarks/config.php b/bookmarks/config.php new file mode 100644 index 0000000..de91638 --- /dev/null +++ b/bookmarks/config.php @@ -0,0 +1,10 @@ + diff --git a/bookmarks/db_structure.sql b/bookmarks/db_structure.sql new file mode 100644 index 0000000..d010c50 --- /dev/null +++ b/bookmarks/db_structure.sql @@ -0,0 +1,9 @@ +CREATE TABLE `bookmarks` ( + `id` int(10) NOT NULL AUTO_INCREMENT, + `category` varchar(128) DEFAULT NULL, + `title` varchar(128) DEFAULT NULL, + `link` varchar(255) DEFAULT NULL, + `date_added` int(10) DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `link` (`link`) +) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; diff --git a/bookmarks/edit.png b/bookmarks/edit.png new file mode 100644 index 0000000..f4232c6 Binary files /dev/null and b/bookmarks/edit.png differ diff --git a/bookmarks/index.php b/bookmarks/index.php new file mode 100644 index 0000000..c855926 --- /dev/null +++ b/bookmarks/index.php @@ -0,0 +1,116 @@ + 0) { + while($result = mysql_fetch_assoc($query)) { + $bookmarks[$result['id']] = $result; + } +} +?> + + + Bookmarks for myself + + + + +
+ Link:
+
+ Titel:
+
+ Kategorie:
+
+ +
+ +
+ Link:
+
+ Titel:
+
+ Kategorie:
+
+ +
+ '; + echo '

'.$entry['category'].'

'; + echo ''; + } +?> + +