<?php
if(!defined('MONKEYMAO')) {
	exit('Access Denied');
}
?>
<tr><td height="40" style="color:#c3e3f9"><b><?=$lang['action']?><?=$lang['checkinfo']?></b></td></tr><tr><td height="20">&nbsp;</td></tr><tr><td>
<table width="100%" border="0" align="center" cellpadding="10" cellspacing="0" bgcolor="#FFFFFF">

      <tr>
        <td><table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
            <tr class="header">
              <td class="header"><?=$lang['tips']?></td>
            </tr>
            <tr>
              <td class="tdbg"><?=$lang['preparation']?></td>     
            </tr>
        </table>
		<br>
	<table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
            <tr align="center">
              <td class="header">&nbsp;</td>
              <td class="header"><?=$lang['must_set']?></td>
              <td class="header"><?=$lang['best_set']?></td>
			  <td class="header"><?=$lang['now_set']?></td>
            </tr>
            <tr align="center">
              <td class="tdbg"><?=$lang['os']?></td>
              <td class="tdbg2"><?=$lang['unlimited']?></td>
              <td class="tdbg">UNIX/Linux/FreeBSD</td>
			  <td class="tdbg2"><?=$os?></td>
            </tr>
            <tr align="center">
              <td class="tdbg"><?=php_v?></td>
              <td class="tdbg2">4.0.6+</td>
              <td class="tdbg">4.3.5+</td>
			  <td class="tdbg2"><?=$php_version?></td></tr>
            <tr align="center">
              <td class="tdbg"><?=$lang['upload']?></td>
              <td class="tdbg2"><?=$lang['support']?></td>
              <td class="tdbg"><?=$lang['support']?></td>
			  <td class="tdbg2"><?=$file_uploads?></td></tr>
            <tr align="center">
              <td class="tdbg"><?=$lang['gd']?></td>
              <td class="tdbg2"><?=$lang['support']?></td>
              <td class="tdbg"><?=$lang['support']?></td>
			  <td class="tdbg2"><?=$gdinfo?></td></tr>
            <tr align="center">
              <td class="tdbg"><?=$lang['url_fopen']?></td>
              <td class="tdbg2"><?=$lang['support']?></td>
              <td class="tdbg"><?=$lang['support']?></td>
			  <td class="tdbg2"><?=$url_fopen?></td></tr>
            <tr align="center">
              <td class="tdbg"><?=$lang['mysql']?></td>
              <td class="tdbg2">3.23+</td>
              <td class="tdbg">3.23+</td>
			  <td class="tdbg2"><?=$mysql?></td></tr>
            <tr align="center">
              <td class="tdbg"><?=$lang['mkdir']?></td>
              <td class="tdbg2"><?=$lang['support']?></td>
              <td class="tdbg"><?=$lang['support']?></td>
			  <td class="tdbg2"><?=$mkdir?></td></tr>
        </table>	
			<br>
	<table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
            <tr align="center">
              <td class="header"><?=$lang['folders']?></td>
              <td class="header"><?=$lang['must_set']?></td>
              <td class="header"><?=$lang['now_set']?></td>
            </tr>
            <tr align="center">
              <td class="tdbg2">config.inc.php</td>
              <td class="tdbg"><?=$lang['readable']?></td>
			  <td class="tdbg2"><?=$checkwrite['config']?></td>
            </tr>
            <tr align="center">
              <td class="tdbg2">./cache</td>
              <td class="tdbg"><?=$lang['writeable']?></td>
			  <td class="tdbg2"><?=$checkwrite['cache']?></td>
            </tr>
            <tr align="center">
              <td class="tdbg2">./cache/themes</td>
              <td class="tdbg"><?=$lang['writeable']?></td>
			  <td class="tdbg2"><?=$checkwrite['themes']?></td>
            </tr>
            <tr align="center">
              <td class="tdbg2">./flashshow</td>
              <td class="tdbg"><?=$lang['writeable']?></td>
			  <td class="tdbg2"><?=$checkwrite['flashshow']?></td>
            </tr>
            <tr align="center">
              <td class="tdbg2">./import</td>
              <td class="tdbg"><?=$lang['writeable']?></td>
			  <td class="tdbg2"><?=$checkwrite['import']?></td>
            </tr>
            <tr align="center">
              <td class="tdbg2"><?=$attachdir?></td>
              <td class="tdbg"><?=$lang['writeable']?></td>
			  <td class="tdbg2"><?=$checkwrite['uploads']?></td>
            </tr>
		    </table>
		</td>
      </tr>
      <tr>
        <td><form id="form1" name="form1" method="post" action="install.php">
		<input type="hidden"  name="step" value="dbset">
            <div align="center">
              <input type="submit" name="next" value="<?=$lang['next']?>" />
            </div>
        </form></td>
      </tr>
    </table>