php7.0.5

来源:互联网 发布:java gbk转utf8 编辑:程序博客网 时间:2024/04/18 17:35
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title>GanKenrin Test</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="/jquery/jquery-1.11.1.min.js"></script>
<!--<script src="/jquery-3.2.1.min.js"></script>-->


<style>
    p { width:400px; }
</style>




<script>
setTimeout(function() {
    // IE
    if(document.all) {
        document.getElementById("clickMe").click();
    }
    $("#bank6").removeAttr('checked');
    $("#bank4").attr('checked', 'true');


}, 1500);
</script>


    </head>
    <body>
        <?php
        // put your code here
        date_default_timezone_set('Asia/Tokyo');
        $aa=60;
//        echo 'hello '.'xxx'.$aa."\n";
        echo 'hello '.'ganTest'.$aa."</br>";
//        echo'hello</br>'; 
//        echo'world!';
        
//        echo date('Y-m-d H:i:s',time())."<\n>";
        //echo date('Y-m-d H:i:s',time())."</br>";
        
//        echo $showtime=date("Y-m-d H:i:s");
        $w = date("w");
        $week_name = array("日", "月", "火", "水", "木", "金", "土");
        echo date("Y-m-d[$week_name[$w]]  H:i:s")."</br>";
        echo "PHP Version:".phpversion()."</br>";
        ?>
        <a href="http://www.sinmeng.net" id="clickMe" onclick="alert('clicked');">顔建霖試験</a>
        <input type="radio" checked="checked" id="bank6"></input>
        <input type="radio" id="bank4"></input>
        
        
        <button>Toggle</button>
        <input type="checkbox" />
        <p style="display:none">
            This is the paragraph to end all paragraphs.  You
            should feel <em>lucky</em> to have seen such a paragraph in
            your life.  Congratulations!
        </p>
        
        <script>
            $("button").click(function () {
                $("p").slideToggle("slow");
            });
            
            $("input").click(function () {
                $("p").slideToggle("slow");
            });
        </script>
        
        <button>First</button>
        <button>Second</button>
        <button>Third</button>
 
        <script>
            $("button").click(function () {
              $(this).replaceWith( "<div>" + $(this).text() + "</div>" );
            });
        </script>
        


    </body>
</html>
原创粉丝点击