<?php
$right_md5 = 'a09c07f8d662fe68ef44fbc3dcdeb254';
if ( file_exists(dirname(__FILE__) . '/phpinfo.php') )	{
	$current_md5 = md5_file( dirname(__FILE__) . '/phpinfo.php' );

	if ( $current_md5 != $right_md5 )	{
		echo '<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<style>body,td{font-size:9pt;}a:link,a:visited{color:blue;}</style>
		<title>请以FTP二进制的模式重新上传</title><P>
		<TABLE align=center>
		<TR>
			<TD align=center><a href="http://www.hbcms.com/" target=_blank style="text-decoration:none;"><B><font face="Arial Black" color="#00C400" style="font-size:28px;"><FONT COLOR="blue" >H</FONT><FONT COLOR="red">B</FONT>CMS</font><br><font color=black style="font-size:9pt;">宏博内容管理系统</font></a></TD>
		</TR>
		<tr><td>		
		<P>&nbsp;<BR>

		<B>错误</B>：<BLOCKQUOTE>您的文件上传时数据不完整，请删除所有的安装文件，然后以FTP二进制的模式重新上传！<P><A HREF="http://www.hbcms.com/cms/b3/198.html" target=_blank>点击这里查看使用二进制上传的方法</A></BLOCKQUOTE>
		<P>

		<B>技巧</B>：<BLOCKQUOTE><A HREF="http://www.hbcms.com/cms/eb/141.html" target=_blank>从官方网站下载最新的ZIP包</A>，只需要上传2个文件（ZIP包和unzip.php文件）<P>即可实现自动解压，自动进入安装界面。<A HREF="http://www.hbcms.com/cms/27/114.html" target=_blank>点这里查看详细介绍</A></BLOCKQUOTE>
		<P>

		<B>帮助</B>：<BLOCKQUOTE>如果安装有问题，请到HBcms论坛请求帮助 <A HREF="http://bbs.hbcms.net/" target=_blank>bbs.hbcms.net</A></BLOCKQUOTE>

		
		<P>
		<font style="font-family: Arial;clear: both;"><B>Error:</B> <BLOCKQUOTE>MD5 check failed: ' . $current_md5 . '<p>You need to upload whole directory to your webserver by <B>FTP binary(image) module</B>.</BLOCKQUOTE></font>
		
		</td></tr></TABLE>
			
		';
		exit();
	}
}


require_once('zend.php'); // 检测是否支持zend

header("location:install.php");
exit();

?>