-- phpMyAdmin SQL Dump
-- version 6.0.0-dev+20251214.0422d4917c
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Feb 23, 2026 at 06:05 PM
-- Server version: 8.4.3
-- PHP Version: 8.4.12

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 */;

--
-- Database: `projekti_old_skinbase`
--

-- --------------------------------------------------------

--
-- Table structure for table `admin`
--

CREATE TABLE `admin` (
  `id` int NOT NULL,
  `uname` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `passwd` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `priv` int DEFAULT NULL,
  `info` mediumtext COLLATE utf8mb4_unicode_ci
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `admin_details`
--

CREATE TABLE `admin_details` (
  `uid` int NOT NULL DEFAULT '0',
  `picture` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `realname` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `email` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `quote` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `position` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `description` longtext COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `admin_users`
--

CREATE TABLE `admin_users` (
  `id` int UNSIGNED NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `remember_token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `app_comment`
--

CREATE TABLE `app_comment` (
  `id` int NOT NULL,
  `nid` int DEFAULT NULL,
  `author` varchar(30) CHARACTER SET utf8mb3 DEFAULT NULL,
  `datum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `tekst` mediumtext CHARACTER SET utf8mb3
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `app_list`
--

CREATE TABLE `app_list` (
  `id` int NOT NULL,
  `nid` int DEFAULT NULL,
  `developer` tinytext CHARACTER SET latin1,
  `fulldesc` text CHARACTER SET latin1,
  `dl_link` tinytext CHARACTER SET latin1,
  `picture` tinytext CHARACTER SET latin1,
  `slo_description` text CHARACTER SET latin1 NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Stand-in structure for view `artworks`
-- (See below for the actual view)
--
CREATE TABLE `artworks` (
);

-- --------------------------------------------------------

--
-- Table structure for table `artworks_categories`
--

CREATE TABLE `artworks_categories` (
  `category_id` int NOT NULL,
  `category_name` varchar(128) CHARACTER SET utf8mb3 NOT NULL DEFAULT '',
  `num_artworks` int NOT NULL DEFAULT '0',
  `description` text CHARACTER SET utf8mb3 NOT NULL,
  `official_webpage` varchar(120) CHARACTER SET utf8mb3 NOT NULL DEFAULT '',
  `picture` tinytext CHARACTER SET utf8mb3 NOT NULL,
  `views` int NOT NULL DEFAULT '0',
  `section_id` int NOT NULL DEFAULT '0',
  `rootid` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `artworks_comments`
--

CREATE TABLE `artworks_comments` (
  `comment_id` int NOT NULL,
  `artwork_id` int NOT NULL DEFAULT '0',
  `owner` varchar(32) CHARACTER SET utf8mb3 NOT NULL DEFAULT '',
  `author` varchar(80) CHARACTER SET utf8mb3 DEFAULT NULL,
  `owner_user_id` int NOT NULL,
  `user_id` int NOT NULL,
  `date` date DEFAULT NULL,
  `time` time DEFAULT NULL,
  `description` text CHARACTER SET utf8mb3
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `artworks_downloads`
--

CREATE TABLE `artworks_downloads` (
  `id` bigint NOT NULL,
  `artwork_id` bigint DEFAULT NULL,
  `time` time DEFAULT NULL,
  `date` date DEFAULT NULL,
  `ip` varchar(16) CHARACTER SET utf8mb3 NOT NULL,
  `user_id` int DEFAULT '0',
  `author_user_id` int NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `awards`
--

CREATE TABLE `awards` (
  `id` int NOT NULL,
  `title` tinytext CHARACTER SET latin1,
  `picture` varchar(120) CHARACTER SET latin1 DEFAULT NULL,
  `description` text CHARACTER SET latin1
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `banners`
--

CREATE TABLE `banners` (
  `id` int NOT NULL,
  `name` tinytext CHARACTER SET latin1,
  `link` tinytext CHARACTER SET latin1,
  `picture` tinytext CHARACTER SET latin1,
  `description` text CHARACTER SET latin1,
  `clicks` int DEFAULT NULL,
  `out` int DEFAULT NULL,
  `levo` int NOT NULL DEFAULT '0',
  `desno` int NOT NULL DEFAULT '0',
  `views` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `blog_articles`
--

CREATE TABLE `blog_articles` (
  `id` int NOT NULL,
  `headline` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci NOT NULL DEFAULT '',
  `subtitle` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci NOT NULL DEFAULT '',
  `author` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci NOT NULL DEFAULT '',
  `user_id` int NOT NULL,
  `category` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci NOT NULL DEFAULT '',
  `datum2` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datum` timestamp NULL DEFAULT NULL,
  `tekst` text CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci NOT NULL,
  `frontpage` int NOT NULL DEFAULT '1',
  `views` int NOT NULL DEFAULT '1',
  `type` tinyint NOT NULL DEFAULT '1',
  `lang` tinytext CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci NOT NULL,
  `allowComments` int NOT NULL DEFAULT '1',
  `blog_id` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci PACK_KEYS=0;

-- --------------------------------------------------------

--
-- Table structure for table `blog_comments`
--

CREATE TABLE `blog_comments` (
  `id` int NOT NULL,
  `nid` int NOT NULL DEFAULT '0',
  `author` varchar(30) CHARACTER SET utf8mb3 NOT NULL DEFAULT '',
  `email` varchar(64) CHARACTER SET utf8mb3 NOT NULL DEFAULT '',
  `datum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `tekst` text CHARACTER SET utf8mb3 NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `blog_topic`
--

CREATE TABLE `blog_topic` (
  `id` int NOT NULL,
  `naslov` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci NOT NULL DEFAULT '',
  `counter` int DEFAULT NULL,
  `author` varchar(32) CHARACTER SET ucs2 COLLATE ucs2_slovenian_ci NOT NULL DEFAULT '0',
  `blog_id` int NOT NULL DEFAULT '0',
  `zs` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `chat`
--

CREATE TABLE `chat` (
  `chat_id` int NOT NULL,
  `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `user_id` int NOT NULL,
  `sender` varchar(80) DEFAULT NULL,
  `reciever` varchar(80) DEFAULT NULL,
  `message` tinytext
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `chat_ses`
--

CREATE TABLE `chat_ses` (
  `time` varchar(14) DEFAULT NULL,
  `ip` varchar(20) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `competitions`
--

CREATE TABLE `competitions` (
  `id` int NOT NULL,
  `ime` varchar(255) NOT NULL DEFAULT '',
  `opis` text NOT NULL,
  `start_date` date NOT NULL DEFAULT '0000-00-00',
  `end_date` date NOT NULL DEFAULT '0000-00-00',
  `active` int NOT NULL DEFAULT '1'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `compvotes`
--

CREATE TABLE `compvotes` (
  `id` int NOT NULL,
  `skinid` int NOT NULL DEFAULT '0',
  `vote` int NOT NULL DEFAULT '0',
  `datum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `uname` tinytext NOT NULL,
  `ip` tinytext NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Tabela za glasovanje tekmovanj';

-- --------------------------------------------------------

--
-- Table structure for table `country`
--

CREATE TABLE `country` (
  `id` int NOT NULL,
  `name` varchar(80) DEFAULT NULL,
  `timezone` tinyint NOT NULL DEFAULT '0',
  `flag` tinytext NOT NULL,
  `kontinent` tinyint NOT NULL DEFAULT '0',
  `num` int NOT NULL DEFAULT '0',
  `ISO3661_name` varchar(255) NOT NULL,
  `code` char(2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `country_list`
--

CREATE TABLE `country_list` (
  `country_code` char(2) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `country_name` varchar(45) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- --------------------------------------------------------

--
-- Table structure for table `country_timezone`
--

CREATE TABLE `country_timezone` (
  `zone_id` int NOT NULL,
  `abbreviation` varchar(6) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `time_start` int NOT NULL,
  `gmt_offset` int NOT NULL,
  `dst` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- --------------------------------------------------------

--
-- Table structure for table `country_tz_list`
--

CREATE TABLE `country_tz_list` (
  `CountryCode` char(2) NOT NULL,
  `Coordinates` char(15) NOT NULL,
  `TimeZone` char(32) NOT NULL,
  `Comments` varchar(85) NOT NULL,
  `UTC offset` char(8) NOT NULL,
  `UTC DST offset` char(8) NOT NULL,
  `Notes` varchar(79) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `country_zone`
--

CREATE TABLE `country_zone` (
  `zone_id` int NOT NULL,
  `country_code` char(2) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `zone_name` varchar(35) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- --------------------------------------------------------

--
-- Table structure for table `cpad`
--

CREATE TABLE `cpad` (
  `keycode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `favourites`
--

CREATE TABLE `favourites` (
  `favourite_id` int NOT NULL,
  `artwork_id` int NOT NULL DEFAULT '0',
  `datum` date NOT NULL DEFAULT '0000-00-00',
  `user_type` int NOT NULL DEFAULT '0',
  `author_id` int NOT NULL,
  `user_id` int NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `featartist_comments`
--

CREATE TABLE `featartist_comments` (
  `id` int NOT NULL,
  `wid` int NOT NULL DEFAULT '0',
  `author` varchar(30) NOT NULL DEFAULT '',
  `datum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `tekst` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `featured_works`
--

CREATE TABLE `featured_works` (
  `featured_id` int NOT NULL,
  `artwork_id` int DEFAULT NULL,
  `added` tinytext,
  `description` text,
  `post_date` date DEFAULT NULL,
  `type` tinyint NOT NULL DEFAULT '0',
  `rootid` int NOT NULL DEFAULT '0',
  `user_id` int DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `feat_app`
--

CREATE TABLE `feat_app` (
  `id` int NOT NULL,
  `sid` int DEFAULT NULL,
  `added` tinytext,
  `description` text,
  `date` date DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `feat_author`
--

CREATE TABLE `feat_author` (
  `id` int NOT NULL,
  `sid` int DEFAULT NULL,
  `added` tinytext,
  `description` text,
  `date` date DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `forum_posts`
--

CREATE TABLE `forum_posts` (
  `post_id` int NOT NULL,
  `topic_id` int DEFAULT NULL,
  `user_id` int NOT NULL,
  `updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `isupdated` int NOT NULL DEFAULT '0',
  `message` text,
  `post_date` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `forum_topics`
--

CREATE TABLE `forum_topics` (
  `topic_id` int NOT NULL,
  `root_id` int NOT NULL DEFAULT '0',
  `topic` text,
  `user_id` int NOT NULL,
  `post_date` datetime NOT NULL,
  `preview` text NOT NULL,
  `discuss` text,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `open` tinyint NOT NULL DEFAULT '1',
  `privilege` int NOT NULL DEFAULT '0',
  `views` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `forum_topics_gallery`
--

CREATE TABLE `forum_topics_gallery` (
  `id` int NOT NULL,
  `name` varchar(80) NOT NULL DEFAULT '',
  `folder` varchar(80) NOT NULL DEFAULT '',
  `datum` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `description` text NOT NULL,
  `dls` int NOT NULL DEFAULT '0',
  `views` int NOT NULL DEFAULT '0',
  `rating` float(8,4) NOT NULL DEFAULT '0.0000',
  `rating_num` int NOT NULL DEFAULT '0',
  `category` int NOT NULL DEFAULT '0',
  `format` varchar(4) NOT NULL DEFAULT 'jpg',
  `resolution` varchar(10) NOT NULL DEFAULT '',
  `filesize` varchar(10) NOT NULL DEFAULT '0',
  `active` int NOT NULL DEFAULT '1',
  `adult` tinyint(1) NOT NULL DEFAULT '0',
  `picture_name` varchar(255) NOT NULL,
  `picture_alt` varchar(255) NOT NULL,
  `tags` varchar(512) NOT NULL,
  `username` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `friends_list`
--

CREATE TABLE `friends_list` (
  `id` int NOT NULL,
  `date_added` date NOT NULL DEFAULT '0000-00-00',
  `friend_id` int NOT NULL,
  `user_id` int NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `interviews`
--

CREATE TABLE `interviews` (
  `id` int NOT NULL,
  `headline` varchar(80) DEFAULT NULL,
  `author` varchar(80) DEFAULT NULL,
  `username` varchar(80) NOT NULL,
  `picture` varchar(120) DEFAULT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datum` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `preview` text,
  `tekst` text,
  `lang` varchar(10) DEFAULT NULL,
  `views` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `interviews_comment`
--

CREATE TABLE `interviews_comment` (
  `id` int NOT NULL,
  `nid` int NOT NULL DEFAULT '0',
  `author` varchar(30) NOT NULL DEFAULT '',
  `datum` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `tekst` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `location`
--

CREATE TABLE `location` (
  `id` int NOT NULL,
  `name` tinytext NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Sezname kontinentov';

-- --------------------------------------------------------

--
-- Table structure for table `mainads`
--

CREATE TABLE `mainads` (
  `id` int NOT NULL,
  `name` varchar(255) NOT NULL,
  `picture` varchar(255) NOT NULL,
  `online` int NOT NULL DEFAULT '0',
  `author` varchar(255) NOT NULL,
  `od` date NOT NULL,
  `do` date NOT NULL,
  `link` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `messages`
--

CREATE TABLE `messages` (
  `message_id` int NOT NULL,
  `sender_id` int NOT NULL,
  `reciever_id` int NOT NULL,
  `subject` varchar(255) NOT NULL,
  `body` text NOT NULL,
  `create_date` int NOT NULL,
  `read_date` int NOT NULL DEFAULT '0',
  `sender_active` enum('Y','N') NOT NULL DEFAULT 'Y',
  `reciever_active` enum('Y','N') NOT NULL DEFAULT 'Y',
  `reply_id` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int UNSIGNED NOT NULL,
  `migration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `mlist_emails`
--

CREATE TABLE `mlist_emails` (
  `id` int NOT NULL,
  `email` varchar(255) NOT NULL,
  `status` int NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `monthly_downloads`
--

CREATE TABLE `monthly_downloads` (
  `fname` int NOT NULL DEFAULT '0',
  `mesec` int NOT NULL DEFAULT '0',
  `leto` int NOT NULL DEFAULT '0',
  `dls` int NOT NULL DEFAULT '0',
  `lastDl` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `monthly_downloads_archive`
--

CREATE TABLE `monthly_downloads_archive` (
  `fname` int NOT NULL DEFAULT '0',
  `mesec` int NOT NULL DEFAULT '0',
  `leto` int NOT NULL DEFAULT '0',
  `dls` int NOT NULL DEFAULT '0',
  `lastDl` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `monthly_wallz`
--

CREATE TABLE `monthly_wallz` (
  `id` int NOT NULL,
  `sid` int DEFAULT NULL,
  `added` tinytext,
  `description` text,
  `datum` date DEFAULT NULL,
  `type` tinyint NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `news`
--

CREATE TABLE `news` (
  `news_id` int NOT NULL,
  `headline` varchar(80) DEFAULT NULL,
  `user_id` int NOT NULL,
  `category_id` int DEFAULT NULL,
  `create_date` datetime NOT NULL,
  `update_date` datetime NOT NULL,
  `preview` text,
  `content` text,
  `picture` varchar(255) NOT NULL,
  `lang` varchar(10) DEFAULT NULL,
  `views` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `news_categories`
--

CREATE TABLE `news_categories` (
  `category_id` int NOT NULL,
  `category_name` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `news_comment`
--

CREATE TABLE `news_comment` (
  `comment_id` int NOT NULL,
  `news_id` int NOT NULL DEFAULT '0',
  `author` varchar(30) NOT NULL DEFAULT '',
  `user_id` int NOT NULL,
  `posted` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `message` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `news_groups`
--

CREATE TABLE `news_groups` (
  `id` int NOT NULL,
  `name` tinytext NOT NULL,
  `link` tinytext NOT NULL,
  `source` tinytext NOT NULL,
  `num` int NOT NULL DEFAULT '0',
  `rootid` int NOT NULL DEFAULT '0',
  `description` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `news_logged`
--

CREATE TABLE `news_logged` (
  `id` int NOT NULL,
  `nid` int NOT NULL DEFAULT '0',
  `ip` varchar(250) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `news_rss`
--

CREATE TABLE `news_rss` (
  `news_id` int NOT NULL,
  `headline` varchar(255) NOT NULL DEFAULT '',
  `datum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `description` text NOT NULL,
  `link` tinytext NOT NULL,
  `category_id` int NOT NULL DEFAULT '0',
  `updated` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `notification`
--

CREATE TABLE `notification` (
  `notification_id` int NOT NULL,
  `event` varchar(255) NOT NULL,
  `event_id` int NOT NULL DEFAULT '0',
  `new` tinyint(1) NOT NULL DEFAULT '1',
  `author_id` int NOT NULL,
  `user_id` int NOT NULL,
  `post_date` int NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `partners`
--

CREATE TABLE `partners` (
  `id` int NOT NULL,
  `name` tinytext,
  `link` tinytext,
  `picture` tinytext,
  `description` text,
  `clicks` int DEFAULT NULL,
  `out_click` int NOT NULL DEFAULT '0',
  `main` int DEFAULT NULL,
  `gfx` int DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `partners_log`
--

CREATE TABLE `partners_log` (
  `id` int NOT NULL,
  `pid` int NOT NULL DEFAULT '0',
  `datum` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `ip` tinytext NOT NULL,
  `out` tinyint NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `publish_stream`
--

CREATE TABLE `publish_stream` (
  `id` int NOT NULL,
  `naslov` varchar(255) DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `povzetek` varchar(512) DEFAULT NULL,
  `slika` varchar(256) DEFAULT NULL,
  `opis` text,
  `author` int DEFAULT NULL,
  `datum` datetime DEFAULT NULL,
  `type` int DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `rating`
--

CREATE TABLE `rating` (
  `id` int NOT NULL,
  `sid` int NOT NULL DEFAULT '0',
  `datum` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `points` int NOT NULL DEFAULT '0',
  `ip` tinytext NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `sb_topics`
--

CREATE TABLE `sb_topics` (
  `id` int NOT NULL,
  `topicname` varchar(20) DEFAULT NULL,
  `topicimage` varchar(80) DEFAULT NULL,
  `topictext` varchar(255) DEFAULT NULL,
  `counter` int DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `smileys`
--

CREATE TABLE `smileys` (
  `smiley_id` int NOT NULL,
  `code` varchar(10) NOT NULL,
  `picture` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `emotion` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `user_id` int NOT NULL,
  `uname` varchar(80) DEFAULT NULL,
  `password` varchar(80) DEFAULT NULL,
  `email` varchar(80) DEFAULT NULL,
  `real_name` varchar(255) DEFAULT NULL,
  `web` varchar(120) DEFAULT NULL,
  `icq` varchar(10) DEFAULT NULL,
  `birth` date DEFAULT NULL,
  `gender` enum('M','F','X') DEFAULT 'X',
  `country` varchar(80) DEFAULT NULL,
  `country_code` char(4) DEFAULT NULL,
  `lang` varchar(10) DEFAULT NULL,
  `mlist` char(1) DEFAULT NULL,
  `icon` tinytext,
  `LastVisit` datetime DEFAULT NULL,
  `NumStats` tinyint NOT NULL DEFAULT '5',
  `picture` tinytext,
  `signature` tinytext,
  `about_me` text,
  `zone` int NOT NULL DEFAULT '246',
  `numboard` tinyint NOT NULL DEFAULT '5',
  `profileviews` int NOT NULL DEFAULT '0',
  `eicon` tinytext,
  `signatures` tinyint(1) NOT NULL DEFAULT '1',
  `subscribe` date DEFAULT NULL,
  `user_type` int NOT NULL DEFAULT '0',
  `active` int NOT NULL DEFAULT '0',
  `joinDate` datetime DEFAULT NULL,
  `authorization_id` varchar(24) NOT NULL DEFAULT '',
  `authorized` tinyint(1) NOT NULL DEFAULT '0',
  `lastactivity` int DEFAULT NULL,
  `cover_art` varchar(255) DEFAULT NULL,
  `friend_upload_notice` tinyint(1) NOT NULL DEFAULT '1',
  `description` text,
  `password2` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `users_comments`
--

CREATE TABLE `users_comments` (
  `comment_id` int NOT NULL,
  `artist_id` int NOT NULL,
  `user_id` int NOT NULL,
  `date` date DEFAULT NULL,
  `time` time DEFAULT NULL,
  `description` text,
  `post_date` int NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `users_data`
--

CREATE TABLE `users_data` (
  `user_id` int NOT NULL,
  `web` varchar(120) DEFAULT NULL,
  `icq` varchar(10) DEFAULT NULL,
  `birth` date DEFAULT NULL,
  `gender` char(2) DEFAULT NULL,
  `country` varchar(80) DEFAULT NULL,
  `country_code` char(4) NOT NULL,
  `lang` varchar(10) DEFAULT NULL,
  `mlist` char(1) DEFAULT NULL,
  `icon` tinytext,
  `menu` tinytext NOT NULL,
  `LastVisit` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `NumStats` tinyint NOT NULL DEFAULT '5',
  `picture` tinytext NOT NULL,
  `signature` tinytext NOT NULL,
  `addinfo` text NOT NULL,
  `zone` int NOT NULL DEFAULT '246',
  `numskin` tinyint NOT NULL DEFAULT '5',
  `section_style` tinyint NOT NULL DEFAULT '0',
  `numboard` tinyint NOT NULL DEFAULT '5',
  `profileviews` int NOT NULL DEFAULT '0',
  `eicon` tinytext NOT NULL,
  `signatures` tinyint NOT NULL DEFAULT '1',
  `subscribe` date NOT NULL DEFAULT '0000-00-00',
  `user_type` int NOT NULL DEFAULT '0',
  `active` int NOT NULL DEFAULT '1',
  `joinDate` date NOT NULL DEFAULT '0000-00-00',
  `authorization_id` varchar(24) NOT NULL DEFAULT '',
  `authorized` tinyint(1) NOT NULL DEFAULT '0',
  `lastactivity` int NOT NULL,
  `cover_art` varchar(255) NOT NULL,
  `friend_upload_notice` tinyint(1) NOT NULL DEFAULT '1',
  `description` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `users_login`
--

CREATE TABLE `users_login` (
  `user_id` int NOT NULL,
  `username` varchar(80) NOT NULL,
  `password` varchar(80) NOT NULL,
  `email` varchar(80) NOT NULL,
  `LastVisit` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `user_type` tinyint NOT NULL DEFAULT '0',
  `active` tinyint(1) NOT NULL DEFAULT '1',
  `join_date` date NOT NULL DEFAULT '0000-00-00',
  `authorization_id` varchar(32) NOT NULL DEFAULT '',
  `authorization_status` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `users_opinions`
--

CREATE TABLE `users_opinions` (
  `opinion_id` int NOT NULL,
  `artwork_id` int NOT NULL DEFAULT '0',
  `score` int NOT NULL DEFAULT '0',
  `post_date` date NOT NULL,
  `author_id` int NOT NULL,
  `user_id` int NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `users_statistics`
--

CREATE TABLE `users_statistics` (
  `user_id` int NOT NULL DEFAULT '0',
  `uploads` int NOT NULL DEFAULT '0',
  `rate` int NOT NULL DEFAULT '0',
  `news` int NOT NULL DEFAULT '0',
  `weeklypoll` int NOT NULL DEFAULT '0',
  `chat` int NOT NULL DEFAULT '0',
  `pageviews` int NOT NULL DEFAULT '0',
  `msgboard` int NOT NULL DEFAULT '0',
  `downloads` int NOT NULL DEFAULT '0',
  `reffered` int NOT NULL DEFAULT '0',
  `newscomment` int NOT NULL DEFAULT '0',
  `awards` int NOT NULL DEFAULT '0',
  `refer` int NOT NULL DEFAULT '0',
  `zoom` int NOT NULL DEFAULT '0',
  `cards` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `users_types`
--

CREATE TABLE `users_types` (
  `id` int NOT NULL,
  `ime` varchar(64) NOT NULL DEFAULT '',
  `opis` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `user_weeka`
--

CREATE TABLE `user_weeka` (
  `id` int NOT NULL,
  `wid` int DEFAULT NULL,
  `answer` int DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `user_weekq`
--

CREATE TABLE `user_weekq` (
  `id` int NOT NULL,
  `question` text,
  `answers` varchar(255) DEFAULT NULL,
  `author` varchar(120) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `user_wpcomments`
--

CREATE TABLE `user_wpcomments` (
  `id` int NOT NULL,
  `wid` int NOT NULL DEFAULT '0',
  `author` varchar(30) NOT NULL DEFAULT '',
  `datum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `tekst` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `wallz`
--

CREATE TABLE `wallz` (
  `id` int NOT NULL,
  `name` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci DEFAULT NULL,
  `uname` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci DEFAULT NULL,
  `user_id` int NOT NULL,
  `fname` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci DEFAULT NULL,
  `section` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci DEFAULT NULL,
  `category` int NOT NULL DEFAULT '0',
  `picture` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci DEFAULT NULL,
  `datum` datetime DEFAULT NULL,
  `updated` datetime DEFAULT NULL,
  `description` text CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci,
  `dls` int DEFAULT '0',
  `subcat` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci NOT NULL DEFAULT '0',
  `views` int DEFAULT '0',
  `zoom` int DEFAULT '0',
  `rating` float(8,4) NOT NULL DEFAULT '0.0000',
  `rating_num` int NOT NULL DEFAULT '0',
  `cards` int NOT NULL DEFAULT '0',
  `contest` int NOT NULL DEFAULT '0',
  `slo_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci DEFAULT NULL,
  `slo_description` text CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci,
  `slo_translation` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci DEFAULT NULL,
  `lang_type` int NOT NULL DEFAULT '0',
  `approved` tinyint(1) NOT NULL DEFAULT '0',
  `competition_id` int NOT NULL DEFAULT '0',
  `rootid` int NOT NULL DEFAULT '0',
  `rootsubid` int NOT NULL DEFAULT '0',
  `width` int NOT NULL,
  `height` int NOT NULL,
  `user_ip` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci NOT NULL,
  `public` enum('Y','N') CHARACTER SET utf8mb3 COLLATE utf8mb3_slovenian_ci NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `wallz_lenght`
--

CREATE TABLE `wallz_lenght` (
  `id` int NOT NULL,
  `sid` int NOT NULL DEFAULT '0',
  `lenght` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `weeka`
--

CREATE TABLE `weeka` (
  `id` int NOT NULL,
  `wid` int DEFAULT NULL,
  `answer` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `weekq`
--

CREATE TABLE `weekq` (
  `id` int NOT NULL,
  `question` text,
  `answers` varchar(255) DEFAULT NULL,
  `author` varchar(120) DEFAULT NULL,
  `datum` date NOT NULL DEFAULT '0000-00-00'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

-- --------------------------------------------------------

--
-- Table structure for table `wp_comments`
--

CREATE TABLE `wp_comments` (
  `id` int NOT NULL,
  `wid` int NOT NULL DEFAULT '0',
  `author` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `datum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `tekst` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `admin_details`
--
ALTER TABLE `admin_details`
  ADD PRIMARY KEY (`uid`);

--
-- Indexes for table `admin_users`
--
ALTER TABLE `admin_users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_email_unique` (`email`);

--
-- Indexes for table `app_comment`
--
ALTER TABLE `app_comment`
  ADD PRIMARY KEY (`id`),
  ADD KEY `nid` (`nid`),
  ADD KEY `author` (`author`),
  ADD KEY `datum` (`datum`);

--
-- Indexes for table `app_list`
--
ALTER TABLE `app_list`
  ADD PRIMARY KEY (`id`),
  ADD KEY `nid` (`nid`);

--
-- Indexes for table `artworks_categories`
--
ALTER TABLE `artworks_categories`
  ADD PRIMARY KEY (`category_id`),
  ADD KEY `sname` (`category_name`),
  ADD KEY `num` (`num_artworks`),
  ADD KEY `views` (`views`),
  ADD KEY `rootid` (`section_id`,`rootid`),
  ADD KEY `idx_section-id_rootid` (`section_id`,`rootid`) USING BTREE;

--
-- Indexes for table `artworks_comments`
--
ALTER TABLE `artworks_comments`
  ADD PRIMARY KEY (`comment_id`),
  ADD KEY `author` (`author`),
  ADD KEY `date` (`date`),
  ADD KEY `name` (`artwork_id`),
  ADD KEY `idx_coments_user_id` (`user_id`),
  ADD KEY `idx_coments_owner_user_id` (`owner_user_id`),
  ADD KEY `idx_date_time` (`date`,`time`);

--
-- Indexes for table `artworks_downloads`
--
ALTER TABLE `artworks_downloads`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fname` (`artwork_id`),
  ADD KEY `date` (`date`),
  ADD KEY `idx_id_date` (`ip`,`date`),
  ADD KEY `idx_ip_date_fname` (`ip`,`date`,`artwork_id`),
  ADD KEY `idx_date_artwork_id` (`artwork_id`,`date`),
  ADD KEY `author_user_id` (`author_user_id`),
  ADD KEY `idx_artwork_id` (`artwork_id`),
  ADD KEY `idx_id` (`id`);

--
-- Indexes for table `awards`
--
ALTER TABLE `awards`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `banners`
--
ALTER TABLE `banners`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `blog_articles`
--
ALTER TABLE `blog_articles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `frontpage` (`frontpage`,`views`,`type`),
  ADD KEY `datum` (`datum`),
  ADD KEY `subtitle` (`subtitle`),
  ADD KEY `user_id` (`user_id`);
ALTER TABLE `blog_articles` ADD FULLTEXT KEY `headline` (`headline`,`subtitle`,`tekst`);

--
-- Indexes for table `blog_comments`
--
ALTER TABLE `blog_comments`
  ADD UNIQUE KEY `id` (`id`);

--
-- Indexes for table `blog_topic`
--
ALTER TABLE `blog_topic`
  ADD PRIMARY KEY (`id`),
  ADD KEY `blog_id` (`blog_id`),
  ADD KEY `zs` (`zs`),
  ADD KEY `author` (`author`);

--
-- Indexes for table `chat`
--
ALTER TABLE `chat`
  ADD PRIMARY KEY (`chat_id`);

--
-- Indexes for table `competitions`
--
ALTER TABLE `competitions`
  ADD KEY `id` (`id`);

--
-- Indexes for table `compvotes`
--
ALTER TABLE `compvotes`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `country`
--
ALTER TABLE `country`
  ADD PRIMARY KEY (`id`),
  ADD KEY `timezone` (`timezone`),
  ADD KEY `name` (`name`),
  ADD KEY `code` (`code`);

--
-- Indexes for table `country_list`
--
ALTER TABLE `country_list`
  ADD KEY `idx_country_code` (`country_code`),
  ADD KEY `country_name` (`country_name`);

--
-- Indexes for table `country_timezone`
--
ALTER TABLE `country_timezone`
  ADD KEY `idx_zone_id` (`zone_id`),
  ADD KEY `idx_time_start` (`time_start`);

--
-- Indexes for table `country_tz_list`
--
ALTER TABLE `country_tz_list`
  ADD PRIMARY KEY (`TimeZone`);

--
-- Indexes for table `country_zone`
--
ALTER TABLE `country_zone`
  ADD PRIMARY KEY (`zone_id`),
  ADD KEY `idx_zone_name` (`zone_name`);

--
-- Indexes for table `cpad`
--
ALTER TABLE `cpad`
  ADD UNIQUE KEY `cpad_keycode_unique` (`keycode`);

--
-- Indexes for table `favourites`
--
ALTER TABLE `favourites`
  ADD PRIMARY KEY (`favourite_id`),
  ADD KEY `skinid` (`artwork_id`,`datum`),
  ADD KEY `datum` (`datum`);

--
-- Indexes for table `featartist_comments`
--
ALTER TABLE `featartist_comments`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `wid` (`wid`);

--
-- Indexes for table `featured_works`
--
ALTER TABLE `featured_works`
  ADD PRIMARY KEY (`featured_id`),
  ADD KEY `sid` (`artwork_id`),
  ADD KEY `date` (`post_date`),
  ADD KEY `idx_rootid_artworkid` (`featured_id`,`artwork_id`);

--
-- Indexes for table `feat_app`
--
ALTER TABLE `feat_app`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sid` (`sid`),
  ADD KEY `date` (`date`);

--
-- Indexes for table `feat_author`
--
ALTER TABLE `feat_author`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sid` (`sid`),
  ADD KEY `date` (`date`);

--
-- Indexes for table `forum_posts`
--
ALTER TABLE `forum_posts`
  ADD PRIMARY KEY (`post_id`),
  ADD KEY `tid` (`topic_id`),
  ADD KEY `post_date` (`post_date`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `forum_topics`
--
ALTER TABLE `forum_topics`
  ADD PRIMARY KEY (`topic_id`),
  ADD KEY `laste` (`last_update`),
  ADD KEY `root_id` (`root_id`),
  ADD KEY `privilege` (`privilege`),
  ADD KEY `open` (`open`),
  ADD KEY `views` (`views`);

--
-- Indexes for table `forum_topics_gallery`
--
ALTER TABLE `forum_topics_gallery`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`),
  ADD KEY `date` (`datum`),
  ADD KEY `fname` (`folder`),
  ADD KEY `dls` (`dls`),
  ADD KEY `views` (`views`),
  ADD KEY `rating` (`rating`),
  ADD KEY `category` (`category`),
  ADD KEY `tags` (`tags`(333)),
  ADD KEY `username` (`username`),
  ADD KEY `active` (`active`),
  ADD KEY `adult` (`adult`);

--
-- Indexes for table `friends_list`
--
ALTER TABLE `friends_list`
  ADD PRIMARY KEY (`id`),
  ADD KEY `datum` (`date_added`),
  ADD KEY `friend_id` (`friend_id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `interviews`
--
ALTER TABLE `interviews`
  ADD PRIMARY KEY (`id`),
  ADD KEY `datum` (`datum`),
  ADD KEY `headline` (`headline`);

--
-- Indexes for table `interviews_comment`
--
ALTER TABLE `interviews_comment`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `nid` (`nid`);

--
-- Indexes for table `location`
--
ALTER TABLE `location`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mainads`
--
ALTER TABLE `mainads`
  ADD PRIMARY KEY (`id`),
  ADD KEY `od` (`od`),
  ADD KEY `do` (`do`);

--
-- Indexes for table `messages`
--
ALTER TABLE `messages`
  ADD PRIMARY KEY (`message_id`);

--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mlist_emails`
--
ALTER TABLE `mlist_emails`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `monthly_downloads`
--
ALTER TABLE `monthly_downloads`
  ADD KEY `fname` (`fname`,`mesec`,`leto`,`dls`);

--
-- Indexes for table `monthly_downloads_archive`
--
ALTER TABLE `monthly_downloads_archive`
  ADD KEY `fname` (`fname`,`mesec`,`leto`,`dls`);

--
-- Indexes for table `monthly_wallz`
--
ALTER TABLE `monthly_wallz`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sid` (`sid`),
  ADD KEY `date` (`datum`);

--
-- Indexes for table `news`
--
ALTER TABLE `news`
  ADD PRIMARY KEY (`news_id`),
  ADD KEY `datum` (`update_date`),
  ADD KEY `headline` (`headline`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `news_categories`
--
ALTER TABLE `news_categories`
  ADD PRIMARY KEY (`category_id`);

--
-- Indexes for table `news_comment`
--
ALTER TABLE `news_comment`
  ADD UNIQUE KEY `id` (`comment_id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `news_Id` (`news_id`),
  ADD KEY `posted` (`posted`);

--
-- Indexes for table `news_groups`
--
ALTER TABLE `news_groups`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `news_logged`
--
ALTER TABLE `news_logged`
  ADD PRIMARY KEY (`id`),
  ADD KEY `nid` (`nid`),
  ADD KEY `ip` (`ip`);

--
-- Indexes for table `news_rss`
--
ALTER TABLE `news_rss`
  ADD PRIMARY KEY (`news_id`),
  ADD KEY `category` (`category_id`),
  ADD KEY `datum` (`datum`),
  ADD KEY `headline` (`headline`);
ALTER TABLE `news_rss` ADD FULLTEXT KEY `description` (`description`);

--
-- Indexes for table `notification`
--
ALTER TABLE `notification`
  ADD PRIMARY KEY (`notification_id`),
  ADD KEY `uname` (`new`);

--
-- Indexes for table `partners`
--
ALTER TABLE `partners`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `partners_log`
--
ALTER TABLE `partners_log`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `publish_stream`
--
ALTER TABLE `publish_stream`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `rating`
--
ALTER TABLE `rating`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sid` (`sid`),
  ADD KEY `datum` (`datum`);

--
-- Indexes for table `sb_topics`
--
ALTER TABLE `sb_topics`
  ADD PRIMARY KEY (`id`),
  ADD KEY `topicname` (`topicname`);

--
-- Indexes for table `smileys`
--
ALTER TABLE `smileys`
  ADD PRIMARY KEY (`smiley_id`),
  ADD UNIQUE KEY `code_UNIQUE` (`code`),
  ADD KEY `code` (`code`),
  ADD KEY `smile` (`picture`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`user_id`),
  ADD KEY `uname` (`uname`),
  ADD KEY `passwd` (`password`),
  ADD KEY `user_type` (`user_type`,`active`),
  ADD KEY `authorized` (`authorized`),
  ADD KEY `lastactivity` (`lastactivity`),
  ADD KEY `country_code` (`country_code`),
  ADD KEY `friend_upload_notice` (`friend_upload_notice`),
  ADD KEY `idx_user_id` (`user_id`);

--
-- Indexes for table `users_comments`
--
ALTER TABLE `users_comments`
  ADD PRIMARY KEY (`comment_id`);

--
-- Indexes for table `users_data`
--
ALTER TABLE `users_data`
  ADD UNIQUE KEY `user_id` (`user_id`),
  ADD KEY `user_type` (`user_type`,`active`),
  ADD KEY `authorized` (`authorized`),
  ADD KEY `lastactivity` (`lastactivity`),
  ADD KEY `country_code` (`country_code`);

--
-- Indexes for table `users_login`
--
ALTER TABLE `users_login`
  ADD PRIMARY KEY (`user_id`),
  ADD KEY `uname` (`username`),
  ADD KEY `passwd` (`password`),
  ADD KEY `user_type` (`user_type`,`active`),
  ADD KEY `authorized` (`authorization_status`);

--
-- Indexes for table `users_opinions`
--
ALTER TABLE `users_opinions`
  ADD PRIMARY KEY (`opinion_id`),
  ADD KEY `sid` (`artwork_id`);

--
-- Indexes for table `users_statistics`
--
ALTER TABLE `users_statistics`
  ADD UNIQUE KEY `user_id` (`user_id`),
  ADD KEY `uploads` (`uploads`),
  ADD KEY `rate` (`rate`),
  ADD KEY `downloads` (`downloads`),
  ADD KEY `pageviews` (`pageviews`);

--
-- Indexes for table `users_types`
--
ALTER TABLE `users_types`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_weeka`
--
ALTER TABLE `user_weeka`
  ADD PRIMARY KEY (`id`),
  ADD KEY `wid` (`wid`);

--
-- Indexes for table `user_weekq`
--
ALTER TABLE `user_weekq`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_wpcomments`
--
ALTER TABLE `user_wpcomments`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `wid` (`wid`);

--
-- Indexes for table `wallz`
--
ALTER TABLE `wallz`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`),
  ADD KEY `section` (`section`),
  ADD KEY `date` (`datum`),
  ADD KEY `subcat` (`subcat`),
  ADD KEY `zoom` (`zoom`),
  ADD KEY `uname` (`uname`),
  ADD KEY `fname` (`fname`),
  ADD KEY `dls` (`dls`),
  ADD KEY `rating` (`rating`),
  ADD KEY `lang_type` (`lang_type`),
  ADD KEY `competition_id` (`competition_id`),
  ADD KEY `category` (`category`),
  ADD KEY `approved` (`approved`),
  ADD KEY `rootid` (`rootid`),
  ADD KEY `rootsubid` (`rootsubid`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `width` (`width`,`height`),
  ADD KEY `idx_id_approved` (`id`,`approved`),
  ADD KEY `public` (`public`),
  ADD KEY `idx_id` (`id`),
  ADD KEY `idx_approved` (`approved`),
  ADD KEY `idx_user_id` (`user_id`);
ALTER TABLE `wallz` ADD FULLTEXT KEY `description` (`description`);

--
-- Indexes for table `wallz_lenght`
--
ALTER TABLE `wallz_lenght`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sid` (`sid`,`lenght`);

--
-- Indexes for table `weeka`
--
ALTER TABLE `weeka`
  ADD PRIMARY KEY (`id`),
  ADD KEY `wid` (`wid`),
  ADD KEY `answer` (`answer`);

--
-- Indexes for table `weekq`
--
ALTER TABLE `weekq`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `wp_comments`
--
ALTER TABLE `wp_comments`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `wid` (`wid`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;

--
-- AUTO_INCREMENT for table `admin_users`
--
ALTER TABLE `admin_users`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `app_comment`
--
ALTER TABLE `app_comment`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=498;

--
-- AUTO_INCREMENT for table `app_list`
--
ALTER TABLE `app_list`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=330;

--
-- AUTO_INCREMENT for table `artworks_categories`
--
ALTER TABLE `artworks_categories`
  MODIFY `category_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=568;

--
-- AUTO_INCREMENT for table `artworks_comments`
--
ALTER TABLE `artworks_comments`
  MODIFY `comment_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=252715;

--
-- AUTO_INCREMENT for table `artworks_downloads`
--
ALTER TABLE `artworks_downloads`
  MODIFY `id` bigint NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `awards`
--
ALTER TABLE `awards`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `banners`
--
ALTER TABLE `banners`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `blog_articles`
--
ALTER TABLE `blog_articles`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `blog_comments`
--
ALTER TABLE `blog_comments`
  MODIFY `id` int NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `blog_topic`
--
ALTER TABLE `blog_topic`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `chat`
--
ALTER TABLE `chat`
  MODIFY `chat_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=71497;

--
-- AUTO_INCREMENT for table `competitions`
--
ALTER TABLE `competitions`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `compvotes`
--
ALTER TABLE `compvotes`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `country`
--
ALTER TABLE `country`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=228;

--
-- AUTO_INCREMENT for table `country_zone`
--
ALTER TABLE `country_zone`
  MODIFY `zone_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=417;

--
-- AUTO_INCREMENT for table `favourites`
--
ALTER TABLE `favourites`
  MODIFY `favourite_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37503;

--
-- AUTO_INCREMENT for table `featartist_comments`
--
ALTER TABLE `featartist_comments`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=124;

--
-- AUTO_INCREMENT for table `featured_works`
--
ALTER TABLE `featured_works`
  MODIFY `featured_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11853;

--
-- AUTO_INCREMENT for table `feat_app`
--
ALTER TABLE `feat_app`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;

--
-- AUTO_INCREMENT for table `feat_author`
--
ALTER TABLE `feat_author`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `forum_posts`
--
ALTER TABLE `forum_posts`
  MODIFY `post_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35407;

--
-- AUTO_INCREMENT for table `forum_topics`
--
ALTER TABLE `forum_topics`
  MODIFY `topic_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2940;

--
-- AUTO_INCREMENT for table `forum_topics_gallery`
--
ALTER TABLE `forum_topics_gallery`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=45;

--
-- AUTO_INCREMENT for table `friends_list`
--
ALTER TABLE `friends_list`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2192;

--
-- AUTO_INCREMENT for table `interviews`
--
ALTER TABLE `interviews`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `interviews_comment`
--
ALTER TABLE `interviews_comment`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=72;

--
-- AUTO_INCREMENT for table `location`
--
ALTER TABLE `location`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `mainads`
--
ALTER TABLE `mainads`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
  MODIFY `message_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7863;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mlist_emails`
--
ALTER TABLE `mlist_emails`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=96141;

--
-- AUTO_INCREMENT for table `monthly_wallz`
--
ALTER TABLE `monthly_wallz`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `news`
--
ALTER TABLE `news`
  MODIFY `news_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1498;

--
-- AUTO_INCREMENT for table `news_categories`
--
ALTER TABLE `news_categories`
  MODIFY `category_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=40;

--
-- AUTO_INCREMENT for table `news_comment`
--
ALTER TABLE `news_comment`
  MODIFY `comment_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3103;

--
-- AUTO_INCREMENT for table `news_groups`
--
ALTER TABLE `news_groups`
  MODIFY `id` int NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `news_logged`
--
ALTER TABLE `news_logged`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `news_rss`
--
ALTER TABLE `news_rss`
  MODIFY `news_id` int NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `notification`
--
ALTER TABLE `notification`
  MODIFY `notification_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=288500;

--
-- AUTO_INCREMENT for table `partners`
--
ALTER TABLE `partners`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=111;

--
-- AUTO_INCREMENT for table `partners_log`
--
ALTER TABLE `partners_log`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15190;

--
-- AUTO_INCREMENT for table `publish_stream`
--
ALTER TABLE `publish_stream`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6446;

--
-- AUTO_INCREMENT for table `rating`
--
ALTER TABLE `rating`
  MODIFY `id` int NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sb_topics`
--
ALTER TABLE `sb_topics`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39;

--
-- AUTO_INCREMENT for table `smileys`
--
ALTER TABLE `smileys`
  MODIFY `smiley_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=100;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `user_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=265854;

--
-- AUTO_INCREMENT for table `users_comments`
--
ALTER TABLE `users_comments`
  MODIFY `comment_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2134;

--
-- AUTO_INCREMENT for table `users_login`
--
ALTER TABLE `users_login`
  MODIFY `user_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=147293;

--
-- AUTO_INCREMENT for table `users_opinions`
--
ALTER TABLE `users_opinions`
  MODIFY `opinion_id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51695;

--
-- AUTO_INCREMENT for table `users_types`
--
ALTER TABLE `users_types`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=100;

--
-- AUTO_INCREMENT for table `user_weeka`
--
ALTER TABLE `user_weeka`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `user_weekq`
--
ALTER TABLE `user_weekq`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `user_wpcomments`
--
ALTER TABLE `user_wpcomments`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `wallz`
--
ALTER TABLE `wallz`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69525;

--
-- AUTO_INCREMENT for table `wallz_lenght`
--
ALTER TABLE `wallz_lenght`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20435;

--
-- AUTO_INCREMENT for table `weeka`
--
ALTER TABLE `weeka`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=60635;

--
-- AUTO_INCREMENT for table `weekq`
--
ALTER TABLE `weekq`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=166;

--
-- AUTO_INCREMENT for table `wp_comments`
--
ALTER TABLE `wp_comments`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2025;

-- --------------------------------------------------------

--
-- Structure for view `artworks`
--
DROP TABLE IF EXISTS `artworks`;

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`127.0.0.1` SQL SECURITY DEFINER VIEW `artworks`  AS SELECT `wallz`.`id` AS `id`, `wallz`.`name` AS `name`, `wallz`.`uname` AS `uname`, `wallz`.`user_id` AS `user_id`, `wallz`.`fname` AS `fname`, `wallz`.`section` AS `section`, `wallz`.`category` AS `category`, `wallz`.`picture` AS `picture`, `wallz`.`datum` AS `datum`, `wallz`.`updated` AS `updated`, `wallz`.`description` AS `description`, `wallz`.`dls` AS `dls`, `wallz`.`subcat` AS `subcat`, `wallz`.`views` AS `views`, `wallz`.`zoom` AS `zoom`, `wallz`.`rating` AS `rating`, `wallz`.`rating_num` AS `rating_num`, `wallz`.`cards` AS `cards`, `wallz`.`contest` AS `contest`, `wallz`.`slo_name` AS `slo_name`, `wallz`.`slo_description` AS `slo_description`, `wallz`.`slo_translation` AS `slo_translation`, `wallz`.`lang_type` AS `lang_type`, `wallz`.`approved` AS `approved`, `wallz`.`competition_id` AS `competition_id`, `wallz`.`rootid` AS `rootid`, `wallz`.`rootsubid` AS `rootsubid`, `wallz`.`width` AS `width`, `wallz`.`height` AS `height`, `wallz`.`user_ip` AS `user_ip` FROM `wallz` ;
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 */;
