本文整理汇总了PHP中WebPage::appendCssUrl方法的典型用法代码示例。如果您正苦于以下问题:PHP WebPage::appendCssUrl方法的具体用法?PHP WebPage::appendCssUrl怎么用?PHP WebPage::appendCssUrl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类WebPage
的用法示例。
在下文中一共展示了WebPage::appendCssUrl方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: WebPage
<?php
require_once "../config/config_db.php";
require_once CONFIG_DIR . "/config_base.php";
require_once INC_DIR . "/autoload.function.php";
$page = new WebPage("Validation Achat des Billets");
$page->appendCssUrl("../css/index.css");
$matchs = array();
$types = array();
$quantites = array();
// var_dump($_POST);
$requeteMatchs = Connection_DB::getInstance()->prepare('SELECT DATE_FORMAT(day, "%d-%m-%Y") AS day
FROM infs3_prj13.Creneau, infs3_prj13.Match
WHERE Match.id_creneau=Creneau.id_creneau
AND Match.id_match=?');
$requeteTypes = Connection_DB::getInstance()->prepare('SELECT libTypeBillet
FROM infs3_prj13.TypeBillet
WHERE id_typeBillet = ?');
$requetePrix = Connection_DB::getInstance()->prepare('SELECT prixBillet AS prix
FROM infs3_prj13.Disponibilite
WHERE id_match=?
AND id_typeBillet=?');
foreach ($_POST as $key => $value) {
if (preg_match('#match#', $key) === 1) {
$match = $value;
} else {
if (preg_match('#type#', $key) === 1) {
array_push($types, [$match, $value]);
} else {
if (preg_match('#quantite#', $key) === 1) {
if (!empty($_POST[$key])) {