|
- <!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=<?php echo $cfg_soft_lang; ?>">
- <title>更新栏目</title>
- <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
- <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
- <link rel="stylesheet" href="../static/web/css/admin.css">
- </head>
- <body background="../static/web/img/allbg.gif" leftmargin='8' topmargin='8'>
- <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3">
- <form name="form1" action="makehtml_list_action.php" method="get" target='stafrm'>
- <tr>
- <td height="26" colspan="2" background='../static/web/img/tbg.gif'>
- <table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
- <tr>
- <td width="30%" height="18" style="padding-left:10px">更新栏目</td>
- <td width="70%" align="right">
- <a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新文档</a>
- <a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="108" valign="top" bgcolor="#ffffff">选择栏目:</td>
- <td width="377" valign="top" bgcolor="#ffffff">
- <?php
- if(empty($cid)) $cid=0;
- $tl = new TypeLink($cid);
- $typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1);
- echo "<select name='typeid' style='width:260px'>\r\n";
- if($cid=='0') echo "<option value='0' selected='1'>更新所有栏目</option>\r\n";
- echo $typeOptions;
- echo "</select>";
- ?>
- </td>
- </tr>
- <tr>
- <td height="26" valign="top" bgcolor="#ffffff">每次最大创建页数:</td>
- <td height="26" valign="top" bgcolor="#ffffff"><input name="maxpagesize" type="text" id="maxpagesize" value="50" size="10"> 个文件</td>
- </tr>
- <tr>
- <td height="26" valign="top" bgcolor="#ffffff">是否更新子栏目:</td>
- <td height="26" valign="top" bgcolor="#ffffff">
- <label><input name="upnext" type="radio" class="np" value="1" checked='1' />
- 更新子级栏目</label>
- <label><input type="radio" name="upnext" class="np" value="0">
- 仅更新所选栏目</label>
- </td>
- </tr>
- <tr>
- <td height="26" colspan="2" bgcolor="#ffffff" align="center">
- <button name="b112" type="button" class="btn btn-success" onClick="document.form1.submit();">开始更新</button>
- </td>
- </tr>
- </form>
- <tr bgcolor="#f8f8f8">
- <td height="26" colspan="2">
- <table width="100%" class="table table-borderless">
- <tr>
- <td width="74%">进行状态:</td>
- <td width="26%" align="right">
- <script language='javascript'>
- function ResizeDiv(obj, ty) {
- if (ty == "+") document.all[obj].style.pixelHeight += 50;
- else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
- }
- </script>
- [<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>]
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td colspan="2" id="mtd">
- <div id='mdv' style='width:100%;height:350px;'>
- <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
- </div>
- </td>
- </tr>
- </table>
- </body>
- </html>
|