OnePageFree.com - Free web site with CMS

Hosting

1. Technical Requirements:

2. Installation:

  1. Unzip Your archive file
  2. Change file "admin/custom.php" so that it matches You database settings.
  3. Upload unzipped files to the internet-server using FTP
  4. Create database with the this structure. The recommended character set is UTF-8.
    Some hostings may provide You with an existing database user. Otherwise You must create it on Your own.
    If You do not use phpMyAdmin, create each table with a separate query.

File admin/custom.php

<?php

define("DBHOST", "Your database host here");
define("DBUSER", "Your database user here");
define("DBPASS", "Your database password here");
define("DBNAME", "Your database name here");

define("AUTHUSER", "Your Content Management System username here, by default Your e-mail");
define("AUTHPASS", "Your Content Management System password here, by default Your given password");

?>

Database structure

CREATE TABLE `cms_fields` (
  `form_id` smallint(5) unsigned NOT NULL default '0',
  `field_id` tinyint(3) unsigned NOT NULL auto_increment,
  `order` float NOT NULL default '0',
  `name` tinytext NOT NULL,
  `type` tinyint(4) NOT NULL default '0',
  `values` text NOT NULL,
  PRIMARY KEY  (`form_id`,`field_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE `cms_forms` (
  `id` smallint(5) unsigned NOT NULL auto_increment,
  `name` tinytext NOT NULL,
  `email` tinytext NOT NULL,
  `url_ok` tinytext NOT NULL,
  `url_cancel` tinytext NOT NULL,
  `btn_ok` tinytext NOT NULL,
  `btn_cancel` tinytext NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE `cms_gal_alt` (
  `gid` tinyint(3) unsigned NOT NULL default '0',
  `pid` smallint(6) NOT NULL default '0',
  `lang` tinyint(4) NOT NULL default '0',
  `text` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`gid`,`pid`,`lang`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE `cms_gal_img` (
  `gid` tinyint(3) unsigned NOT NULL default '0',
  `pid` smallint(6) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `type` tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (`gid`,`pid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE `cms_galleries` (
  `id` tinyint(3) unsigned NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `cols` tinyint(4) NOT NULL default '0',
  `size` smallint(6) NOT NULL default '0',
  `size_side` tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE `cms_languages` (
  `id` tinyint(4) NOT NULL auto_increment,
  `order` float NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE `cms_pages` (
  `id` smallint(5) unsigned NOT NULL auto_increment,
  `lang` tinyint(4) NOT NULL default '0',
  `hidden` tinyint(4) NOT NULL default '0',
  `level` tinyint(3) unsigned NOT NULL default '0',
  `left` smallint(5) unsigned NOT NULL default '0',
  `right` smallint(5) unsigned NOT NULL default '0',
  `redirect` varchar(255) NOT NULL default '',
  `title` varchar(255) NOT NULL default '',
  `keywords` varchar(255) NOT NULL default '',
  `body` text NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE `cms_sup` (
  `id` tinyint(3) unsigned NOT NULL default '0',
  `lang` tinyint(4) NOT NULL default '0',
  `value` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`,`lang`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
News * About Us * Testimonials * Example sites * Partners * Tell a Friend * Help Center * Hosting
Copyright * Privacy Policy * Disclaimer * Terms of Use * Investors * Contact Us