Ejemplo n.º 1
0
 </tr>
<tr>
 <td><?php 
        echo '/install';
        ?>
</td> <td colspan="4"><?php 
        echo helper::yes(front::file_mode_info(ROOT . '/install') >= 2);
        ?>
</td>
 </tr>
 <tr>
 <td><?php 
        echo '/upload';
        ?>
</td> <td colspan="4"><?php 
        echo helper::yes(front::file_mode_info(ROOT . '/upload') >= 2);
        ?>
</td>
 </tr>
 </tbody>
 

 <tbody>

 <tr>
 <th colspan="5">
 
  
<strong>MySQL设置  <?php 
        if ($mysql_pass) {
            ?>
Ejemplo n.º 2
0
 <th>目录</th><th colspan="4">可写</th>
 </tr>
 <tr>
 <td><?php echo '/config';?></td> <td colspan="4"><?php echo helper::yes(front::file_mode_info(ROOT.'/config')>=2);  ?></td>
 </tr>
   <tr>
 <td><?php echo '/cache';?></td> <td colspan="4"><?php echo helper::yes(front::file_mode_info(ROOT.'/cache')>=2);  ?></td>
 </tr>
   <tr>
 <td><?php echo '/data';?></td> <td colspan="4"><?php echo helper::yes(front::file_mode_info(ROOT.'/data')>=2);  ?></td>
 </tr>
<tr>
 <td><?php echo '/install';?></td> <td colspan="4"><?php echo helper::yes(front::file_mode_info(ROOT.'/install')>=2);  ?></td>
 </tr>
 <tr>
 <td><?php echo '/upload';?></td> <td colspan="4"><?php echo helper::yes(front::file_mode_info(ROOT.'/upload')>=2);  ?></td>
 </tr>
 </tbody>
 

 <tbody>

 <tr>
 <th colspan="5">
 
  
<strong>MySQL设置  {if $mysql_pass}<span style="color:#08000;">( <?php echo helper::yes(1); ?> <font color="green">连接成功!</font> )</span>{else}{if get('submit')}<span style="color:red;">( <?php echo helper::yes(0); ?> 连接失败!){else}( 未测试连接! ){/if}{/if}</span></strong>
<?php $input_disable=$pass?'':''; ?>

 </th>
 </tr>