本文整理匯總了PHP中notice::show_form方法的典型用法代碼示例。如果您正苦於以下問題:PHP notice::show_form方法的具體用法?PHP notice::show_form怎麽用?PHP notice::show_form使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類notice
的用法示例。
在下文中一共展示了notice::show_form方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: notice
include './catalog/last_records.inc.php';
break;
case 'search_perso':
include './catalog/search_perso/main.inc.php';
break;
case 'remplace':
include './catalog/notices/notice_replace.inc.php';
break;
case 'duplicate':
print "<h1>{$msg['catal_duplicate_notice']}</h1>";
// routine de copie
$notice = new notice($id);
$notice->id = 0;
$notice->code = "";
$notice->duplicate_from_id = $id;
print pmb_bidi($notice->show_form());
break;
case 'explnum_create':
include './catalog/explnum/explnum_create.inc.php';
break;
case 'explnum_update':
include './catalog/explnum/explnum_update.inc.php';
break;
case 'edit_explnum':
include './catalog/explnum/edit_explnum.inc.php';
break;
case 'explnum_associate':
include './catalog/explnum/explnum_associate.inc.php';
break;
case 'del_explnum':
include './catalog/explnum/del_explnum.inc.php';
示例2: notice
function show_notice_form()
{
// affichage du form de création/modification d'une notice
$myNotice = new notice($this->num_notice);
if (!$myNotice->id) {
$myNotice->tit1 = $this->titre_demande;
}
$myNotice->action = "./demandes.php?categ=gestion&act=upd_notice&iddemande=" . $this->id_demande . "&id=";
$myNotice->link_annul = "./demandes.php?categ=gestion&act=see_dmde&iddemande=" . $this->id_demande;
print $myNotice->show_form();
}
示例3: die
<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: notice_form.inc.php,v 1.6 2009-03-13 16:36:14 dbellamy Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
die("no access");
}
// page de catalogage
//droits d'acces utilisateur/notice (modification)
$acces_m = 1;
if ($id != 0 && $gestion_acces_active == 1 && $gestion_acces_user_notice == 1) {
require_once "{$class_path}/acces.class.php";
$ac = new acces();
$dom_1 = $ac->setDomain(1);
$acces_m = $dom_1->getRights($PMBuserid, $id, 8);
}
if ($acces_m == 0) {
error_message('', htmlentities($dom_1->getComment('mod_noti_error'), ENT_QUOTES, $charset), 1, '');
} else {
// affichage du form de création/modification d'une notice
$myNotice = new notice($id, $saisieISBN);
print $myNotice->show_form();
}