You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1003 B
29 lines
1003 B
<?php |
|
require_once($GLOBALS['g_campsiteDir']. "/$ADMIN_DIR/country/common.php"); |
|
require_once($GLOBALS['g_campsiteDir']. "/classes/SimplePager.php"); |
|
camp_load_translation_strings("api"); |
|
|
|
$f_country_language_selected = camp_session_get('f_language_selected', ''); |
|
$f_country_offset = camp_session_get('f_country_offset', 0); |
|
if (empty($f_country_language_selected)) { |
|
$f_country_language_selected = null; |
|
} |
|
$ItemsPerPage = 20; |
|
$languages = Language::GetLanguages(null, null, null, array(), array(), true); |
|
$numCountries = Country::GetNumCountries($f_country_language_selected); |
|
|
|
$pager = new SimplePager($numCountries, $ItemsPerPage, "index.php?"); |
|
|
|
$crumbs = array(); |
|
$crumbs[] = array(getGS("Configure"), ""); |
|
$crumbs[] = array(getGS("Countries"), ""); |
|
echo camp_html_breadcrumbs($crumbs); |
|
|
|
?> |
|
|
|
<?php if ($g_user->hasPermission("ManageCountries")) { ?> |
|
<table BORDER="0" CELLSPACING="0" CELLPADDING="1"> |
|
<tr> |
|
<td><a href="add.php"><?php putGS("Add new"); ?></a></td> |
|
</tr> |
|
</table>
|
|
|