本文整理汇总了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();
}