<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="admin/admin/template/style/admin.css" rel="stylesheet" type="text/css" />
<script src="include/js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	$(".tid option[class='hidden']").remove();
});

</script>
</head>

<body>
<div class="maintop">当前位置：<?php echo $toptxt ?></div>
<div class="main">
	<div class="info">
    <form action="?c=ld_html&a=clear&t=1" method="post"><input name="molds" type="hidden" value="article" />
    <dl style="border:0; padding:10px 0"><dt>更新<?php echo moldsinfo('article','moldname'); ?>：</dt><dd><select name="tid" class="tid">
    	<option value=''>所有栏目</option>
        <?php foreach($typesdb as $v){ ?>
        <option value="<?php echo $v['tid']; ?>"<?php if($v['molds']!='article')echo ' class="hidden"' ?>><?php echo str_repeat('—',$v['n']).$v['name']; ?></option>
        <?php } ?>
    </select></dd><dd>指定ID范围：</dd><dd><input name="id1" type="text" class="int" style="width:30px;" /> - <input name="id2" type="text" class="int" style="width:30px;" /></dd>
    <dd><input type="submit" value="更新html" class="btni" style="height:26px;" /></dd>
    </dl>
    </form>
    <form action="?c=ld_html&a=clear&t=1" method="post"><input name="molds" type="hidden" value="product" />
    <dl style="padding:10px 0"><dt>更新<?php echo moldsinfo('product','moldname'); ?>：</dt><dd><select name="tid" class="tid">
    	<option value=''>所有栏目</option>
        <?php foreach($typesdb as $v){ ?>
        <option value="<?php echo $v['tid']; ?>"<?php if($v['molds']!='product')echo ' class="hidden"' ?>><?php echo str_repeat('—',$v['n']).$v['name']; ?></option>
        <?php } ?>
    </select></dd><dd>指定ID范围：</dd><dd><input name="id1" type="text" class="int" style="width:30px;" /> - <input name="id2" type="text" class="int" style="width:30px;" /></dd>
    <dd><input type="submit" value="更新html" class="btni" style="height:26px;" /></dd>
    </dl>
    </form>
    <form action="?c=ld_html&a=clear&t=2" method="post">
    <dl style="padding:10px 0"><dt>更新栏目：</dt><dd><select name="tid">
    	<option value=''>所有栏目</option>
        <?php foreach($typesdb as $v){ ?>
        <option value="<?php echo $v['tid']; ?>"><?php echo str_repeat('—',$v['n']).$v['name']; ?></option>
        <?php } ?>
    </select></dd><dd><input type="submit" value="更新栏目html" class="btni" style="height:26px;" /></dd></dl>
    </form>
    <?php if(funsinfo('member','isshow')==1){ ?>
    <form action="?c=ld_html&a=clear&t=3" method="post">
    <dl style="padding:10px 0"><dt>指定专题：</dt><dd><select name="sid">
    	<option value=''>所有专题</option>
        <?php foreach($specials as $s){?>
        <option value="<?php echo $s['sid']; ?>"><?php echo $s['name']; ?></option>
        <?php } ?>
    </select></dd><dd><input type="submit" value="更新专题html" class="btni" style="height:26px;" /></dd></dl>
    </form>
    <?php } ?>
    
    <form action="?c=ld_html&a=clear&t=4" method="post">
    <dl style="padding:10px 0"><dt>更新自定义页面：</dt><dd><input type="submit" value="更新自定义页面html" class="btni" style="height:26px;" /></dd></dl>
    </form>
    
    <form action="?c=ld_html&a=clear&t=99" method="post">
    <dl style="padding:10px 0"><dt>更新首页：</dt><dd><input type="submit" value="更新首页html" class="btni" style="height:26px;" /></dd></dl>
    </form>
    
    <form action="?c=ld_html&a=clear&t=0" method="post">
    <dl style="padding:10px 0"><dt>更新全部：</dt><dd><input type="submit" value="一键更新所有html" class="btni" style="height:26px;" /></dd></dl>
    </form>
    
    </div>
</div>
</body>
</html>
