本文整理匯總了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])) {