require("_admin/bnwglobal.php"); $bnw_meta_title = "IDEA - Recent Additions"; $bnw_meta_description = "The following articles were recently published on IDEA, A Jaournal of Social Issues"; $bnw_meta_keywords = "ideajournal, genocide, holocaust, murder, mass movement, mass movements, cult, cults, mind control, mindcontrol, brainwashing, brain washing, social, journal, psychology, power, abuse, mind control, idea, Alan Jacobs, TA, Transactional Analsysis, sociology, social issues, sociology, world war, ww2, wwII, concentration, camps, concentration camps, totalism, totalitarianism, totalitarian, autocratic, autocracy"; require("_includes/header.inc"); printf (""); printf("
");
$publish_date = formatdate(0, 0);
printf(" %s \n", $publish_date); $query = sprintf("select * from bnw_articles where new_until >= '%s' order by volumeid desc, pub_date desc", date("Y-m-d")); $result = mysql_query($query) or die("3i There has been an error accessing the database. Please try again later. \n\n"); $numnew = mysql_num_rows($result); if(mysql_error() <> "") { $numnew = 0; } for ($i=0; $i < $numnew; $i++) { if(!mysql_data_seek ($result, $i)) { printf ("Error seeking row %d", $i); continue; } if(!($row=mysql_fetch_object($result))) { printf("Error fetching object %d", $i); continue; } printf("%s\n", getarticleinfo($row->articleid, 1, 1, 1, 1)); printf(" "); printsuprefs(0, $row->articleid, 0); printf(" \n"); } $query = sprintf("select * from bnw_articles where new_until < \"%s\" order by pub_date desc", date("Y-m-d")); $result = mysql_query($query) or die("3i There has been an error accessing the database. Please try again later. \n\n"); $numnew = 3 - $numnew; for ($i=0; $i < $numnew; $i++) { if(!mysql_data_seek ($result, $i)) { printf ("Error seeking row %d", $i); continue; } if(!($row=mysql_fetch_object($result))) { printf("Error fetching object %d", $i); continue; } printf("%s\n", getarticleinfo($row->articleid, 1, 1, 1, 1)); printf(" "); printsuprefs(0, $row->articleid, 0); printf(" \n"); } printf("\n"); printf(" |