<?php
/**
 * @param Protty
 * @url www.pder.org
 **/
if (file_exists('PROTTY.KEY')){
   echo "已经安装过了，如果需要重新安装，请删除根目录下的PROTTY.KEY";
   exit;
}
if (empty($_GET)){
    header("location:Install.php?protty=Install");
}
if ($_GET['protty']=='go'){
   if (!empty($_POST['submit'])){
       $link = mysql_connect($_POST['localhost'],$_POST['user'],$_POST['pass']) or die("数据库连接失败了哟!");
       $charset = mysql_query("set names utf8");
       $ifdb = mysql_query("CREATE DATABASE IF NOT EXISTS $_POST[dbname]
DEFAULT CHARACTER SET = 'utf8';");
       $db = mysql_select_db($_POST['dbname']) or die("没有找到这个数据库哦~");
       # Structure for table "article"
       mysql_query("DROP TABLE IF EXISTS `article`");
       $articleCreate = mysql_query("CREATE TABLE `article` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(50) NOT NULL DEFAULT '',
  `content` text NOT NULL,
  `rlink` varchar(255) NOT NULL DEFAULT '',
  `image_link` varchar(255) NOT NULL DEFAULT '0',
  `ify` int(11) NOT NULL DEFAULT '0',
  `times` varchar(20) NOT NULL DEFAULT '',
  `athor` varchar(30) NOT NULL DEFAULT '',
  `level` varchar(10) NOT NULL DEFAULT '100%',
  `view` int(11) NOT NULL DEFAULT '0',
  `type` varchar(15) NOT NULL DEFAULT '',
  `mend` tinyint(3) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;");
       # Data for table "article"
       $articleDate = mysql_query("INSERT INTO `article` VALUES (1,'十年 - 陈奕迅','陈奕迅','http://m2.music.126.net/V6G5ER-inEZ_Oufxq9tmfA==/1153387697546241.mp3','http://tupian.qqjay.com/tou3/2015/0728/21667f6561b554fcbb541ffb65e4bf87.jpg',2,'1441821030','不会痛的猫','100%',13,'music',0),(2,'투정','Krystal/利特','http://m2.music.126.net/eANTWdal3CDJxoNCroxJiA==/6641050232612446.mp3','http://tupian.qqjay.com/tou3/2015/0728/36c5b19dde8768c60ded97a5fd4cd42a.png',2,'1441823398','不会痛的猫','36%',1,'music',0),(3,'大圣归来预告','《西游记之大圣归来》是根据中国传统神话故事《西游记》进行拓展和演绎的3D动画电影，由高路动画、横店影视、十月动画、微影科技等联合出品，田晓鹏执导，张磊、林子杰、刘九容和童自荣等联袂配音。影片讲述了已于五行山下寂寞沉潜五百年的孙悟空被儿时的唐僧——俗名江流儿的小和尚误打误撞地解除了封印，在相互陪伴的冒险之旅中找回初心，完成自我救赎的故事','http://movie.ks.js.cn/flv/other/1_0.flv','http://img.zjolcdn.com/pic/0/06/91/05/6910559_709864.jpg',3,'1442009004','不会痛的猫','100%',9,'video',0),(4,'大圣归来正版','《西游记之大圣归来》是根据中国传统神话故事《西游记》进行拓展和演绎的3D动画电影，由高路动画、横店影视、十月动画、微影科技等联合出品，田晓鹏执导，张磊、林子杰、刘九容和童自荣等联袂配音。影片讲述了已于五行山下寂寞沉潜五百年的孙悟空被儿时的唐僧——俗名江流儿的小和尚误打误撞地解除了封印，在相互陪伴的冒险之旅中找回初心，完成自我救赎的故事。','http://vodcdn.video.taobao.com/oss/ali-video/e957a39cad808a7fd96b872c00cd0155/video.mp4','http://img1.cache.netease.com/catchpic/7/73/73AF8679B246A04B130CA72152CAF0ED.jpg',3,'1442008988','不会痛的猫','70%',0,'video',1),(5,'捉妖记高清完整版','小伙子天荫（井柏然 饰）阴差阳错地怀上了即将降世的小妖王，他被降妖天师小岚（白百何 饰）一路保护着躲过各种妖怪。虽然二人渐渐对小妖产生了感情，小岚却明白她只为把这只惹人眼红的小妖卖个好价钱，在人妖混杂的世界里，他们的命运无疑将牵动人心。','http://vodcdn.video.taobao.com/oss/ali-video/2120163821c859863dfff0614a164f02/video.mp4','http://cdn.t02.pic.sogou.com/2c1d3fb6801f749e-7ce1665beb8222a6-3cabd6ce8bed4add859e79af791d986c.jpg',3,'1442008972','不会痛的猫','18%',1,'video',1),(6,'かくしん的☆めたまるふぉ～ぜっ!','秋水桑','http://m2.music.126.net/hVbB4nwl_BdmJ5FjF0pSGw==/3378799232526216.mp3','http://p4.music.126.net/klWYqxeo4B-JmHS9t1b_EQ==/3338117302422196.jpg',2,'1441994942','不会痛的猫','100%',0,'music',0),(7,'Realize','日代千鹤','http://m2.music.126.net/7kmjdT0micQq7V94aQlNAA==/5751545324904809.mp3','http://p3.music.126.net/eF3TcFXp3uHK0x66tx08sA==/3332619744301786.jpg',2,'1441995151','不会痛的猫','70%',2,'music',0),(8,'Still In Love','日代千鹤','http://m2.music.126.net/nZXnd7ZJ44XR6cTq9UtcKA==/1019247278959618.mp3','http://p3.music.126.net/eF3TcFXp3uHK0x66tx08sA==/3332619744301786.jpg',2,'1441996489','不会痛的猫','18%',0,'music',0),(9,'Flower of Life','日代千鹤','http://m2.music.126.net/PlNY_zM8kGr5cxY53ghthQ==/3101722302034084.mp3','http://p3.music.126.net/eF3TcFXp3uHK0x66tx08sA==/3332619744301786.jpg',2,'1441996622','不会痛的猫','18%',0,'music',0),(10,'dance DANCE!','日代千鹤','http://m2.music.126.net/Jf-tBp_-WXkvCAGxUyOIhA==/5653688790033624.mp3','http://p4.music.126.net/JgpNvhCvS_lOf6ExF-BTEQ==/7867005697957934.jpg',2,'1441996701','不会痛的猫','18%',0,'music',0),(11,'Kiss The Damage','日代千鹤','http://m2.music.126.net/KKvubYLDjoht8t2Yx56ZaQ==/5978044720577787.mp3','http://p3.music.126.net/eF3TcFXp3uHK0x66tx08sA==/3332619744301786.jpg',2,'1441996758','不会痛的猫','18%',2,'music',0),(12,'I wanna see you','日代千鹤','http://m2.music.126.net/ylFI6e2eLQXUEiFy6XnTkg==/1230353511493770.mp3','http://p3.music.126.net/eF3TcFXp3uHK0x66tx08sA==/3332619744301786.jpg',2,'1441996809','不会痛的猫','18%',5,'music',0),(13,'sweet devil','ヲタみん','http://m2.music.126.net/ECU8xd2oLIJwB7NjiYL58Q==/1240249116173061.mp3','http://p3.music.126.net/eF3TcFXp3uHK0x66tx08sA==/3332619744301786.jpg',2,'1441996971','不会痛的猫','18%',0,'music',0),(14,'梦','柴田淳','http://m2.music.126.net/4hqc8CbvdHgNHeQhC6Er7w==/2544269906961028.mp3','http://p4.music.126.net/vNdttINLCYX4qrIUY-o3AQ==/7990151001387459.jpg',2,'1441997099','不会痛的猫','18%',3,'music',0),(15,'心做し','花たん','http://m2.music.126.net/3aeq7FAppPYoCbPYgPYYeQ==/3249056860421408.mp3','http://p4.music.126.net/vNdttINLCYX4qrIUY-o3AQ==/7990151001387459.jpg',2,'1441997234','不会痛的猫','18%',0,'music',0),(16,'Story','西野カナ','http://m2.music.126.net/SlRsM01qeXULlYGlG_KqmA==/3154498860134136.mp3','http://p4.music.126.net/9_9DaprPOoSRJVFyfsoIcw==/2295780278858902.jpg',2,'1441997442','不会痛的猫','18%',4,'music',0),(17,'神偷奶爸2完整高清版','美国动画电影《神偷奶爸2》（Despicable Me 2）是由皮艾尔·柯芬、克里斯·雷纳德联合执导的喜剧3D电脑喜剧影片，是2010年动画电影《卑鄙的我》的续集。','http://cloud.video.taobao.com//play/u/2290029335/p/2/e/1/t/1/30075475.swf','http://www.sfs-cn.com/node3/node924/node30836/node30837/images/00263929.jpg',3,'1442073082','不会痛的猫','36%',55,'video',1),(18,'又一个PoCent站点!','<p><span style=\"color: rgb(0, 176, 80);\">你所看到的这篇文章是系统自动生成的，你可以改变它或者删除它！</span></p>','','',1,'1442375183','不会痛的猫','18%',76,'article',1),(19,'东成西就2011','拍《东成西就》只用27天：1993年上映的《东成西就》，从幕后制作班底到幕前明星均是王家卫影片《东邪西毒》的人马。和《东邪西毒》一样，该片的人物均源自金庸的《射雕英雄传》，讲述了欧阳锋、洪七公等人年轻时荒诞无稽的故事。该片疯狂堆砌喜剧元素，很多经典桥段让80后记忆犹新，如“新一代开山怪”舞蹈，“情意绵绵刀”“眉来眼去剑”“干柴烈火掌”“腊肠嘴”等。刘镇伟称，当年为了替王家卫的《东邪西毒》套拍这部喜剧，急于赶工只拍了27天，他痛恨没能享受到拍摄和创作的过程。　　对续拍一事，刘镇伟此前在接受媒体采访时表示，“已经快20年了，我想拍一个新的版本，是个现代的故事，让大家再乐一回。我不会用‘颠覆’这个词来形容这次的创作，也不会再拿金庸 ‘射雕’里的角色来颠覆。”','http://121.207.225.21/movie/1201/12012DB8A7F28E2CFBA0.flv','http://t03.pic.sogou.com/c3b9623e9906f40a-e6c7c8b368dab821-701d18506f0b378ad3c0cb131da14c05.jpg',3,'1442201424','admin','100%',12,'video',0),(20,'我是路人甲MV主题曲','大学毕业的万国鹏（万国鹏 饰）为了完成演员梦想，从老家东北雪乡一路来到浙江横店，对拍戏一窍不通的他初来乍到屡屡碰壁，更引发连串笑话，但他从不轻言放弃，而是坚持一步一个脚印往前走，终于慢慢踏上正轨，成为一名“专业”的群众演员。 在这个“东方好莱坞”，万国鹏遇到了形形色色的年轻人，有的和自己一样坚定不移地做着演员梦，有的被现实打磨成了老油条，…','http://player.yinyuetai.com/video/player/2325352/v_0.swf','http://cdn.t04.pic.sogou.com/b17c8f01e57d5969-d3492e1ab3bea685-73b322b60921f17388317e5912fc17e4_i.jpg',5,'1442427962','不会痛的猫','100%',2,'video',1);");
       # Structure for table "ify"
       mysql_query('DROP TABLE IF EXISTS `ify`');
       $ifyCreate = mysql_query("CREATE TABLE `ify` (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `ify_name` varchar(30) NOT NULL DEFAULT '',
  `alias` varchar(50) NOT NULL DEFAULT '',
  `the` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`pid`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;");
       # Data for table "ify"
       $IfyDate = mysql_query("INSERT INTO `ify` VALUES (1,'文章日志','article','文章日志'),(2,'日韩风格','music','音乐是一种快乐，是一种思维的声音，是一种智慧的启示。'),(3,'高清大片','video','存放高清视频'),(4,'绝世神曲','music','没有音乐，生命是没有价值的。'),(5,'MV音乐视频','video','各种音乐分享视频');");
       # Structure for table "link"
       mysql_query('DROP TABLE IF EXISTS `link`');
       $LinkCreate = mysql_query("CREATE TABLE `link` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `link_title` varchar(255) NOT NULL DEFAULT '',
  `link_url` varchar(255) NOT NULL DEFAULT '',
  `link_content` varchar(255) DEFAULT NULL,
  `link_res` tinyint(3) NOT NULL DEFAULT '1',
  `link_time` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;");
       # Date for table "link"
       $linkDate = mysql_query("INSERT INTO `link` VALUES (1,'程式网','http://www.pder.org','一个资源很多的博客，成为你学习的好地方！',1,'1442403024'),(2,'日记本','http://dir.pder.org','一个记录日记的网站',1,'1442425874');");
       # Structure for table "message"
       mysql_query("DROP TABLE IF EXISTS `message`");
       $MssCreate = mysql_query("CREATE TABLE `message` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `names` varchar(10) NOT NULL DEFAULT '',
  `content` varchar(255) NOT NULL DEFAULT '',
  `times` varchar(30) NOT NULL DEFAULT '',
  `primg` varchar(255) NOT NULL DEFAULT '',
  `email` varchar(50) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;");
       # Data for table "message"
       $MssDate = mysql_query("INSERT INTO `message` VALUES (1,'gol','不错啊。这个技术。','1442275788','http://tupian.qqjay.com/tou3/2015/0728/fc6ef82a04930bb178f10b03b9af2f00.jpg',''),(2,'大海','可以哦。好漂亮的样子。<BR><BR><b style=\'margin-left: 20px;\'>站长回复：@大海：</b>还行。','1442308705','http://tupian.qqjay.com/tou3/2015/0728/ae36e1f1d2e4b9fc8e76bb36778e47a2.jpg','10245388@qq.com'),(3,'不会痛的猫','我也来顶一下，希望站长更出色！<BR><BR><b style=\'margin-left: 20px;\'>站长回复：@不会痛的猫：</b>嗯嗯。','1442309387','http://tupian.qqjay.com/tou3/2015/0728/3814e6a32b777a47fb630d7261c6fecb.jpg','10245388@qq.com');");
       # Structure for table "site"
       mysql_query("DROP TABLE IF EXISTS `site`");
       $siteCreate = mysql_query("CREATE TABLE `site` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `logo` varchar(255) NOT NULL DEFAULT '',
  `title` varchar(255) NOT NULL DEFAULT '',
  `keyword` varchar(255) NOT NULL DEFAULT '',
  `con` varchar(255) NOT NULL DEFAULT '',
  `url` varchar(255) NOT NULL DEFAULT '',
  `copy` varchar(255) NOT NULL DEFAULT '',
  `mss_html` text NOT NULL,
  `mss_url` varchar(255) NOT NULL DEFAULT '0',
  `ify_ture_name` varchar(255) NOT NULL DEFAULT '0',
  `music_title` varchar(255) NOT NULL DEFAULT '0',
  `music_image` varchar(255) NOT NULL DEFAULT '0',
  `music_rec` int(11) NOT NULL DEFAULT '8',
  `music_ch` tinyint(3) NOT NULL DEFAULT '1',
  `video_title` varchar(255) NOT NULL DEFAULT '在线视频',
  `video_rec` int(11) NOT NULL DEFAULT '0',
  `video_rec_all` int(11) NOT NULL DEFAULT '8',
  `video_mend` tinyint(3) NOT NULL DEFAULT '4',
  `video_rand` tinyint(3) NOT NULL DEFAULT '5',
  `video_ch` tinyint(3) NOT NULL DEFAULT '1',
  `article_rec` int(11) NOT NULL DEFAULT '10',
  `article_dom` int(11) NOT NULL DEFAULT '1',
  `article_dom_image` varchar(255) NOT NULL DEFAULT 'http://www.pder.org/content/uploadfile/tpl_options//header.png',
  `article_rand` int(11) NOT NULL DEFAULT '10',
  `article_mend` tinyint(3) NOT NULL DEFAULT '5',
  `article_type` varchar(255) NOT NULL DEFAULT 'article',
  `article_ch` tinyint(3) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;");
       # Data for table "site"
       $siteDate = mysql_query("INSERT INTO `site` VALUES (1,'img/ea95339d4b2accf51337a6a12b630b30.jpg','POCENT文章开放系统','爱好,PHP,ASP','一个强大的三生元文章系统','www.pocent.com','© 2015 POCENT','<script type=\"text/javascript\" src=\"http://assets.changyan.sohu.com/upload/plugins/plugins.count.js\"><!-- 这里是评论条数的API接口!!!!重要!!!如果你也用的畅\r\n\r\n言,这里的代码请不要修改,将下面的代码覆盖成你的评论代码即可 -->\r\n</script>\r\n<div id=\"SOHUCS\"></div>\r\n<script charset=\"utf-8\" type=\"text/javascript\" src=\r\n\r\n\"http://changyan.sohu.com/upload/changyan.js\" ></script>\r\n<script type=\"text/javascript\">\r\n    window.changyan.api.config({\r\n        appid: \'cyrLHigJI\', \r\n\r\n        conf: \'prod_08ab6806c22995b0fb3efec20002a961\'\r\n    });\r\n</script> ','http://www.kuaizhan.com/passport/login?refer=http%3A%2F%2Fchangyan.kuaizhan.com\r\n\r\n%2Faudit%2Fcomments%2FTOAUDIT%2F1','1','在线音乐','http://file.juzimi.com/weibopic/jxzlmx2.jpg',8,1,'视频点播',3,12,4,5,1,10,1,'http://www.pder.org/content/uploadfile/tpl_options//header.png',10,6,'video',1);");
       # Structure for table "talk"
       mysql_query("DROP TABLE IF EXISTS `talk`");
       $TalkCreate = mysql_query("CREATE TABLE `talk` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `content` text NOT NULL,
  `times` varchar(255) NOT NULL DEFAULT '',
  `at` varchar(30) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;");
       # Date for table "talk"
       $TalkDate = mysql_query("INSERT INTO `talk` VALUES (1,'任何人都不要抱怨卑鄙和下流，因为在这世上只有卑鄙和下流才是威力无比的。','1442276390','不会痛的猫'),(2,'“我好羡慕火车”“为什么”“因为它们擦身而过都要好久”','1442276425','不会痛的猫'),(3,'知道自己知道什么，也知道自己不知道什么，这就是真正的知识。','1442276425','不会痛的猫'),(4,'人要多少年才能明白老师跟你讲的道理？也许是课堂上的一瞬，也许是一生。','1442336247','不会痛的猫'),(5,'如果能追随理想而生活，本着正直自由的精神、勇往直前的毅力、诚实不自欺的思想而行，则定能臻于至美至善的境地。','1442338136','不会痛的猫'),(6,'这些年来，离我最近的是你，离我最远的也是你，后来我终于明白，所有的悲欢都是我一个人的灰烬。','1442362173','不会痛的猫'),(7,'假如你避免不了，就得去忍受。不能忍受生命中注定要忍受的事情，就是软弱和愚蠢的表现。','1442362237','不会痛的猫'),(8,'要多少年才能换来你的成熟？','1442385490','不会痛的猫');");
       # Structure for table "user"
       mysql_query("DROP TABLE IF EXISTS `user`");
       $userCreate = mysql_query("CREATE TABLE `user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(20) NOT NULL DEFAULT '',
  `password` char(32) NOT NULL DEFAULT '',
  `nickname` varchar(20) NOT NULL DEFAULT '',
  `sig` varchar(255) NOT NULL DEFAULT '',
  `sex` tinyint(3) NOT NULL DEFAULT '0',
  `img` varchar(255) NOT NULL DEFAULT '',
  `email` varchar(255) NOT NULL DEFAULT '0',
  `qq_num` int(11) NOT NULL DEFAULT '123456',
  `user_mail` varchar(255) NOT NULL DEFAULT 'admin@pder.org',
  `user_bri` varchar(20) NOT NULL DEFAULT '简单、喜欢自由、追求向往的是大自然',
  `user_weibo` varchar(30) NOT NULL DEFAULT 'protty',
  `user_image_new` varchar(255) DEFAULT '0',
  `user_qzone` varchar(255) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;");
       # Data for table "user"
       $username = $_POST['username'];
       $password = md5($_POST['password']."PROTTY");
       $email = $_POST['email'];
       $userDate = mysql_query("INSERT INTO `user` VALUES (1,'$username','$password','$username','一个人至少拥有一个梦想，有一个理由去坚强。心若没有栖息的地方，到哪里都是在流浪。',2,'img/protty.jpg','$email',10245388,'admin@pder.org','一个人的青春是找不回来的','prometed','http://file.juzimi.com/weibopic/jxzlmx2.jpg','http://r.qzone.qq.com/cgi-bin/cgi_get_user_pic?openid=00000000000000000000000025367AE9&pic=1.jpg&key=1aadc80301b1ac6098e5df32e84b88bc');");
      
       
       
       if ($articleCreate && $articleDate && $ifyCreate && $IfyDate && $MssCreate && $MssDate && $siteCreate && $siteDate && $userCreate && $userDate && $LinkCreate && $linkDate && $TalkCreate && $TalkDate){
           # Cteate PROTTY.KEY
           $protty_date ="TIME:". date('Y-M-D H:I:S'). ",CREATE:user,PW:" . md5("password"). ",http->key->http://www.pder.org/pocent/key.php?keys=new keyInt()";
           $protty = file_put_contents("PROTTY.KEY", $protty_date);
           if ($protty){
               $config_int = <<<config
<?php
/**
 * @param Protty
 * @url www.pder.org
 **/
define(LOGIN_PROTTY, "PROTTY");
\$config = array(
    "host" => "$_POST[localhost]",
    "dbname" => "$_POST[dbname]",
    "username" => "$_POST[user]",
    "password" => "$_POST[pass]"
);
config;

               $contents    = iconv('GB2312', 'UTF-8', $config_int);
               $config_i = file_put_contents("config.php", $contents);
               if ($config_i){
                   $un = unlink("Install.php");
                   echo <<<end
<style type="text/css">*{ padding: 0; margin: 0; } div{ padding: 4px 48px;} body{ background: #fff; font-family: "微软雅黑"; color: #333;font-size:24px} h1{ font-size: 100px; font-weight: normal; margin-bottom: 12px; } p{ line-height: 1.8em; font-size: 36px } a,a:hover,{color:blue;}</style><div style="padding: 24px 48px;"> <h1>:)</h1><p><b>恭喜,安装已经成功!</b>！</p>
<meta http-equiv='refresh' content='3;url=../?i=index'>
end;
                   
               }
           }
       }else {
           mysql_query("drop table article");
           mysql_query("drop table ify");
           mysql_query("drop table message");
           mysql_query("drop table site");
           mysql_query("drop table user");
           mysql_query("drop table talk");
           mysql_query("drop table link");
           echo "数据已被清空,现在你可以重新安装了!";
       }
   }
}
?>
<?php if ($_GET['protty']=='Install'){?>
<style>
.smart-green {
	margin-left: auto;
	margin-right: auto;
	max-width: 500px;
	background: #F8F8F8;
	padding: 30px 30px 20px 30px;
	font: 12px Arial, Helvetica, sans-serif;
	color: #666;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.smart-green h1 {
	font: 24px "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding: 20px 0px 20px 40px;
	display: block;
	margin: -30px -30px 10px -30px;
	color: #FFF;
	background: #9DC45F;
	text-shadow: 1px 1px 1px #949494;
	border-radius: 5px 5px 0px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	-moz-border-radius: 5px 5px 0px 0px;
	border-bottom: 1px solid #89AF4C;
}

.smart-green h1>span {
	display: block;
	font-size: 11px;
	color: #FFF;
}

.smart-green label {
	display: block;
	margin: 0px 0px 5px;
}

.smart-green label>span {
	float: left;
	margin-top: 10px;
	color: #5E5E5E;
}

.smart-green input[type="text"], .smart-green input[type="email"],
	.smart-green textarea, .smart-green select {
	color: #555;
	height: 30px;
	line-height: 15px;
	width: 100%;
	padding: 0px 0px 0px 10px;
	margin-top: 2px;
	border: 1px solid #E5E5E5;
	background: #FBFBFB;
	outline: 0;
	-webkit-box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
	box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
	font: normal 14px/14px Arial, Helvetica, sans-serif;
}

.smart-green textarea {
	height: 100px;
	padding-top: 10px;
}

.smart-green select {
	background: url('down-arrow.png') no-repeat right,
		-moz-linear-gradient(top, #FBFBFB 0%, #E9E9E9 100%);
	background: url('down-arrow.png') no-repeat right,
		-webkit-gradient(linear, left top, left bottom, color-stop(0%, #FBFBFB),
		color-stop(100%, #E9E9E9));
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	text-indent: 0.01px;
	text-overflow: '';
	width: 100%;
	height: 30px;
}

.smart-green .button {
	background-color: #9DC45F;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-border-radius: 5px;
	border: none;
	padding: 10px 25px 10px 25px;
	color: #FFF;
	text-shadow: 1px 1px 1px #949494;
}

.smart-green .button:hover {
	background-color: #80A24A;
}
</style>
<form action="Install.php?protty=go" method="post" class="smart-green">
	<h1>
		安装 <span>开始你的POCENT旅行...</span>
	</h1>
	<label> <span>主机地址 :</span> <input id="localhost" type="text"
		name="localhost" value="localhost" />
	</label> <label> <label> <span>MySQL账号 :</span> <input id="user"
			type="text" name="user" value="root" />
	</label> <label> <span>MySQL密码 :</span> <input id="pass" type="text"
			name="pass" value="root" />
	</label> <label> <span>数据库名(不存在将自动创建) :</span> <input id="dbname" type="text"
			name="dbname" value="dbname" />
	</label> <label> <span>管理账号 :</span> <input id="username" type="text"
			name="username" value="admin" />
	</label> <label> <span>管理密码 ：</span> <input id="password" type="text"
			name="password" value="admin" />
	</label> <label> <span>邮箱(重要,找回密码用,不可修改)：</span> <input id="email"
			type="email" name="email" value="admin@pder.org" />
	</label>
		<center>
			<input name="submit" style="width: 100%; margin-top: 10px;"
				type="submit" class="button" value="开始安装" />
		</center>
	</label>
</form>
<?php }?>