Ejemplo n.º 1
0
    if (EJHSJournalArticle::deleteById($_GET['del'])) {
        $_SESSION['notice1'] = 'File Deletion Was Successful.';
        header('location:journal_detail.php?detailID=' . $_GET['detailID']);
        exit;
    } else {
        $_SESSION['error'] = "File Deletion Was Not Sccuessful.";
        header('Location: ' . $_SERVER['PHP_SELF'] . '?detailID=' . $_GET['detailID'] . '&her2e=here');
        exit;
    }
}
if (isset($_GET['detailID']) && EJHSJournal::checkIfExistsById($_GET['detailID'])) {
    ## Get Journal By ID
    $detailID = $_GET['detailID'];
    $jResult = EJHSJournal::queryOneById($detailID);
    $jRow = mysql_fetch_array($jResult, MYSQL_ASSOC);
    $aResult = EJHSJournalArticle::getArticlesUnderJournal($detailID);
} else {
    ## redirect to Journal Edit
    $_SESSION['notice1'] = "Requested Journal Information Unavailable.";
    header('location: journal_edit.php');
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>E J H S | About Ethiopian Journal of Health Sciences</title>
<link href="admin-style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#customizeLink a{