*/
function getLinks() // ~X2C
{
- $db = MEconDAVDB::Connect();
+ $db = IntranetDB::Connect();
$sql = "SELECT R.link_id, A.headline
FROM MEconDAV.Relations R, MEconDAV.Articles A
WHERE R.link_id = A.article_id
*/
function getArchivos() // ~X2C
{
- $db = MEconDAVDB::Connect();
+ $db = IntranetDB::Connect();
$sql = "SELECT file_for_article_id, caption FROM MEconDAV.FilesForArticle WHERE article_id = ".$this->noticia;
$result =& $db->query($sql);
$archivos = array();