#****************************************************************************
#*  Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
    unset($_SESSION["postVars"]);
    unset($_SESSION["pageErrors"]);
    $code = $_GET["code"];
    $postVars["code"] = $code;
    require_once "../classes/BiblioCopy.php";
    require_once "../classes/BiblioCopyQuery.php";
    include_once "../classes/Dm.php";
    include_once "../classes/DmQuery.php";
    include_once "../functions/errorFuncs.php";
    $dmQ = new DmQuery();
    $dmQ->connect();
    $dm = $dmQ->get1("biblio_status_dm", $code);
    $dmQ->close();
}
$postVars["description"] = $dm->getDescription();
?>
<form name="editmatstateform" method="POST" action="../admin/matstate_edit.php">
<input type="hidden" name="code" value="<?php 
echo H($postVars["code"]);
?>
">
<table class="primary">
  <tr>
    <th colspan="2" nowrap="yes" align="left">
      <?php 
echo $loc->getText("admin_materials_delEditmaterialtype");
?>
/* This file is part of a copyrighted work; it is distributed with NO WARRANTY.
 * See the file COPYRIGHT.html for more details.
 */
?>
<table class="primary">
<tr>
<th>Field</th>
<th>Value</th>
</tr>
<tr>
<td  align="right" class="primary">Material Type</td>
<?php 
$dmQ = new DmQuery();
$dmQ->connect();
$dm = $dmQ->get1("material_type_dm", $materialCd);
$material_type = $dm->getDescription();
$dmQ->close();
?>
<td  align="Left" class="primary">
<?php 
echo H($material_type);
?>
</td></tr>
<tr>
<td align="right" class="primary">Tag</td>
<td align="Left" class="primary">
<?php 
printInputText("tag", 3, 3, $postVars, $pageErrors);
?>
<input type="button" onClick="javascript:popSecondary('../catalog/usmarc_select.php?retpage=<?php 
$loc = new Localize(OBIB_LOCALE, $tab);
require_once "../shared/header.php";
#****************************************************************************
#*  Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
    unset($_SESSION["postVars"]);
    unset($_SESSION["pageErrors"]);
    $code = $_GET["code"];
    $postVars["code"] = $code;
    include_once "../classes/Dm.php";
    include_once "../classes/DmQuery.php";
    include_once "../functions/errorFuncs.php";
    $dmQ = new DmQuery();
    $dmQ->connect();
    $dm = $dmQ->get1("material_type_dm", $code);
    $postVars["description"] = $dm->getDescription();
    $postVars["imageFile"] = $dm->getImageFile();
    $dmQ->close();
} else {
    require "../shared/get_form_vars.php";
}
?>

<form name="editmaterialform" method="POST" action="../admin/materials_edit.php">
<input type="hidden" name="code" value="<?php 
echo H($postVars["code"]);
?>
">
<table class="primary">
  <tr>
$loc = new Localize(OBIB_LOCALE, $tab);
require_once "../shared/header.php";
#****************************************************************************
#*  Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
    unset($_SESSION["postVars"]);
    unset($_SESSION["pageErrors"]);
    $code = $_GET["code"];
    $postVars["code"] = $code;
    include_once "../classes/Dm.php";
    include_once "../classes/DmQuery.php";
    include_once "../functions/errorFuncs.php";
    $dmQ = new DmQuery();
    $dmQ->connect();
    $dm = $dmQ->get1("collection_dm", $code);
    $postVars["description"] = $dm->getDescription();
    $postVars["daysDueBack"] = $dm->getDaysDueBack();
    $postVars["dailyLateFee"] = $dm->getDailyLateFee();
    $dmQ->close();
} else {
    require "../shared/get_form_vars.php";
}
?>

<form name="editcollectionform" method="POST" action="../admin/collections_edit.php">
<input type="hidden" name="code" value="<?php 
echo H($postVars["code"]);
?>
">
<table class="primary">
$loc = new Localize(OBIB_LOCALE, $tab);
require_once "../shared/header.php";
#****************************************************************************
#*  Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
    unset($_SESSION["postVars"]);
    unset($_SESSION["pageErrors"]);
    $code = $_GET["code"];
    $postVars["code"] = $code;
    include_once "../classes/Dm.php";
    include_once "../classes/DmQuery.php";
    include_once "../functions/errorFuncs.php";
    $dmQ = new DmQuery();
    $dmQ->connect();
    $dm = $dmQ->get1("member_fields_dm", $code);
    $postVars["code"] = $dm->getCode();
    $postVars["description"] = $dm->getDescription();
    $dmQ->close();
} else {
    require "../shared/get_form_vars.php";
}
?>

<form name="editfieldform" method="POST" action="../admin/member_fields_edit.php">
<input type="hidden" name="code" value="<?php 
echo H($postVars["code"]);
?>
">
<table class="primary">
  <tr>
Пример #6
0
$loc = new Localize(OBIB_LOCALE, $tab);
require_once "../shared/header.php";
#****************************************************************************
#*  Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
    unset($_SESSION["postVars"]);
    unset($_SESSION["pageErrors"]);
    $code = $_GET["code"];
    $postVars["code"] = $code;
    include_once "../classes/Dm.php";
    include_once "../classes/DmQuery.php";
    include_once "../functions/errorFuncs.php";
    $dmQ = new DmQuery();
    $dmQ->connect();
    $dm = $dmQ->get1("biblio_copy_fields_dm", $code);
    $postVars["code"] = $dm->getCode();
    $postVars["description"] = $dm->getDescription();
    $dmQ->close();
} else {
    require "../shared/get_form_vars.php";
}
?>

<form name="editfieldform" method="POST" action="../admin/copy_fields_edit.php">
<input type="hidden" name="code" value="<?php 
echo H($postVars["code"]);
?>
">
<table class="primary">
  <tr>
$loc = new Localize(OBIB_LOCALE, $tab);
require_once "../shared/header.php";
#****************************************************************************
#*  Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
    unset($_SESSION["postVars"]);
    unset($_SESSION["pageErrors"]);
    $code = $_GET["code"];
    $postVars["code"] = $code;
    include_once "../classes/Dm.php";
    include_once "../classes/DmQuery.php";
    include_once "../functions/errorFuncs.php";
    $dmQ = new DmQuery();
    $dmQ->connect();
    $dm = $dmQ->get1("mbr_classify_dm", $code);
    $postVars["description"] = $dm->getDescription();
    $postVars["max_fines"] = $dm->getMaxFines();
    $dmQ->close();
} else {
    require "../shared/get_form_vars.php";
}
?>

<form name="editclassificationform" method="POST" action="../admin/mbr_classify_edit.php">
<input type="hidden" name="code" value="<?php 
echo H($postVars["code"]);
?>
">
<table class="primary">
  <tr>