<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>信息平台</title>
        <link rel="stylesheet" href="/css/information-system3.css" type="text/css" />
        <script type="text/javascript" src="/js/jquery.js"></script>
        <script type="text/javascript" src="/js/bootstrap.min.js"></script>
        <script type="text/javascript">
        function tmp(data) {
            data_json = JSON.parse(data);
            var html_s = "<ol>";
            for (item in data_json.success_url) {
                html_s += "<li>"+data_json.success_url[item]+"</li>";
            }
            html_s += "</ol>";
            var html_f = "<ol>";
            for (itemf in data_json.failure_url) {
                html_f += "<li>"+data_json.failure_url[itemf]+"</li>";
            }
            html_f += "</ol>";
            $("#failure_cnt").html(data_json.failure_cnt);
            $("#success_cnt").html(data_json.success_cnt);
            $("#success_url").html("").append(html_s);
            $("#failure_url").html("").append(html_f);
        }
        </script>
    </head>
<div class="container-fluid">
<iframe name="hidden_iframe" id="hidden_iframe" style="display: none;"></iframe>
    <form role="form" class="col-md-12" action="/info.php/information/batch_update_fun" id="batch_url" name="batch_url" target="hidden_iframe" method="post">
        <div class="form-group">
            <label for="url" >链接地址:(每个链接回车换行即可)</label>
            <textarea id="url" name="url" class="form-control" rows=20 ></textarea>
        </div>
        <div class="form-group text-right">
            <input type="submit" class="btn btn-primary text-right " ></input>
        </div>
    </form>
    <div class="col-md-12">
        <label>更新失败:</label><label class="text-danger" id="failure_cnt">0</label>
        <div class="" id="failure_url">
        -------------------------------
        </div>
        <label>更新成功:</label><label class="text-success" id="success_cnt">0</label>
        <div class="" id="success_url">
        -------------------------------
        </div>
    </div>
</div>

</body>
</html>
