示例#1
0
$loc = new Localize(OBIB_LOCALE, $tab);
$sclid = $_GET["sclid"];
#****************************************************************************
#*  Getting school name
#****************************************************************************
$sclQ = new SchoolQuery();
$sclQ->connect();
$scl = $sclQ->get($sclid);
$sclQ->close();
$sclName = $scl->getSchoolName();
#****************************************************************************
#*  Getting checkout count
#****************************************************************************
$sclQ = new SchoolQuery();
$sclQ->connect();
$deleteConfirm = $sclQ->deleteConfirm($sclid);
$sclQ->close();
#**************************************************************************
#*  Show confirm page
#**************************************************************************
require_once "../shared/header.php";
if (!$deleteConfirm) {
    ?>
<center>
  <?php 
    echo $loc->getText("sclDelConfirmWarn", array("name" => $sclName));
    ?>
  <br><br>
  <a href="../circ/scl_view.php?sclid=<?php 
    echo HURL($sclid);
    ?>