/** Site Global Parameters **/
/** reCaptcha Settings */
define("RECAPTCHA_PUBLIC", "6LdGnOUSAAAAAGSWBdN0ezBxlQA7qVqtruZpJPmj");
define("RECAPTCHA_PRIVATE", "6LdGnOUSAAAAAFhrOLnntivQ0zgCsDIpokorcSod");
/** Site Settings **/
define("SITE_NAME", "Abriendo Fronteras");
define("SITE_URL", "http://www.abriendofronteras.org.ar");
define("SITE_MAIL", "info@abriendofronteras.org.ar");
define("FORMS_MAIL", "info@abriendofronteras.org.ar");
define("TEST_MAIL", "info@abriendofronteras.org.ar");
/** DB Settings **/
define("DB_USER", "abriendo_siteusr");
define("DB_HOST", "localhost");
define("DB_NAME", "abriendo_site");
define("DB_PWD", "0Oah[a;pTNB#");
/** Site Settings **/
define("ADMIN_CLASSES_DIR", "../classes/");
define("CLASSES_DIR", "classes/");
define("IMAGES_PATH", "../../images/sections/");
define("FILES_PATH", "../../files/");
/** FB Details **/
define("FB_APP_ID", '163111130696771');
define("FB_APP_SECRET", '2a927acc29356a7c3e4b4233662d4574');
define("FB_PAGE", '173624786175849');
define("FB_PERMISSIONS", '"publish_actions","manage_pages"');
// PostFromWebsite
/*
define("FB_APP_ID", '156228537893333');
define("FB_APP_SECRET", '8599b5efbd250dd27f5b86bed6b4335e');
define("FB_PAGE", '636260019736247');
define("FB_PERMISSIONS", '"publish_actions","manage_pages"');*/
/** SMTP Settings **/
define("SMTP_HOST", "mail.abriendofronteras.org.ar"); /** smtpout.secureserver.net **/
define("SMTP_PORT", "25");
define("SMTP_USER", "info@abriendofronteras.org.ar");
define("SMTP_PWD", "w5h8zzUqbJ45");
/** Automatic mail Settings **/
define("MAIL_FROM", "info@abriendofronteras.org.ar");
define("MAIL_FROMNAME", SITE_NAME);
/** Site Paths **/
define("INCLUDES_PATH", "sections/");
define("JQUERY_PATH", "scripts/");
/** ADMIN_PATH **/
define("TPL_PATH", "includes/lang/mails/");
define("ADMIN_TPL_PATH", "../includes/lang/mails/");
define("ADMIN_NOTICIAS_PATH", "../img/noticias/");
define("ADMIN_AGENDA_PATH", "../img/agenda/");
define("ADMIN_PDF_PATH", "../files/newsletters/");
define("ADMIN_FLYERS_PATH", "../img/flyers/");
define("NOTICIAS_PATH", "img/noticias/");
define("AGENDA_PATH", "img/agenda/");
define("PDF_PATH", "files/newsletters/");
define("FLYERS_PATH", "img/flyers/");
define("IMG_NOTICIAS_WIDTH", 220);
?>
$link=mysql_connect(DB_HOST,DB_USER,DB_PWD);
mysql_select_db(DB_NAME);
?>
/** Classes Include
* Recursive function searching all the files inside the Classes dir and including them into the index file
**/
include("includes/filehelper.php");
$dir = CLASSES_DIR;
$arr = FileHelper::dirToArray($dir);
FileHelper::scanArrayAndInclude($dir, $arr);
?>
Asociación Civil Abriendo Fronteras
+54 11 4798 1460
info@abriendofronteras.org.ar
Novedades de la Asociación
$amount = 5;
$offset = isset($_GET['offset']) ? $_GET['offset'] : 0;
//$offset=0;
$lst = Noticia::selectByCategoria(5,$amount, $offset);
foreach ($lst as $n) {
$newsText = strip_tags($n->contenidoHTML);
if (strlen($newsText)>300) $newsText = substr($newsText, 0, 300)."...";
?>
-
Leer más
}
//print_r($lst);
?>
include("sections/partial/proximos-eventos.php");
?>