1

<?php
//echo "委员会编号用户名密码";

for($i=1;$i<=27;$i++)
{
if($i < 10)
$k="0$i";
else
$k=$i;
$name = "xswyh$k";

$pw = md5($name);
$mail = "$name@cgs.org.cn";
$time = time();
//echo "$i$name$pw";
//db_query("INSERT INTO {users} SET name='%s',pass='%s',mail='%s',created=$time,access=$time,login=$time,status=1",$name,$pw,$mail);
$sql= "INSERT INTO {users} SET name='$name',pass='$pw',mail='$mail',created='$time',access='$time',login='$time',status=1";
//$sql2= "INSERT INTO {meeting} SET name='发票登记(学术委员会)',status=2,link='$name',start='2147483647',end='2147483647',pre_deadline='2147483647',online_deadline='2147483647'";

echo $sql.'';
db_query($sql);
//db_query($sql2);
//echo $sql2.'';

}
//echo "";
?>