<table border="0" cellpadding="0" cellspacing="0" class="adminlist">
	<thead>
	<tr>
    	<th><input id="toggle" type="checkbox" value="" /></th>
    	<th>变量名称</th>
    	<th>变量值</th>
    	<th>变量描述</th>
    	<th>操作</th>
    </tr>
    </thead>
    <tbody>
    	<?php foreach($list as $g){ if(!@$a){$a=0;}?>
    	<tr>
        <td><input name="select_id[]" type="checkbox" class="checkbox" id="cb<?=$a++?>" value="<?=$g->global_cfg_id;?>"/></td>
        <td><?=$g->global_name;?></td>
        <td><?=$g->global_value;?></td>
        <td><?=$g->global_des;?></td>
        <td><?=html::anchor(BASEURI."cfg/edit/".$g->global_cfg_id,"编辑")?>&nbsp;&nbsp;<?=html::anchor(BASEURI."cfg/delete/".$g->global_cfg_id,'删除',array('onclick'=>"return confirm('请确认是否删除')"))?></td>
        </tr>
        <?php }?>
    </tbody>
    <tfoot>
    <tr>
    	<td colspan="5">
        	<input type="button" name="BC" value="删除" class="submit" onclick="select_control('<?=BASEURI?>cfg/delete','请确是否删除')">
                <input type="button"  class="submit" value="添加" onclick="button_location('<?=BASEURI?>cfg/add')" accesskey="N" />

        </td>
    </tr>
    </tfoot>
</table>