Changeset 110
- Timestamp:
- Jan 20, 2010, 3:57:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
hadoop-register/index.php
r105 r110 1 <? 1 <? 2 2 include_once ("./etc/funs.php"); 3 4 $my_mysql = new W_mysql(); 5 $link = $my_mysql->connect(); 3 6 ?> 4 7 <HTML> … … 68 71 </FORM> 69 72 <P ALIGN="center"> 70 <A HREF="new_register.php">新增帳號</A> 73 <? 74 if ( $my_mysql->count_is_active_user($link) < 500 ) 75 { 76 echo '<A HREF="new_register.php">新增帳號</A>'; 77 } 78 echo '帳號已滿'; 79 ?> 71 80 <A HREF="forget_password.php">忘記密碼</A></P> 72 81 <P ALIGN="center"> </P> … … 74 83 <P ALIGN="center"> 75 84 <? 76 $my_mysql = new W_mysql();77 $link = $my_mysql->connect();78 85 echo "註冊人數: {$my_mysql->count_is_active_user($link)}/500 人"; 79 86 $my_mysql->close($link);
Note: See TracChangeset
for help on using the changeset viewer.