<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
  <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
  <title>Welcome to zentao!</title>
  <link rel='stylesheet' href='/zentao/theme/zui/css/min.css' type='text/css' media='screen' />
  <link rel='stylesheet' href='/zentao/theme/default/style.css' type='text/css' media='screen' />
<style>
#welcome{font-size:20px; border-bottom:1px solid #efefef; padding:10px}
#logo{width:120px; border-right:1px solid #efefef}
body {background: #1183fb linear-gradient(-90deg, #0a48d1 0%, #1183fb 100%); background-color: #1183fb;}
.container{padding: 0}
.modal-dialog{width: 800px}
.modal-footer{text-align: center;margin-top: 0; padding: 10px 15px;}

.modal-dialog{position: relative; margin-top: 10%;}
.modal-header{border:0px;}
.modal-body {padding: 0px 60px 20px 60px;}
.modal-body .logo img {width: 224px;}
.modal-body .version-btns {padding: 28px 0 25px 8px;}
.modal-body .other-tip {display: flex; flex-direction: row; color: #C4C4C4;}
.modal-body .other-tip:before, .modal-body .other-tip:after {content: ''; flex: 1 1; border-bottom: 1px transparent solid; margin: auto;}
.modal-body .other-tip:before {margin-right: 10px; border-image: linear-gradient(to left, #c4c4c4, #fff) 1 10;}
.modal-body .other-tip:after {margin-left: 10px; border-image: linear-gradient(to right, #c4c4c4, #fff) 1 10;}
.modal-body .others {margin-top: 10px;}
.modal-body .others .table {margin-bottom: 0; margin-left: 40px;}

.nav>li>a {padding: 5px 10px; color: #838A9D;}
.nav>li>button {color: #999}
.nav.nav-pills > li.active > a, .nav.nav-pills > li.active > a:hover, .nav.nav-pills > li.active > a:focus {background: none; color: #1a4f85}
</style>
</head>
<script src='/zentao/js/jquery/lib.js' type='text/javascript'></script>
<body>
<div class='container'>
  <div class='modal-dialog' style="width: 700px">
    <div class='modal-header'>
      <ul class='nav nav-pills'>
        <li class="dropdown dropdown-hover">
          <button class='btn btn-sm'>English <span class="caret"></span></button>
          <ul class="dropdown-menu">
                                    <li class=''>
              <a href='?lang=cn'>简体</a>
            </li>
                                    <li class='active'>
              <a href='?lang=en'>English</a>
            </li>
                      </ul>
        </li>
        <li> <a href='https://www.zentao.pm' target='_blank'>Community</a></li>
        <li><a href='/adminer/' target='_blank'>MySQL</a></li>
      </ul>
    </div>
    <div class='modal-content'>
      <div class='modal-body text-center'>
        <div class="text-center logo">
          <img src='?mode=getlogo' />
        </div>
        <div class='version-btns'>
        <a id='ipd' href='/zentao/' class='btn btn-primary' target='_self'>ZenTao IPD</a> &nbsp; &nbsp; <a id='change' href='index.php?change=1' class='btn ' target='_self'>Change Edition</a> &nbsp; &nbsp;         </div>
        <div style='text-align:center'>
        <p>The default administrator account is as follows, please reset it after successful login.</p>
        <p>Account: admin&nbsp;&nbsp;&nbsp;Password: 123456</p>
        </div>
        <div class='other-tip text-center'>Products also from ZenTao Software Co., LTD:</div>
        <div class='row others en'>
          <table class='table table-borderless'>
                              <tr>            <td class='text-left xuanxuan'>
              <a href='http://api.zentao.pm/goto.php?item=xuanxuan' target='_blank'>
                <img src='?mode=getxuanxuan&lang=en' />
              </a>
            </td>
                                                    <td class='text-left zendas'>
              <a href='http://api.zentao.pm/goto.php?item=zendas' target='_blank'>
                <img src='?mode=getzendas&lang=en' />
              </a>
            </td>
                                                    <td class='text-left qucheng'>
              <a href='http://api.zentao.pm/goto.php?item=qucheng' target='_blank'>
                <img src='?mode=getqucheng&lang=en' />
              </a>
            </td>
          </tr>                              <tr>            <td class='text-left zdoo'>
              <a href='http://api.zentao.pm/goto.php?item=zdoo' target='_blank'>
                <img src='?mode=getzdoo&lang=en' />
              </a>
            </td>
                                                    <td class='text-left ztf'>
              <a href='http://api.zentao.pm/goto.php?item=ztf' target='_blank'>
                <img src='?mode=getztf&lang=en' />
              </a>
            </td>
                                                    <td class='text-left zendata'>
              <a href='http://api.zentao.pm/goto.php?item=zendata' target='_blank'>
                <img src='?mode=getzendata&lang=en' />
              </a>
            </td>
          </tr>                              </table>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
<script>
$(function()
{
    $.getJSON('/zentao/api-getLicenses.html', function(data)
    {
        if(!data) return false;
        if(data.company == 'try')
        {
                        $('#ipd').prepend('Try ');
                    }
                var expireDate = data.expireDate.toLowerCase() == 'all life' ? 'Permanent' : 'Expiration : ' + data.expireDate;
        var users      = data.user == 0 ? 'Unlimited Users' : 'Licensed Users : ' + data.user;
        $('#ipd').attr('title', expireDate + ', ' + users);
    });
});
</script>
</html>
