require("_admin/bnwglobal.php"); $bnw_meta_title = "IDEA Editorial Board"; if ($id == null ) { } else { $query = sprintf("select * from bnw_edboard where authorid=%d", $id); $result = mysql_query($query) or die("3 There has been an error accessing the database. Please try again later. \n\n"); if(mysql_error() <> "" or mysql_num_rows($result) == 0) { $id = null; } else { if(!mysql_data_seek ($result, 0)) { $id = null; } else { if(!($row=mysql_fetch_object($result))) { $id = null; } else { $bnw_meta_title = $row->authname; } } } } $bnw_meta_description = "IDEA Editorial Board"; require("_includes/header.inc"); printf (""); printf("
");
if ($id > 0)
{
if($row->photo == null or $row->photo == "") {
printf(" %s \n", $row->authname ); } else { if ($row->in_memoriam == 1) { $border = ' border="4" border-color="black" '; } else { $border = ''; } printf(" %s \n", $row->photo,$row->authname ); } printf("%s ", $row->authbio); if($row->displayemail > 0 )printf("E-mail: %s ", $row->authemail, $row->authemail); } else { $query = sprintf("select * from bnw_edboard where active=1 order by sortorder asc, authsortname asc"); queryAndPrint($query); echo "\n";
$query = sprintf("select * from bnw_edboard where active=2 order by sortorder asc, authsortname asc");
queryAndPrint($query);
}
printf(" |
Error seeking row %d | ", $i); continue; } if(!($row=mysql_fetch_object($result))) { continue; } if ($row->in_memoriam == 1) { $class = ' class="people_in_memoriam" '; } else { $class = ' class="people_img" '; } printf("%s | \n", $my_url, $row->authorid, $row->thumbnail, $my_url, $row->authorid, $row->authname);
if($col == 3 ) {
printf("