[insert_php]
$disp_var = false;
##### 共通ファイルの呼び出し #####
include($_SERVER[‘DOCUMENT_ROOT’] . ‘/common-files/funcs.html’);
$pdo = new PDO(‘pgsql:dbname=english’);
$pdo->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);
$country_all_sql = ‘SELECT country_id FROM country’;
$country_all_result = $pdo->query($country_all_sql);
$country_displayed = array();
while($country_all_id = $country_all_result->fetchColumn()){
$country_displayed[$country_all_id] = false;
}
[/insert_php]
international collaboration
- *2 The titles of laboratories are those renamed on 1 April, 2012.
- *1 This laboratory was abolished due to either the retirement of the principal investigator (PI) or the movement of PI to the other institution.
Year | Laboratory | Universities/Institutes, Countries/Regions |
---|---|---|
‘; $disp_term = ($main_data[‘start_year’] == $main_data[‘end_year’]) ? $main_data[‘start_year’] : $main_data[‘start_year’] . ‘–’ . $main_data[‘end_year’]; echo $disp_term . “\n”; echo ‘ |
‘; $labo_sql = sprintf(‘SELECT * FROM collabo_labo_view WHERE parent_id = %d’, $main_data[‘id’]); $labo_result = $pdo->query($labo_sql); $labo_count = $labo_result->rowCount(); if($labo_count){ echo ‘
while($labo_data = $labo_result->fetch()){ echo ‘ ‘; ‘; |
‘;
$child_sql = sprintf(‘SELECT * FROM collabo_members_view WHERE parent_id = %d’, $main_data[‘id’]);
while($child_data = $child_result->fetch()){ $child_txt_arr = array(); foreach(array(‘institute’,’country_name’) as $keys_c){ if($child_data[$keys_c]){ $child_txt_arr[] = src2html($child_data[$keys_c]); } } $child_txt = implode(‘, ‘, $child_txt_arr); echo ‘ ‘; ‘; |