XtGem Forum catalog
Installation FailedIncomplete Data
back"); if($_POST["password"]!=$_POST["repassword"]) die("Installation FailedNot the same password
back"); mysql_query("CREATE TABLE blog ( id smallint(5) unsigned NOT NULL AUTO_INCREMENT, title varchar(100) NOT NULL DEFAULT 'No Title', text varchar(5000) NOT NULL, cat_id smallint(5) unsigned NOT NULL, time datetime DEFAULT NULL, user_id varchar(100) NOT NULL, hit smallint(5) unsigned NOT NULL DEFAULT '0', uptime datetime DEFAULT '0000-00-00 00:00:00', hittoday smallint(5) unsigned DEFAULT '0', PRIMARY KEY (id) ) ENGINE=MyISAM") OR DIE("Tabel Pertama Gagal di buat :".mysql_error()); mysql_query("CREATE TABLE comment ( id mediumint(8) unsigned NOT NULL AUTO_INCREMENT, name varchar(100) NOT NULL, message varchar(1000) NOT NULL, time datetime DEFAULT NULL, url varchar(100) DEFAULT NULL, blog_id smallint(5) unsigned NOT NULL, cat_id smallint(5) unsigned NOT NULL, PRIMARY KEY (id) ) ENGINE=MyISAM") or die("Tabel Kedua gagal di buat :".mysql_error()); mysql_query("CREATE TABLE kategori ( id mediumint(8) unsigned NOT NULL AUTO_INCREMENT, kategori varchar(100) NOT NULL, PRIMARY KEY (id) ) ENGINE=MyISAM") or die("Tabel Ketiga Gagal di buat:".mysql_error()); mysql_query("CREATE TABLE user ( id smallint(5) unsigned NOT NULL AUTO_INCREMENT, name varchar(100) NOT NULL, password varchar(100) NOT NULL, blogperpage tinyint(3) unsigned NOT NULL DEFAULT '5', linkperpage tinyint(3) unsigned NOT NULL DEFAULT '4', idx_hitonoff tinyint(1) unsigned NOT NULL DEFAULT '1', idx_komenonoff tinyint(1) unsigned NOT NULL DEFAULT '1', idx_searchsize tinyint(3) unsigned NOT NULL DEFAULT '17', idx_textperblog smallint(5) unsigned NOT NULL DEFAULT '50', idx_searchmaxlenght smallint(5) unsigned NOT NULL DEFAULT '50', blg_komenperpage tinyint(3) unsigned NOT NULL DEFAULT '3', blg_komennamesize tinyint(3) unsigned NOT NULL DEFAULT '17', blg_komennamelenght smallint(5) unsigned NOT NULL DEFAULT '20', blg_komenurlsize smallint(5) unsigned NOT NULL DEFAULT '17', blg_komenurllenght smallint(5) unsigned NOT NULL DEFAULT '100', blg_komenpesancols smallint(5) unsigned NOT NULL DEFAULT '17', blg_komenpesanrows smallint(5) unsigned NOT NULL DEFAULT '8', blg_komenpesanlenght smallint(5) unsigned NOT NULL DEFAULT '500', cmt_komenperpage tinyint(3) unsigned NOT NULL DEFAULT '5', cmt_linkperpage tinyint(3) unsigned NOT NULL DEFAULT '4', wr_titlesize tinyint(3) unsigned NOT NULL DEFAULT '17', wr_titlelenght smallint(5) unsigned NOT NULL DEFAULT '100', wr_textcols smallint(5) unsigned NOT NULL DEFAULT '50', wr_textrows smallint(5) unsigned NOT NULL DEFAULT '15', wr_textlenght smallint(5) unsigned NOT NULL DEFAULT '5000', cssonoff tinyint(1) unsigned NOT NULL DEFAULT '1', header varchar(1000) NOT NULL DEFAULT 'Mobile Blog', footer varchar(1000) NOT NULL DEFAULT 'Created By Huteri Manza
\r\n© 2009', bbcodeonoff tinyint(1) unsigned not null default '1', smileyonoff tinyint(1) unsigned not null default '1', footon varchar(100) NOT NULL DEFAULT 'Created By Huteri Manza mod lang by hadian mod layout by Pakalika.com
\r\n© 2009', backcolor varchar(20) NOT NULL DEFAULT 'lightgreen', time date DEFAULT '0000-00-00', idx_lastcmtonoff enum('1','2') NOT NULL DEFAULT '2', idx_mosthitonoff enum('1','2') NOT NULL DEFAULT '1', idx_mosthittodayonoff enum('1','2') NOT NULL DEFAULT '1', idx_jmllastcmt tinyint(3) unsigned NOT NULL DEFAULT '3', idx_jmlmosthit tinyint(3) unsigned NOT NULL DEFAULT '3', idx_jmlmosthittoday tinyint(3) unsigned NOT NULL DEFAULT '3', idx_lastcmtname smallint(5) unsigned NOT NULL DEFAULT '7', idx_lastcmtpesan smallint(5) unsigned NOT NULL DEFAULT '20', idx_hittodayonoff enum('1','2') NOT NULL DEFAULT '1', idx_cmttodayonoff enum('1','2') NOT NULL DEFAULT '1', idx_updatenot varchar(100) NOT NULL DEFAULT '[!!]', blg_seealsoonoff enum('1','2') NOT NULL DEFAULT '2', blg_seealsojml tinyint(3) unsigned NOT NULL DEFAULT '3', blg_seealsoorder enum('random','kategori') NOT NULL DEFAULT 'random', PRIMARY KEY (id) ) ENGINE=MyISAM") or die("Tabel Terakhir gagal dibuat:".mysql_error()); mysql_query("insert into user (id, name, password, time) values ('50','admin','admin',curdate()),('1','{$_POST["name"]}', '{$_POST["password"]}', curdate())") or die("Gagal Insert Data".mysql_error()); mysql_query("insert into kategori (kategori) values ('General')") or die("Gagal Insert kategori".mysql_error()); mysql_query("INSERT INTO `blog` (`id`, `title`, `text`, `cat_id`, `time`, `user_id`, `hit`) VALUES ('1','Welcome in Mobile Blog', 'Welcome to mobile blog. \r\nEnjoy the Mobile Blog Script :D\r\nPowered by Huteri Manza \r\nhttp://huteri.net \r\nMod by Pakalika.com\r\nhttp://m.pakalika.com', 1, now(), '50', 0)") or die(mysql_error()); echo "Installation Successfull
Installation Successfull
Immediately delete the install.php file and run the index.php :)
NEXT
"; } else { echo "Instalation script Mobile Blog
Mobile Blog Installation


Admin Required >>>>
Admin Name:

Admin Password:

Admin Re-Password:



Created By Huteri Manza
© 2009
Mod by Pakalika.com

"; } ?>