Team Workstation
Trial Session
function printTable($s)
{
return "
Contest Room | No | Team Name | Universities Name |
$s
";
}
function printRoom($roomname,$nostart,$count,$teams,$univs,$back)
{
$s = '
'.$roomname.' | '.$nostart.' | '.$teams[$nostart].' | '.$univs[$nostart].' |
';
for($i=1; $i<$count; $i++)
{
$nostart++;
$s.= '
'.$nostart.' | '.$teams[$nostart].' | '.$univs[$nostart].' |
';
}
$s .= '';
return $s;
}
$teams = array('','Ebenhaezer','Aeon','EC Panda','Mendadak Daftar','P&A','Seraphim','Valkyrie','NoL','OKEJEH','bluegreywhite','HKUST_Optimus Prime','Dongskar Pedongi','Elephas Maximus','Supernova','syalala','BruteForce','CyberHawk','Bless','Grace','Hope','CoreIIIKuat','up++','NTU Rhythm','NSYSU XD','dota','whatever','AltF4','BALABABABA','TAB','NUSSOC2','NUSSOC3','chopsticks','dokudokushiinotake','hashi','EASt','Netix','Spock','newHope','One-R','Three-R','Two-R','Bajol','Bajul Edan','B-Des','LastMinute','No defend','ProMan','micro skill','BlueBerry','FTI Untar 1','TJU_NotePad','Apa Aja Deh','Ini Aja Deh','UESTC_floyd','Choco Crime','hemud','jagu-NG','splines','suicide','threeAL','WHO','Yet Another INC Participant','Zaytun Cybera','benarkah','NJ','ObaT nyAmuK','SYSU_Blover');
$univs = array('','Bina Nusantara University','Bina Nusantara University','Bina Nusantara University','Bina Nusantara University','Bina Nusantara University','Bina Nusantara University','Bina Nusantara University','Duta Wacana Christian University','Electronic Engineering Polytechnic Institute of Surabaya (EEPIS) - ITS','Gadjah Mada University','Hong Kong University of Science and Technology','Institut Teknologi Bandung','Institut Teknologi Bandung','Institut Teknologi Bandung','Institut Teknologi Telkom','International Islamic University Malaysia','International Islamic University Malaysia','Maranatha Christian University','Maranatha Christian University','Maranatha Christian University','Multimedia University','Multimedia University','Nanyang Technological University','National Sun-Yat-Sen University','National Taiwan University','National Taiwan University','National Tsing Hua University','National Tsing Hua University','National Tsing Hua University','National University of Singapore','National University of Singapore','Parahyangan University','Parahyangan University','Parahyangan University','Petra Christian University','Petra Christian University','Petra Christian University','Satya Wacana Christian University','Sekolah Tinggi Teknik Surabaya','Sekolah Tinggi Teknik Surabaya','Sekolah Tinggi Teknik Surabaya','Sepuluh Nopember Institute of Technology','Sepuluh Nopember Institute of Technology','Sepuluh Nopember Institute of Technology','Sepuluh Nopember Institute of Technology','Sepuluh Nopember Institute of Technology','Sepuluh Nopember Institute of Technology','STMIK Mikroskil','Tarumanegara University','Tarumanegara University','Tianjin University','Universitas Pelita Harapan','Universitas Pelita Harapan','University of Electronic Science and Technology of China','University of Indonesia','University of Indonesia','University of Indonesia','University of Indonesia','University of Indonesia','University of Indonesia','University of Indonesia','University of Indonesia','University of Indonesia','University of Surabaya','University of Surabaya','University of Surabaya','Zhongshan (Sun Yat-sen) University');
$data = array(
array( "room"=>721, "nostart"=> 1, "count"=>14, "back"=>"#cc99ff" ),
array( "room"=>723, "nostart"=>15, "count"=>14, "back"=>"#ffcc99" ),
array( "room"=>725, "nostart"=>29, "count"=>13, "back"=>"#ccffff" ),
array( "room"=>727, "nostart"=>42, "count"=>13, "back"=>"#ffff99" ),
array( "room"=>729, "nostart"=>55, "count"=>13, "back"=>"#ccffcc" )
);
$cs = "";
foreach($data as $d)
{
$cs .= printRoom($d["room"],$d["nostart"],$d["count"],$teams,$univs,$d["back"]);
}
print printTable($cs);
?>
Contest Day