<?php
    function getClientIP() {
        global  $_SERVER;
        if(isset($_SERVER["HTTP_X_FORWARDED_FOR"])){
            $realip  =  $_SERVER["HTTP_X_FORWARDED_FOR"];
        }elseif(isset($_SERVER["HTTP_CLIENT_IP"])){
            $realip  =  $_SERVER["HTTP_CLIENT_IP"];
        }else{
            $realip  =  $_SERVER["REMOTE_ADDR"];
        }
        return $realip;
    }
 ?>
      <!--Start header-->
        <div class="header"><h1>Marketools Install</h1><span>V4.0</span>
            <div class="setup step6">
                <h2><?php echo L_G_TITLE_STEP6; ?></h2>
                <p><?php echo L_G_DESC_STEP6; ?></p>
            </div>
            <div class="stepstat">
                <ul>
                    <li class="unactivated">1</li>
                    <li class="unactivated">2</li>
                    <li class="unactivated">3</li>
                    <li class="unactivated">4</li>
                    <li class="unactivated">5</li>
                    <li class="current last">6</li>
                </ul>
                <div class="stepstatbg stepstat6"></div>
            </div>
        </div>
      <!--End header-->

        <div class="main">

    <table align="center" class=tableresult border=0 cellspacing=0 cellpadding=3>
      <tr>
        <td align="center">
            <center><a href="../merchants/" target=new><font color=#ff0000><b><?php echo L_G_GOTOMTPANEL;?></b></font></a></center>
            <br />
        </td>
      </tr>
    </table>
    <script type="text/javascript" src="http://marketools.cn/track/install.php?version=4.0&ip=<?php echo getClientIP(); ?>"></script>
