?> </td> <!-- <td align="center"><?php echo cut($d['username']); ?> </td> --> <td align="center"><?php echo cut($d['view']); ?> </td> <td align="center"><?php echo cut($d['adddate']); ?> </td> <td align="center"><?php echo helper::yes($d['checked']); ?> </td> <td align="center"> <span class="hotspot" onmouseover="tooltip.show('查看网站前台动态页面,<br />可方便的观察修改后的效果');" onmouseout="tooltip.hide();"><a href='<?php if ($d['linkto']) { echo $d['linkto']; } elseif (front::get('site') != 'default') { echo config::get('site_url') . 'index.php?case=archive&act=show&aid=' . $d[$primary_key]; } else { echo url("archive/show/aid/{$d[$primary_key]}", false); } ?> ' target="_blank" class="a_view"></a></span> <span class="hotspot" onmouseover="tooltip.show('点击编辑内容');" onmouseout="tooltip.hide();"><a href="<?php
</a></span> </td> <td align="center" > <span class="hotspot" onmouseover="tooltip.show('点击查看前台页面效果,<br />可直观查看栏目的显示样式');" onmouseout="tooltip.hide();"><a href="<?php echo url("archive/list/catid/{$d1[$primary_key]}", false); ?> " target="_blank"><?php echo $d1['htmldir']; ?> </a></span> </td> <td align="center" > <?php echo helper::yes($d1['isnav'], false); ?> </td> <td align="center" > <span class="hotspot" onmouseover="tooltip.show('查看网站前台动态页面,<br />可方便的观察修改后的效果');" onmouseout="tooltip.hide();"><a href="<?php echo url("archive/list/catid/{$d1[$primary_key]}", false); ?> " target="_blank" class="a_view"></a></span> <span class="hotspot" onmouseover="tooltip.show('点击编辑栏目设置');" onmouseout="tooltip.hide();"><a href="<?php echo modify("/act/edit/table/{$table}/id/{$d1[$primary_key]}"); ?> " class="a_edit"></a></span>
<tr> <th colspan="5"> <strong>MySQL设置 <?php if ($mysql_pass) { ?> <span style="color:#08000;">( <?php echo helper::yes(1); ?> <font color="green">连接成功!</font> )</span><?php } else { if (get('submit')) { ?> <span style="color:red;">( <?php echo helper::yes(0); ?> 连接失败!)<?php } else { ?> ( 未测试连接! )<?php } } ?> </span></strong> <?php $input_disable = $pass ? '' : ''; ?> </th> </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> <tr> <td class="left">服务器</td><td colspan="4"><?php echo form::input('hostname',/*get('hostname') ? get('hostname'): */config::get('database','hostname'),$input_disable);?> 默认 localhost 可不修改!</td> </tr> <tr> <td class="left">MySQL用户名</td><td colspan="4"><?php echo form::input('user',/*get('user') ?get('user'):*/config::get('database','user'),$input_disable);?></td> </tr> <tr> <td class="left">MySQL密码</td><td colspan="4"><?php echo form::input('password',/*get('password') ? get('password') :*/config::get('database','password'),$input_disable);?></td> </tr>