| @@ 165-169 (lines=5) @@ | ||
| 162 | } else { |
|
| 163 | $country_name = ''; |
|
| 164 | } |
|
| 165 | if (file_exists($flag)) { |
|
| 166 | $a_msg['country'] = "<img src=\"" |
|
| 167 | . XOOPS_URL |
|
| 168 | . '/modules/xfguestbook/assets/images/flags/' |
|
| 169 | . $onemsg->getVar('flagdir') |
|
| 170 | . '/' |
|
| 171 | . $onemsg->getVar('country') |
|
| 172 | . ".gif\" alt=\"" |
|
| @@ 128-132 (lines=5) @@ | ||
| 125 | . '.gif'; |
|
| 126 | $arr_country = xfgb_getCountry("country_code ='" . $country . "'"); |
|
| 127 | $country_name = (count($arr_country) > 0) ? $arr_country[0]['country_name'] : ''; |
|
| 128 | if (file_exists($flag)) { |
|
| 129 | $msgpost['country'] = "<img src=\"" |
|
| 130 | . XOOPS_URL |
|
| 131 | . '/modules/xfguestbook/assets/images/flags/' |
|
| 132 | . $xoopsModuleConfig['flagdir'] |
|
| 133 | . '/' |
|
| 134 | . $country |
|
| 135 | . ".gif\" alt=\"" |
|