本文整理汇总了PHP中window_title函数 的典型用法代码示例。如果您正苦于以下问题:PHP window_title函数的具体用法?PHP window_title怎么用?PHP window_title使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了window_title函数 的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: die
// +-------------------------------------------------+
// $Id: main.inc.php,v 1.1 2016-01-07 07:48:53 ngantier Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
die("no access");
}
switch ($sub) {
case 'status':
$admin_layout = str_replace('!!menu_sous_rub!!', $msg['admin_scan_request_status'], $admin_layout);
print $admin_layout;
echo window_title($database_window_title . $msg['admin_scan_request_status'] . $msg[1003] . $msg[1001]);
include "./admin/scan_request/status.inc.php";
break;
case 'workflow':
$admin_layout = str_replace('!!menu_sous_rub!!', $msg['admin_scan_request_workflow'], $admin_layout);
print $admin_layout;
echo window_title($database_window_title . $msg['admin_scan_request_workflow'] . $msg[1003] . $msg[1001]);
include "./admin/scan_request/workflow.inc.php";
break;
case 'priorities':
$admin_layout = str_replace('!!menu_sous_rub!!', $msg['admin_scan_request_priorities'], $admin_layout);
print $admin_layout;
echo window_title($database_window_title . $msg['admin_scan_request_priorities'] . $msg[1003] . $msg[1001]);
include "./admin/scan_request/priorities.inc.php";
break;
default:
$admin_layout = str_replace('!!menu_sous_rub!!', $msg['admin_scan_request'], $admin_layout);
print $admin_layout;
echo window_title($database_window_title . $msg['admin_scan_request'] . $msg[1003] . $msg[1001]);
include "{$include_path}/messages/help/{$lang}/admin_scan_request.txt";
break;
}
开发者ID:noble82, 项目名称:proyectos-ULS, 代码行数:31, 代码来源:main.inc.php
示例2: die
<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net [email protected] et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: main.inc.php,v 1.6 2007-03-10 09:03:18 touraine37 Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
die("no access");
}
// functions particulières à ce module
require_once "{$include_path}/templates/etagere.tpl.php";
require_once "{$include_path}/etagere.inc.php";
require_once "{$include_path}/cart.inc.php";
require_once "{$class_path}/etagere.class.php";
switch ($sub) {
case "constitution":
echo window_title($database_window_title . $msg[etagere_menu] . " : " . $msg["etagere_menu_constitution"]);
print "<h1>{$msg['etagere_menu']} > {$msg['etagere_menu_constitution']}</h1>";
include './catalog/etagere/constitution.inc.php';
break;
case "gestion":
default:
echo window_title($database_window_title . $msg[etagere_menu] . " : " . $msg["etagere_menu_gestion"]);
print "<h1>{$msg['etagere_menu']} > {$msg['etagere_menu_gestion']}</h1>";
include './catalog/etagere/etagere.inc.php';
break;
}
开发者ID:bouchra012, 项目名称:PMB, 代码行数:27, 代码来源:main.inc.php
示例3: str_replace
case 'out_sets':
$admin_layout = str_replace('!!menu_sous_rub!!', $msg["admin_connecteurs_sets"], $admin_layout);
print $admin_layout;
echo window_title($database_window_title . $msg["admin_connecteurs_sets"] . $msg[1003] . $msg[1001]);
include './admin/connecteurs/out_sets.inc.php';
break;
case 'categout_sets':
$admin_layout = str_replace('!!menu_sous_rub!!', $msg["admin_connecteurs_categsets"], $admin_layout);
print $admin_layout;
echo window_title($database_window_title . $msg["admin_connecteurs_categsets"] . $msg[1003] . $msg[1001]);
include './admin/connecteurs/out_set_categ.inc.php';
break;
case 'out_auth':
$admin_layout = str_replace('!!menu_sous_rub!!', $msg["admin_connecteurs_outauth"], $admin_layout);
print $admin_layout;
echo window_title($database_window_title . $msg["admin_connecteurs_outauth"] . $msg[1003] . $msg[1001]);
include './admin/connecteurs/out_auth.inc.php';
break;
case 'enrichment':
$admin_layout = str_replace('!!menu_sous_rub!!', $msg["admin_connecteurs_enrichment"], $admin_layout);
print $admin_layout;
echo window_title($database_window_title . $msg["admin_connecteurs_enrichment"] . $msg[1003] . $msg[1001]);
include './admin/connecteurs/enrichment.inc.php';
break;
default:
$admin_layout = str_replace('!!menu_sous_rub!!', "", $admin_layout);
print $admin_layout . "<br />";
echo window_title($database_window_title . $msg[7] . $msg[1003] . $msg[1001]);
include "{$include_path}/messages/help/{$lang}/admin_connecteurs.txt";
break;
}
开发者ID:noble82, 项目名称:proyectos-ULS, 代码行数:31, 代码来源:main.inc.php
示例4: die
<?php
// +-------------------------------------------------+
// � 2002-2004 PMB Services / www.sigb.net [email protected] et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: main.inc.php,v 1.7 2007-03-10 08:50:38 touraine37 Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
die("no access");
}
echo window_title("Z39-50");
require "./catalog/z3950/z3950_func.inc.php";
require "{$include_path}/templates/z3950.tpl.php";
switch ($action) {
case 'search':
include "./catalog/z3950/z_frame.php";
break;
case 'display':
include "./catalog/z3950/display.inc.php";
break;
case 'import':
case 'integrer':
case 'integrerexpl':
include "./catalog/z3950/import.inc.php";
break;
default:
include "./catalog/z3950/search.inc.php";
break;
}
开发者ID:noble82, 项目名称:proyectos-ULS, 代码行数:28, 代码来源:main.inc.php
示例5: switch
}
switch ($sub) {
case 'docranger':
echo window_title($database_window_title . $msg["5"] . " : " . $msg["resa_menu"] . " " . $msg["resa_menu_liste_docranger"]);
print "<h1>{$msg['resa_menu']} > " . $msg["resa_menu_liste_" . $sub] . "</h1>";
get_cb_expl("", $msg[661], $msg[resa_suppr_doc], "./circ.php?categ=listeresa&sub={$sub}&action=suppr_cb", 1);
print $msg_a_ranger . $aff_a_ranger;
print "<h3>" . $msg['resa_liste_docranger'] . "</h3>";
print pmb_bidi(resa_ranger_list());
break;
case 'depassee':
echo window_title($database_window_title . $msg["5"] . " : " . $msg["resa_menu"] . " " . $msg["resa_menu_liste_depassee"]);
print "<h1>{$msg['resa_menu']} > " . $msg["resa_menu_liste_" . $sub] . "</h1>";
print pmb_bidi(resa_list(0, 0, 0, "", "resa_date_fin < CURDATE() and resa_date_fin<>'0000-00-00' ", 1, "./circ.php?categ=listeresa&sub={$sub}"));
break;
case 'suppr_resa_from_fiche':
break;
default:
case 'encours':
echo window_title($database_window_title . $msg["5"] . " : " . $msg["resa_menu"] . " " . $msg["resa_menu_liste_encours"]);
print "<h1>{$msg['resa_menu']} > " . $msg["resa_menu_liste_" . $sub] . "</h1>";
get_cb_expl("", $msg[661], $msg[resa_pointage_doc], "./circ.php?categ=listeresa&sub={$sub}&action=valide_cb&f_loc={$f_loc}", 1);
//un message à afficher
print $msg_a_pointer;
//la clause de restriction
$cl_where = "(resa_date_fin >= CURDATE() or resa_date_fin='0000-00-00')";
//on affiche la liste
echo $resa_liste_jscript_GESTION_INFO_GESTION;
print pmb_bidi(resa_list(0, 0, 0, "", $cl_where, 1, "./circ.php?categ=listeresa&sub={$sub}", $ancre));
break;
}
开发者ID:noble82, 项目名称:proyectos-ULS, 代码行数:31, 代码来源:main.inc.php
示例6: die
// © 2002-2004 PMB Services / www.sigb.net [email protected] et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: func_aix.inc.php,v 1.7 2012-03-08 16:06:52 dgoron Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
die("no access");
}
if ($categ == 'import' && $sub == 'import_inv' && $action == 'afterupload') {
print "<div id='contenu-frame'>";
echo window_title($msg[520] . $msg[1003] . $msg[1001]);
import_inv();
print "</div></body></html>";
die;
}
if ($categ == 'import' && $sub == 'update_aut' && $action == 'afterupload') {
print "<div id='contenu-frame'>";
echo window_title($msg[520] . $msg[1003] . $msg[1001]);
update_aut();
print "</div></body></html>";
die;
}
// DEBUT paramétrage propre à la base de données d'importation :
require_once $class_path . "/notice.class.php";
require_once $class_path . "/serials.class.php";
require_once $class_path . "/categories.class.php";
// templates
$tpl_beforeupload_expl .= "\n\t<hr />\n\t<form class='form-{$current_module}' name='form2' enctype=\"multipart/form-data\" method='post' action=\"iimport_expl.php\" >\n\t\t<h3>Import des numéros d'inventaire depuis Superdoc</h3>\n\t\t<div class='form-contenu'>\n\t\t\t<div class='row'>\n\t\t\t\t<label class='etiquette' >" . $msg["import_lec_fichier"] . "</label>\n\t\t <input name='userfile' accept='text/plain' type='file' class='saisie-80em' size='60' />\n\t\t <input name=\"categ\" type=\"hidden\" value=\"import\" />\n <input name=\"sub\" type=\"hidden\" value=\"import_inv\" />\n <input name=\"action\" type=\"hidden\" value=\"afterupload\" />\n\t\t\t</div>\t\n\t\t <br />\n\t\t\t<div class='row'>\n\t\t\t\t<img src='../../images/licence.png' />\n\t\t \t<strong>Vous devez avoir importé les exemplaires depuis Superdoc avant cette étape.</strong>\n\t\t </div>\n\t\t <div class='row'></div>\n\t\t</div>\n\t\t<div class='row'>\n\t\t\t<input type='submit' class='bouton' value='Importer les numéros d'inventaire' />\n\t\t</div>\n\t</form>\n\t<hr />\n\t<form class='form-{$current_module}' name='form3' enctype=\"multipart/form-data\" method='post' action=\"iimport_expl.php\" >\n\t\t<h3>Correction des auteurs</h3>\n\t\t<div class='form-contenu'>\n\t\t\t<div class='row'>\n\t\t\t\t<label class='etiquette' >" . $msg["import_lec_fichier"] . "</label>\n\t\t <input name='userfile' accept='text/plain' type='file' class='saisie-80em' size='60' />\n\t\t <input name=\"categ\" type=\"hidden\" value=\"import\" />\n <input name=\"sub\" type=\"hidden\" value=\"update_aut\" />\n <input name=\"action\" type=\"hidden\" value=\"afterupload\" />\n\t\t\t</div>\t\n\t\t</div>\n\t\t<div class='row'>\n\t\t\t<input type='submit' class='bouton' value='Corriger les auteurs' />\n\t\t</div>\n\t</form>\n\t";
function recup_noticeunimarc_suite($notice)
{
global $info_461, $info_463, $info_464;
global $info_606_a;
global $info_900, $info_901, $info_902, $info_903, $info_904, $info_905, $info_906;
开发者ID:bouchra012, 项目名称:PMB, 代码行数:31, 代码来源:func_aix.inc.php
示例7: pmb_mysql_query
require_once "{$class_path}/frais.class.php";
require_once "{$class_path}/types_produits.class.php";
require_once "{$class_path}/offres_remises.class.php";
require_once "{$class_path}/tva_achats.class.php";
//Recherche des etablissements auxquels a acces l'utilisateur
$q = entites::list_biblio(SESSuserid);
$list_bib = pmb_mysql_query($q, $dbh);
$nb_bib = pmb_mysql_num_rows($list_bib);
$tab_bib = array();
while ($row = pmb_mysql_fetch_object($list_bib)) {
$tab_bib[0][] = $row->id_entite;
$tab_bib[1][] = $row->raison_sociale;
}
//si on arrive par print_acquisition.php, pas d'entêtes
if (!$acquisition_no_html) {
echo window_title($database_window_title . $msg[acquisition_menu] . $msg[1003] . $msg[1001]);
}
switch ($categ) {
case 'ach':
if (!$nb_bib) {
//Pas de bibliothèques définies pour l'utilisateur
$error_msg .= htmlentities($msg["acquisition_err_coord"], ENT_QUOTES, $charset) . "<div class='row'></div>";
error_message($msg[321], $error_msg . htmlentities($msg["acquisition_err_par"], ENT_QUOTES, $charset), '1', './admin.php?categ=acquisition');
die;
}
//Gestion de la tva
if ($acquisition_gestion_tva) {
$nbr = tva_achats::countTva();
//Gestion de TVA et pas de taux de tva définis
if (!$nbr) {
$error_msg .= htmlentities($msg["acquisition_err_tva"], ENT_QUOTES, $charset) . "<div class='row'></div>";
开发者ID:noble82, 项目名称:proyectos-ULS, 代码行数:31, 代码来源:acquisition.inc.php
示例8: die
<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net [email protected] et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: reception.inc.php,v 1.11.6.1 2014-07-23 11:47:15 dgoron Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
die("no access");
}
require_once $class_path . "/resa.class.php";
// Titre de la fenêtre
print window_title($database_window_title . $msg[transferts_circ_menu_reception] . $msg[1003] . $msg[1001]);
//creation de l'objet transfert
$obj_transfert = new transfert();
switch ($action) {
case "aff_recep":
echo "<h1>" . $msg[transferts_circ_menu_titre] . " > " . $msg[transferts_circ_menu_reception] . "</h1>";
$transferts_reception_liste_valide_reception = str_replace("!!liste_sections!!", do_liste_section(0), $transferts_reception_liste_valide_reception);
$tmpString = affiche_liste_valide($transferts_reception_liste_valide_reception, $transferts_reception_liste_valide_reception_ligne, "SELECT num_notice, num_bulletin, id_transfert as val_id, " . "expl_cb as val_ex,lender_libelle, transferts.date_creation as val_date_creation, " . "date_visualisee as val_date_accepte, motif as val_motif, location_libelle as val_dest, " . "expl_section as val_section, empr_cb as val_empr " . "FROM transferts " . "INNER JOIN transferts_demande ON id_transfert=num_transfert " . "INNER JOIN exemplaires ON num_expl=expl_id " . "INNER JOIN lenders ON idlender=expl_owner " . "INNER JOIN docs_location ON num_location_dest=idlocation " . "LEFT JOIN resa ON resa_trans=id_resa " . "LEFT JOIN empr ON resa_idempr=id_empr " . "WHERE " . "id_transfert IN (!!liste_numeros!!) " . "AND etat_demande=2", "circ.php?categ=trans&sub=" . $sub);
//on récupere l'id du statut par défaut du site de l'utilisateur
$rqt = "SELECT transfert_statut_defaut FROM docs_location " . "INNER JOIN users ON idlocation=deflt_docs_location " . "WHERE userid=" . $PMBuserid;
$res = mysql_query($rqt);
$statut_defaut = mysql_result($res, 0);
//on remplit le select avec la liste des statuts
$tmpString = str_replace("!!liste_statuts!!", do_liste_statut($statut_defaut), $tmpString);
echo $tmpString;
break;
case "recep":
//on valide les receptions
$obj_transfert->enregistre_reception($liste_transfert, $statut_reception, $section_reception, $info);
$motif = $info[0]["motif"];
开发者ID:bouchra012, 项目名称:PMB, 代码行数:31, 代码来源:reception.inc.php
示例9: window_title
$pb .= "<br />--------- {$table} {$key_name} " . $col_names[$j] . " missing";
}
}
} else {
$pb .= "<br />-- {$table} {$key_name} missing";
}
}
}
if ($pb) {
echo "<b>" . $msg[admin_info_table_index_pb] . "</b><br />" . $pb;
} else {
echo $msg[admin_info_table_index_ok];
}
break;
case 'mysqlinfo':
echo window_title($database_window_title . "MySQL - Info");
echo "<div class='row'><div class='row'><label class='etiquette'>" . $msg[sql_info_notices] . "</label></div>\n\t\t\t <div class='row'>" . pmb_sql_value("select count(*) as nb from notices") . "</div>";
echo "<div class='row'><label class='etiquette'>" . $msg[sql_info_exemplaires] . "</label></div>\n\t\t\t <div class='row'>" . pmb_sql_value("select count(*) as nb from exemplaires") . "</div>";
echo "<div class='row'><label class='etiquette'>" . $msg[sql_info_bulletins] . "</label></div>\n\t\t\t <div class='row'>" . pmb_sql_value("select count(*) as nb from bulletins") . "</div>";
echo "<div class='row'><label class='etiquette'>" . $msg[sql_info_authors] . "</label></div>\n\t\t\t <div class='row'>" . pmb_sql_value("select count(*) as nb from authors") . "</div>";
echo "<div class='row'><label class='etiquette'>" . $msg[sql_info_publishers] . "</label></div>\n\t\t\t <div class='row'>" . pmb_sql_value("select count(*) as nb from publishers") . "</div>";
echo "<div class='row'><label class='etiquette'>" . $msg[sql_info_empr] . "</label></div>\n\t\t\t <div class='row'>" . pmb_sql_value("select count(*) as nb from empr") . "</div>";
echo "<div class='row'><label class='etiquette'>" . $msg[sql_info_pret] . "</label></div>\n\t\t\t <div class='row'>" . pmb_sql_value("select count(*) as nb from pret") . "</div>";
echo "<div class='row'><label class='etiquette'>" . $msg[sql_info_pret_archive] . "</label></div>\n\t\t\t <div class='row'>" . pmb_sql_value("select count(*) as nb from pret_archive") . "</div>";
echo "<hr />";
echo "<div class='row'>\n\t\t\t\t<label class='etiquette' >MySQL Database name, host and user</label>\n\t\t\t\t</div>\n\t\t\t <div class='row'>\n\t\t\t\t\t" . DATA_BASE . " on " . SQL_SERVER . ", user=" . USER_NAME . "\n\t\t\t\t\t</div>\n\t\t\t <div class='row'>\n\t\t\t\t<label class='etiquette' >MySQL Server Information</label>\n\t\t\t\t</div>\n\t\t\t <div class='row'>\n\t\t\t\t\t" . mysql_get_server_info() . "\n\t\t\t\t\t</div><hr />";
echo "<div class='row'>\n\t\t\t\t<label class='etiquette' >MySQL Client Information</label>\n\t\t\t\t</div>\n\t\t\t <div class='row'>\n\t\t\t\t\t" . mysql_get_client_info() . "\n\t\t\t\t\t</div><hr />";
echo "<div class='row'>\n\t\t\t\t<label class='etiquette' >MySQL Host Information</label>\n\t\t\t\t</div>\n\t\t\t <div class='row'>\n\t\t\t\t\t" . mysql_get_host_info() . "\n\t\t\t\t\t</div><hr />";
echo "<div class='row'>\n\t\t\t\t<label class='etiquette' >MySQL Protocol Information</label>\n\t\t\t\t</div>\n\t\t\t <div class='row'>\n\t\t\t\t\t" . mysql_get_proto_info() . "\n\t\t\t\t\t</div><hr />";
echo "<div class='row'>\n\t\t\t\t<label class='etiquette' >MySQL Stat. Information</label>\n\t\t\t\t</div>\n\t\t\t <div class='row'>\n\t\t\t\t\t" . str_replace(' ', '<br />', mysql_stat()) . "</div><hr />";
echo "<div class='row'>\n\t\t\t\t<label class='etiquette' >MySQL Variables</label>\n\t\t\t\t</div>\n\t\t\t <div class='row'><table>";
开发者ID:bouchra012, 项目名称:PMB, 代码行数:31, 代码来源:mysql.inc.php
示例10: window_title
$base_title = "\$msg[demandes_menu_title]";
require_once "{$base_path}/includes/init.inc.php";
// modules propres à demandes.php ou à ses sous-modules
require "{$include_path}/templates/demandes.tpl.php";
require "{$include_path}/templates/demandes_actions.tpl.php";
require "{$include_path}/templates/demandes_notes.tpl.php";
require_once $class_path . "/liste_simple.class.php";
print "<div id='att' style='z-Index:1000'></div>";
print $menu_bar;
print $extra;
print $extra2;
print $extra_info;
if ($use_shortcuts) {
include "{$include_path}/shortcuts/circ.sht";
}
echo window_title($database_window_title . $msg[demandes_menu] . $msg[1003] . $msg[1001]);
print $demandes_layout;
$nb_themes = demandes_themes::get_qty();
$nb_types = demandes_types::get_qty();
if (!$nb_themes || !$nb_types) {
//Pas de themes ou de types définis
$error_msg .= htmlentities($msg["demandes_err_theme_type"], ENT_QUOTES, $charset) . "<div class='row'></div>";
error_message($msg[321], $error_msg . htmlentities($msg["demandes_err_par"], ENT_QUOTES, $charset), '1', './admin.php?categ=demandes');
} else {
switch ($categ) {
case 'gestion':
include "./demandes/demandes.inc.php";
break;
case 'list':
include "./demandes/demandes_liste.inc.php";
break;
开发者ID:bouchra012, 项目名称:PMB, 代码行数:31, 代码来源:demandes.php
示例11: pmb_mysql_query
pmb_mysql_query("delete from bannette_abon where num_bannette='{$ban->id_bannette}' and num_empr='{$id_empr}' ", $dbh);
}
}
// inscription du lecteur dans la DSI de sa nouvelle catégorie
$req_ban = "select id_bannette from bannettes where categorie_lecteurs='{$categorie_lecteurs}'";
$res_ban = pmb_mysql_query($req_ban, $dbh);
while ($ban = pmb_mysql_fetch_object($res_ban)) {
pmb_mysql_query("delete from bannette_abon where num_bannette='{$ban->id_bannette}' and num_empr='{$id_empr}' ", $dbh);
pmb_mysql_query("insert into bannette_abon (num_bannette, num_empr) values('{$ban->id_bannette}', '{$id_empr}')", $dbh);
}
return;
}
if ($form_prenom) {
echo window_title($database_window_title . "{$form_nom}, {$form_prenom}");
} else {
echo window_title($database_window_title . $form_nom);
}
// vérification validité des données fournies.
$nberrors = 0;
$errormessage = "";
// vérification complète de l'email
if ($form_mail != "") {
$form_mail = pmb_strtolower($form_mail);
if (strlen($form_mail) < 3) {
$error_message .= "<p>{$form_mail} : {$msg['756']}</p>";
$nberrors++;
}
if (strlen($form_mail) > 255) {
$error_message .= "<p>{$form_mail} : {$msg['757']}</p>";
$nberrors++;
}
开发者ID:noble82, 项目名称:proyectos-ULS, 代码行数:31, 代码来源:empr_update.inc.php
示例12: XMLlist
$messages = new XMLlist("{$include_path}/messages/{$lang}.xml", 0);
$messages->analyser();
$msg = $messages->table;
require "{$include_path}/templates/common.tpl.php";
//
$champs_base = array();
}
if (!$base_noheader) {
header("Content-Type: text/html; charset={$charset}");
print $std_header;
if (!$base_nobody) {
print "<body class='{$current_module} claro' id='body_current_module' page_name='{$current_module}'>";
}
if ($base_title) {
eval("\$base_title_temp=\"" . $database_window_title . $base_title . "\";");
echo window_title($base_title_temp);
}
}
// Paramétrage de la RFID, en fonction éventuellement de la localisation
require_once $class_path . "/parameters_subst.class.php";
$parameter_subst = new parameters_subst($include_path . "/parameters_subst/rfid_per_localisations.xml", $deflt2docs_location);
$parameter_subst->extract();
// Activation RFID selon les prefs user
if ($pmb_rfid_activate) {
$pmb_rfid_activate = $param_rfid_activate;
}
// Préparation des js sripts pour la RFID
if ($pmb_rfid_activate) {
require_once $include_path . "/rfid_config.inc.php";
get_rfid_js_header();
}
开发者ID:noble82, 项目名称:proyectos-ULS, 代码行数:31, 代码来源:init.inc.php
示例13: join
$dummy[] = "user_email='{$form_user_email}'";
if (!$form_user_alert_resamail) {
$form_user_alert_resamail = "0";
}
$dummy[] = "user_alert_resamail='{$form_user_alert_resamail}'";
if (!$demandes_active || !$form_user_alert_demandesmail) {
$form_user_alert_demandesmail = "0";
}
$dummy[] = "user_alert_demandesmail='{$form_user_alert_demandesmail}'";
if (!$opac_websubscribe_show || !$form_user_alert_subscribemail) {
$form_user_alert_subscribemail = "0";
}
$dummy[] = "user_alert_subscribemail='{$form_user_alert_subscribemail}'";
if (!$acquisition_active || !$form_user_alert_suggmail) {
$form_user_alert_suggmail = "0";
}
$dummy[] = "user_alert_suggmail='{$form_user_alert_suggmail}'";
if (!empty($dummy)) {
$set = join($dummy, ", ");
}
if (!empty($set)) {
$set = "SET last_updated_dt=curdate()," . $set;
$requete = "UPDATE users {$set} WHERE userid={$id} ";
$res = pmb_mysql_query($requete, $dbh);
}
}
}
}
show_users($dbh);
echo window_title("{$msg['7']} {$msg['25']}");
开发者ID:noble82, 项目名称:proyectos-ULS, 代码行数:30, 代码来源:user_update.inc.php
示例14: die
<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net [email protected] et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: empr_saisie.inc.php,v 1.13 2015-04-03 11:16:21 jpermanne Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
die("no access");
}
// update d'un emprunteur
echo window_title($database_window_title . $msg[42]);
//Hook externe
if (!$id) {
if (is_file($base_path . "/circ/empr/empr_saisie_ext_check.inc.php")) {
require_once $base_path . "/circ/empr/empr_saisie_ext_check.inc.php";
$cb = ext_check_empr(stripslashes($form_cb));
if ($cb) {
$form_cb = $cb;
}
}
}
// si $id n'est pas fourni, c'est une création
if (!$id) {
// regarder si le code-barre existe déjà
$requete = "SELECT empr_cb FROM empr WHERE empr_cb='{$form_cb}' LIMIT 1 ";
$res = pmb_mysql_query($requete, $dbh);
$nbr_lignes = pmb_mysql_num_rows($res);
if (!$nbr_lignes) {
show_empr_form("./circ.php?categ=empr_update", "./circ.php?categ=empr_create", $dbh, '', $form_cb);
} else {
// numéro déjà utilisé
开发者ID:noble82, 项目名称:proyectos-ULS, 代码行数:31, 代码来源:empr_saisie.inc.php
示例15: show_empr_form
function show_empr_form($form_action, $form_cancel, $link, $id, $cb, $duplicate_empr_from_id = "")
{
global $empr_form;
global $dbh, $msg, $charset;
global $biblio_email;
global $aff_list_empr;
global $deflt2docs_location;
global $pmb_lecteurs_localises;
global $pmb_gestion_abonnement, $pmb_gestion_financiere, $empr_abonnement_default_debit;
global $empr_prolong_calc_date_adhes_depassee;
global $database_window_title;
global $lang;
global $pmb_rfid_activate, $pmb_rfid_serveur_url;
global $pmb_opac_view_activate;
// si $id est fourni, il s'agit d'une modification. on recupere les donnees dans $link
if ($id) {
// modification
echo window_title($database_window_title . $msg[55]);
$entete = $msg[55];
if ($pmb_rfid_activate == 1 && $pmb_rfid_serveur_url) {
$script_rfid_encode = "if(script_rfid_encode()==false) return false;";
} else {
$script_rfid_encode = '';
}
$empr_form = str_replace("!!questionrfid!!", $script_rfid_encode, $empr_form);
$requete = "SELECT * FROM empr WHERE id_empr='{$id}' ";
$res = mysql_query($requete, $link);
if ($res) {
$empr = mysql_fetch_object($res);
} else {
error_message($msg[53], $msg[54], 0);
}
} else {
// création
$empr = new stdClass();
$entete = $msg[15];
$empr_form = str_replace("!!questionrfid!!", '', $empr_form);
}
if ($duplicate_empr_from_id) {
$empr_form = str_replace("!!id!!", "", $empr_form);
$empr_form = str_replace("!!entete!!", $msg["empr_duplicate"], $empr_form);
} else {
$empr_form = str_replace("!!id!!", $id, $empr_form);
$empr_form = str_replace("!!entete!!", $entete, $empr_form);
}
$empr_form = str_replace("!!form_action!!", $form_action, $empr_form);
if ($empr->empr_cb) {
//Si il y a un code lecteur
if (!$duplicate_empr_from_id) {
$empr_form = str_replace("!!cb!!", $empr->empr_cb, $empr_form);
} else {
$empr_form = str_replace("!!cb!!", $cb, $empr_form);
}
$date_adhesion = !$duplicate_empr_from_id ? $empr->empr_date_adhesion : date('Y-m-d');
$date_clic = "onClick=\"openPopUp('./select.php?what=calendrier&caller=empr_form&date_caller=" . preg_replace('/-/', '', $date_adhesion) . "¶m1=form_adhesion¶m2=form_adhesion_lib&auto_submit=NO&date_anterieure=YES', 'date_adhesion', 250, 300, -2, -2, 'toolbar=no, dependent=yes, resizable=yes')\" ";
$adhesion = "\n\t\t\t\t<input type='hidden' name='form_adhesion' value='" . preg_replace('/-/', '', $date_adhesion) . "' />\n\t\t\t\t<input class='bouton' type='button' name='form_adhesion_lib' value='" . formatdate($date_adhesion) . "' " . $date_clic . " />";
$empr_form = str_replace("!!adhesion!!", $adhesion, $empr_form);
$date_clic = "onClick=\"openPopUp('./select.php?what=calendrier&caller=empr_form&date_caller=" . preg_replace('/-/', '', $empr->empr_date_expiration) . "¶m1=form_expiration¶m2=form_expiration_lib&auto_submit=NO&date_anterieure=YES', 'date_adhesion', 205, 300, -2, -2, 'toolbar=no, dependent=yes, resizable=yes')\" ";
$expiration = "\n\t\t\t\t<input type='hidden' id='form_expiration' name='form_expiration' value='" . preg_replace('/-/', '', $empr->empr_date_expiration) . "' />\n\t\t\t\t<input class='bouton' type='button' id='form_expiration_lib' name='form_expiration_lib' value='" . formatdate($empr->empr_date_expiration) . "' " . $date_clic . " />";
$empr_form = str_replace("!!expiration!!", $expiration, $empr_form);
// ajout ici des trucs sur la relance adhésion
$empr_temp = new emprunteur($id, '', FALSE, 0);
$aff_relance = "";
if ($empr_temp->adhesion_renouv_proche() || $empr_temp->adhesion_depassee()) {
if ($empr_temp->adhesion_depassee()) {
$mess_relance = $msg[empr_date_depassee];
} else {
$mess_relance = $msg[empr_date_renouv_proche];
}
$rqt = "select duree_adhesion from empr_categ where id_categ_empr='{$empr_temp->categ}'";
$res_dur_adhesion = mysql_query($rqt, $dbh);
$row = mysql_fetch_row($res_dur_adhesion);
$nb_jour_adhesion_categ = $row[0];
if ($empr_prolong_calc_date_adhes_depassee && $empr_temp->adhesion_depassee()) {
$rqt_date = "select date_add(curdate(),INTERVAL 1 DAY) as nouv_date_debut,\n\t\t\t\t\t\tdate_add(curdate(),INTERVAL {$nb_jour_adhesion_categ} DAY) as nouv_date_fin ";
} else {
$rqt_date = "select date_add('{$empr_temp->date_expiration}',INTERVAL 1 DAY) as nouv_date_debut,\n\t\t\t\t\t\tdate_add('{$empr_temp->date_expiration}',INTERVAL {$nb_jour_adhesion_categ} DAY) as nouv_date_fin ";
}
$resultatdate = mysql_query($rqt_date) or die("<br /> {$rqt_date} " . mysql_error());
$resdate = mysql_fetch_object($resultatdate);
$nouv_date_debut = $resdate->nouv_date_debut;
$nouv_date_fin = $resdate->nouv_date_fin;
$nouv_date_debut_formatee = formatdate($nouv_date_debut);
$nouv_date_fin_formatee = formatdate($nouv_date_fin);
// on conserve la date d'adhésion initiale
$action_prolonger = "this.form.form_expiration.value = '{$nouv_date_fin}';\n\t\t\t\tthis.form.form_expiration_lib.value = '{$nouv_date_fin_formatee}';\n\t\t\t\t";
$action_relance_courrier = "openPopUp('./pdf.php?pdfdoc=lettre_relance_adhesion&id_empr={$id}', 'lettre', 600, 500, -2, -2, 'toolbar=no, dependent=yes, resizable=yes'); return(false) ";
$aff_relance = "<div class='row'>\n\t\t\t\t\t\t<span class='erreur'>{$mess_relance}</span><br />\n\t\t\t\t\t\t<input class='bouton' type='button' value=\"" . $msg[prolonger] . "\" onClick=\"{$action_prolonger}\" /> \n\t\t\t\t\t\t<input class='bouton' type='button' value=\"" . $msg[prolong_courrier] . "\" onClick=\"{$action_relance_courrier}\" />";
if ($empr_temp->mail && $biblio_email) {
$action_relance_mail = "if (confirm('" . $msg["mail_retard_confirm"] . "')) {openPopUp('./mail.php?type_mail=mail_relance_adhesion&id_empr={$id}', 'mail', 600, 500, -2, -2, 'toolbar=no, dependent=yes, resizable=yes, scrollbars=yes'); } return(false) ";
$aff_relance .= " <input class='bouton' type='button' value=\"" . $msg['prolong_mail'] . "\" onClick=\"{$action_relance_mail}\" />";
}
$aff_relance .= "</div>";
if ($pmb_gestion_financiere && $pmb_gestion_abonnement) {
$aff_relance .= "<div class='row'><input type='radio' name='debit' value='0' id='debit_0' " . (!$empr_abonnement_default_debit ? "checked" : "") . " /><label for='debit_0'>" . $msg["finance_abt_no_debit"] . "</label> <input type='radio' name='debit' value='1' id='debit_1' " . ($empr_abonnement_default_debit == 1 ? "checked" : "") . " />";
$aff_relance .= "<label for='debit_1'>" . $msg["finance_abt_debit_wo_caution"] . "</label> ";
if ($pmb_gestion_abonnement == 2) {
$aff_relance .= "<input type='radio' name='debit' value='2' id='debit_2' " . ($empr_abonnement_default_debit == 2 ? "checked" : "") . " /><label for='debit_2'>" . $msg["finance_abt_debit_wt_caution"] . "</label>";
}
$aff_relance .= "</div>";
//.........这里部分代码省略.........
开发者ID:bouchra012, 项目名称:PMB, 代码行数:101, 代码来源:empr_func.inc.php
示例16: die
<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net [email protected] et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: refuse.inc.php,v 1.8 2015-04-03 11:16:26 jpermanne Exp $
if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) {
die("no access");
}
// Titre de la fenêtre
echo window_title($database_window_title . $msg[transferts_circ_menu_refuse] . $msg[1003] . $msg[1001]);
//creation de l'objet transfert
$obj_transfert = new transfert();
switch ($action) {
case "aff_supp":
//on affiche l'écran de validation de suppression
echo "<h1>" . $msg[transferts_circ_menu_titre] . " > " . $msg[transferts_circ_menu_refuse] . "</h1>";
echo affiche_liste_valide($transferts_refus_liste_valide, $transferts_refus_liste_valide_ligne, "SELECT num_notice, num_bulletin, " . "expl_cb as val_ex, lender_libelle, location_libelle as val_source, " . "transferts_demande.date_creation as val_date_creation, date_visualisee as val_date_refus," . "motif_refus as val_refusMotif, empr_cb as val_empr " . "FROM transferts " . "INNER JOIN transferts_demande ON id_transfert=num_transfert " . "INNER JOIN exemplaires ON num_expl=expl_id " . "INNER JOIN lenders ON idlender=expl_owner " . "INNER JOIN docs_location ON num_location_source=idlocation " . "LEFT JOIN resa ON resa_trans=id_resa " . "LEFT JOIN empr ON resa_idempr=id_empr " . "WHERE " . "id_transfert IN (!!liste_numeros!!) " . "AND etat_demande=4", "circ.php?categ=trans&sub=" . $sub);
break;
case "supp":
//on supprime les transferts sélectionner
$obj_transfert->cloture_transferts($liste_transfert);
$action = "";
break;
case "aff_redem":
$transferts_refus_redemande_global = "\n\t\t<br />\n\t\t<form name='form_circ_trans_redemande' class='form-circ' method='post' action='!!action_formulaire!!&action=redem'>\n\t\t<h3>" . $msg["transferts_circ_refus_relance"] . "</h3>\n\t\t<div class='form-contenu' >\n\t\t\t!!detail_notice!!\n\t\t\t<div class='row'> </div>\t\t\n\t\t\t<div class='row'>\n\t\t\t\t!!liste_sites!!\n\t\t\t</div>\n\t\t\t<div class='row'> </div>\t\t\n\t\t\t<div class='row'>\t\t\n\t\t\t\t<label class='etiquette'>" . $msg["transferts_circ_refus_relance_motif"] . "</label><br />\n\t\t\t\t<textarea name='motif' cols=40 rows=5></textarea>\n\t\t\t</div>\n\t\t\t<div class='row'> </div>\t\t\n\t\t\t<div class='row'>\t\t\n\t\t\t\t<label class='etiquette'>" . $msg["transferts_circ_refus_relance_retour"] . "</label>\n\t\t\t\t<input type='button' class='bouton' name='bt_date_retour' value='!!date_retour!!' onClick=\"var reg=new RegExp('(-)', 'g'); openPopUp('" . $base_path . "/select.php?what=calendrier&caller=form_circ_trans_redemande&date_caller='+form_circ_trans_redemande.date_retour.value.replace(reg,'')+'¶m1=date_retour¶m2=bt_date_retour&auto_submit=NO&date_anterieure=YES', 'date_adhesion', 250, 320, -2, -2, 'toolbar=no, dependent=yes, resizable=yes')\">\n\t\t\t\t<input type='hidden' name='date_retour' value='!!date_retour_mysql!!'>\n\t\t\t</div>\n\t\t</div>\n\t\t<input type='submit' class='bouton' name='" . $msg["89"] . "' value='" . $msg["89"] . "'>\n\t\t \n\t\t<input type='button' class='bouton' name='" . $msg["76"] . "' value='" . $msg["76"] . "' onclick='document.location=\"!!action_formulaire!!\"'>\n\t\t<input type='hidden' name='transid' value='!!trans_id!!'>\n\t\t</form>\n\t\t";
//affiche l'ecran pour proposer de relancer une nouvelle demande de transfert
echo "<h1>" . $msg[transferts_circ_menu_titre] . " > " . $msg[transferts_circ_menu_refuse] . "</h1>";
//on recupere les id de l'exemplaire
$idNotice = pmb_sql_value("SELECT num_notice FROM transferts WHERE id_transfert=" . $transid);
$idBulletin = pmb_sql_value("SELECT num_bulletin FROM transferts WHERE id_transfert=" . $transid);
开发者ID:noble82, 项目名称:proyectos-ULS, 代码行数:31, 代码来源:refuse.inc.php
librespeed/speedtest: Self-hosted Speedtest for HTML5 and more. Easy setup, exam
阅读:1218| 2022-08-30
avehtari/BDA_m_demos: Bayesian Data Analysis demos for Matlab/Octave
阅读:1133| 2022-08-17
女人怀孕后,为了有一个健康聪明的宝宝,经历各种体检、筛查。其实这些体检和筛查中的
阅读:942| 2022-11-06
medfreeman/markdown-it-toc-and-anchor: markdown-it plugin to add a toc and ancho
阅读:1339| 2022-08-18
循环读取图片第一种方法①List =dir(amp;#39;*.jpgamp;#39;); %如需其它图片格式支持
阅读:966| 2022-07-18
http://www.borland.com/namespaces/Types-IAppServerSOAP 服务器未能识别HTTP头SO
阅读:542| 2022-07-18
Improper input validation vulnerability in Link of Cybozu Garoon 4.0.0 to 5.5.1
阅读:955| 2022-07-08
sydney0zq/covid-19-detection: The implementation of A Weakly-supervised Framewor
阅读:485| 2022-08-16
离中国最远的国家是阿根廷。从太平洋直线计算,即往东线走,北京到阿根廷的布宜诺斯艾
阅读:641| 2022-11-06
shem8/MaterialLogin: Login view with material design
阅读:725| 2022-08-17
请发表评论