$cfg['db_name'] = "iyicdwi123_iyicd"; $cfg['db_login'] = "iyicdwi123_iyicd"; $cfg['db_password'] = 'ljtyu'; $cfg['db_table_prefix'] = "EG_"; //set thumbnail width $cfg['thumb_default_width'] = 300; //set thumbnai height $cfg['thumb_default_height'] = 300; //set enlarged width $cfg['large_default_width'] = 720; //set enlarged height $cfg['large_default_height'] = 600; $cfg['root_path'] = dirname(__FILE__); $cfg['db_table'][] = "#PREFIX_VARIABLE#IMAGE"; $cfg['db_table'][] = "#PREFIX_VARIABLE#CATEGORY"; $cfg['db_table'][] = "#PREFIX_VARIABLE#CATEGORY_LINKAGE"; $cfg['db_table'][] = "#PREFIX_VARIABLE#USER"; $cfg['db_table'][] = "#PREFIX_VARIABLE#USER_ROLE"; $cfg['status']['active'] = 1; $cfg['db_table_schema'][] = "CREATE TABLE IF NOT EXISTS #PREFIX_VARIABLE#IMAGE ( ImageID int(11) NOT NULL auto_increment, ImageName varchar(255) default NULL, Description longtext, Status tinyint(1) default 1, TimeInput datetime NOT NULL, TimeModified datetime NOT NULL, PRIMARY KEY (ImageID) ) ENGINE=InnoDB DEFAULT CHARSET=utf8"; $cfg['db_table_schema'][] = "CREATE TABLE IF NOT EXISTS #PREFIX_VARIABLE#CATEGORY ( CatID int(11) NOT NULL auto_increment, CatName varchar(255) default NULL, Status tinyint(1) default 1, TimeInput datetime NOT NULL, TimeModified datetime NOT NULL, PRIMARY KEY (CatID) ) ENGINE=InnoDB DEFAULT CHARSET=utf8"; $cfg['db_table_schema'][] = "CREATE TABLE IF NOT EXISTS #PREFIX_VARIABLE#CATEGORY_LINKAGE ( RecordID int(11) NOT NULL auto_increment, ImageID int(11) NOT NULL, CatID int(11) NOT NULL, TimeInput datetime NOT NULL, PRIMARY KEY (RecordID), KEY ImageID (ImageID), KEY CatID (CatID) ) ENGINE=InnoDB DEFAULT CHARSET=utf8"; $cfg['db_table_schema'][] = "CREATE TABLE IF NOT EXISTS #PREFIX_VARIABLE#USER ( UserID int(11) NOT NULL auto_increment, UserName varchar(255) NOT NULL, UserEmail varchar(255) NOT NULL, UserLogin varchar(255) NOT NULL, UserPassword varchar(255) NOT NULL, RoleID int(2) NOT NULL, Gender tinyint(1), Status tinyint(1) default 0, TimeInput datetime NOT NULL, TimeModified datetime NOT NULL, PRIMARY KEY (UserID), KEY RoleID (RoleID) ) ENGINE=InnoDB DEFAULT CHARSET=utf8"; $cfg['db_table_schema'][] = "CREATE TABLE IF NOT EXISTS #PREFIX_VARIABLE#USER_ROLE ( RoleID int(11) NOT NULL auto_increment, RoleName varchar(255) NOT NULL, RoleDescription varchar(255) NOT NULL, TimeInput datetime NOT NULL, TimeModified datetime NOT NULL, PRIMARY KEY (RoleID), UNIQUE KEY (RoleName) ) ENGINE=InnoDB DEFAULT CHARSET=utf8"; $cfg['db_table_schema'][] = "CREATE TABLE IF NOT EXISTS #PREFIX_VARIABLE#SETTING ( SettingID int(4) NOT NULL auto_increment, SettingName longtext default NULL, Value longtext, TimeInput datetime NOT NULL, TimeModified datetime NOT NULL, PRIMARY KEY (SettingID) ) ENGINE=InnoDB DEFAULT CHARSET=utf8"; $cfg['db_table_record'][] = "INSERT INTO `#PREFIX_VARIABLE#SETTING` ( `SettingName`, `Value`, `TimeInput`, `TimeModified`) VALUES ('DB_PREFIX', '".$cfg['db_table_prefix']."', now(), now()), ('IMAGE_PATH', 'photo', now(), now()), ('VIEW_1', '1', now(), now()), ('po_1', '1', now(), now()), ('s_width_1', '260', now(), now()), ('s_height_1', '130', now(), now()), ('pp_1', '40', now(), now()), ('gwt_1', '-30', now(), now()), ('gwl_1', '40', now(), now()), ('b_width_1', '300', now(), now()), ('b_height_1', '190', now(), now()), ('CBspeed_1', '', now(), now()), ('CBss_1', '0', now(), now()), ('T_BORDER_1', '6', now(), now()), ('T_BORDER_COLOR_1', '#fff', now(), now()), ('VIEW_2', '1', now(), now()), ('po_2', '0.4', now(), now()), ('s_width_2', '30', now(), now()), ('s_height_2', '200', now(), now()), ('pp_2', '0', now(), now()), ('gwt_2', '35', now(), now()), ('gwl_2', '5', now(), now()), ('b_width_2', '280', now(), now()), ('b_height_2', '280', now(), now()), ('CBspeed_2', '7000', now(), now()), ('CBss_2', '1', now(), now()), ('T_BORDER_2', '0', now(), now()), ('T_BORDER_COLOR_2', '', now(), now()), ('VIEW_3', '1', now(), now()), ('po_3', '1', now(), now()), ('s_width_3', '160', now(), now()), ('s_height_3', '160', now(), now()), ('pp_3', '20', now(), now()), ('gwt_3', '0', now(), now()), ('gwl_3', '32', now(), now()), ('b_width_3', '250', now(), now()), ('b_height_3', '250', now(), now()), ('CBspeed_3', '', now(), now()), ('CBss_3', '0', now(), now()), ('T_BORDER_3', '6', now(), now()), ('T_BORDER_COLOR_3', '#fff', now(), now()), ('VIEW_4', '1', now(), now()), ('po_4', '1', now(), now()), ('s_width_4', '30', now(), now()), ('s_height_4', '30', now(), now()), ('pp_4', '10', now(), now()), ('gwt_4', '50', now(), now()), ('gwl_4', '8', now(), now()), ('b_width_4', '180', now(), now()), ('b_height_4', '180', now(), now()), ('CBspeed_4', '', now(), now()), ('CBss_4', '0', now(), now()), ('T_BORDER_4', '1', now(), now()), ('T_BORDER_COLOR_4', '#fff', now(), now()), ('FACEBOOK_L', 'http://www.facebook.com/', now(), now()), ('TWITTER_L', 'http://twitter.com/', now(), now()), ('FLICKR_L', 'http://www.flickr.com/', now(), now()), ('BLOGGER_L', 'http://www.blogger.com/', now(), now()), ('DEVIANTART_L', 'http://www.deviantart.com/', now(), now()), ('PICASA_L', 'http://picasa.google.com/', now(), now()), ('SKYPE_L', 'http://www.skype.com/', now(), now()), ('WORDPRESS_L', 'http://www.wordpress.com/', now(), now()), ('YOUTUBE_L', 'http://www.youtube.com/', now(), now()), ('FOOTER', '
\r\nYou may enrich your footer with plain text or HTML code in back end
\r\n
\r\nSmart Complete
\r\nEditable Ajax Data Grid With Multiple Color
\r\nHTML encrypt
\r\nEasy Gallery (no database required)
\r\nAjax Data Grid With Multiple Color
\r\nFluid Layout Admin Page with Rounded
\r\n
Ajax Contact Page with Google Map
\r\n
\r\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\r\n
\r\n © 2011 Your Company Name.