"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "controllers/country.ctrl.php" between
seopanel.v.4.7.0.zip and seopanel.v.4.8.0.zip

About: Seo Panel is a seo control panel for managing search engine optimization of your websites.

country.ctrl.php  (seopanel.v.4.7.0):country.ctrl.php  (seopanel.v.4.8.0)
skipping to change at line 29 skipping to change at line 29
* Free Software Foundation, Inc., * * Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/ ***************************************************************************/
# class defines all language controller functions # class defines all language controller functions
class CountryController extends Controller{ class CountryController extends Controller{
# func to get all countries # func to get all countries
function __getAllCountries(){ function __getAllCountries(){
$sql = "select * from country order by country_name"; $sql = "select * from country order by country_name";
$langList = $this->db->select($sql); $countryList = $this->db->select($sql);
return $langList; return $countryList;
} }
# func to get country info # func to get country info
function __getCountryInfo( $countryCode){ function __getCountryInfo( $countryCode){
$sql = "select * from country where country_code='$countryCode'"; $sql = "select * from country where country_code='$countryCode'";
$countryInfo = $this->db->select($sql, true); $countryInfo = $this->db->select($sql, true);
return $countryInfo; return $countryInfo;
} }
# func to get all countries as list
function __getAllCountryAsList(){
$sql = "select * from country order by country_name";
$list = $this->db->select($sql);
$countryList = createSelectList($list, 'country_name', 'country_code'
);
return $countryList;
}
} }
?> ?>
 End of changes. 2 change blocks. 
2 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)