|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="<?php echo $cfg_soft_lang;?>">
- <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
- <title>自定义搜索管理</title>
- <script src="../static/web/js/jquery.min.js"></script>
- <script src="js/main.js"></script>
- <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
- <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
- <link rel="stylesheet" href="../static/web/css/admin.css">
- </head>
- <body>
- <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3">
- <form name="form1" action="mychannel_edit.php" method="post" target="stafrm">
- <input type="hidden" name="mid" value="<?php echo $mid?>">
- <input type="hidden" name="maintable" value="<?php echo $channel['maintable']?>">
- <input type="hidden" name="addontable" value="<?php echo $channel['addtable'];?>">
- <input type="hidden" name="step" value="<?php echo $step?>">
- <input type="hidden" name="dopost" value="modifysearch">
- <tr>
- <td bgcolor="#f5f5f5" colspan="2">
- <a href="mychannel_main.php">内容模型管理</a> > 自定义搜索管理
- <span class="float-right mr-2"><a href="mychannel_edit.php?dopost=del&mid=<?php echo $mid;?>">删除自定义搜索</a></span>
- </td>
- </tr>
- <tr>
- <td width="260">频道id:</td>
- <td><?php echo $mid;?></td>
- </tr>
- <tr>
- <td>频道名称:<br></td>
- <td><?php echo $channel['typename']?></td>
- </tr>
- <?php
- if ($channel['issystem'] >= 0) {
- ?>
- <tr>
- <td>主表可供自定义搜索的字段<br>
- <span id="help2">标题、关键词、摘要为默认选项,不用选择</span></td>
- <td><?php echo $mainfields;?></td>
- </tr>
- <?php }?>
- <tr>
- <td>附件表可供自定义搜索的字段:<br>
- <span id="help4">这里的字段是程序依据字段类型自动选择生成的</span></td>
- <td><?php echo $addonfields;?></td>
- </tr>
- <tr>
- <td>自定义搜索结果页模板<br>
- <span id="help5" style="display:none">只填写文件名,且文件必须在templets/default目录中</span></td>
- <td><input type="text" name="template" value="<?php echo $template;?>" class="biz-input-md"></td>
- </tr>
- <tr>
- <td align="center" bgcolor="#fbfce2" colspan="2" class="py-2">
- <button type="submit" class="btn btn-success btn-sm">保存</button>
- <button type="button" onclick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button>
- </td>
- </tr>
- </form>
- <tr>
- <td colspan="2">结果:</td>
- </tr>
- <tr>
- <td colspan="2" id="mtd">
- <div id="mdv" class="biz-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div>
- </td>
- </tr>
- </table>
- </body>
- </html>
|