This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <table width="400" align="center"> | |
| <tr> | |
| <td><?echo "共 $totalpage 頁,現在是第 $page 頁";?> | |
| </td> | |
| <td> | |
| <a href="<?=$PHP_SELF?>?page=1">最前頁</a> | |
| <?php | |
| if($page != 1) | |
| { | |
| echo "<a href=\"$PHP_SELF?page=" . ($page-1) . "\">上一頁</a>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| include("../config.php"); | |
| $result = mysql_query("SELECT * FROM member"); | |
| $total = mysql_num_rows($result); | |
| //若無設定$page, 則預設為1 | |
| if(!isset($page)) (int)$page=1; | |
| //每頁設定顯示筆數 | |
| $page_num = 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| sudo docker run -d -p 4444:4444 --name selenium-hub selenium/hub | |
| sudo docker run -d --link selenium-hub:hub selenium/node-chrome | |
| sudo docker run -d --link selenium-hub:hub selenium/node-firefox |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hub: | |
| image: selenium/hub | |
| ports: | |
| - "4444:4444" | |
| chrome: | |
| image: selenium/node-chrome | |
| links: | |
| - hub:hub |
NewerOlder