本文整理汇总了PHP中CUrl::formate方法的典型用法代码示例。如果您正苦于以下问题:PHP CUrl::formate方法的具体用法?PHP CUrl::formate怎么用?PHP CUrl::formate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CUrl
的用法示例。
在下文中一共展示了CUrl::formate方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: include
----------------------------------------------------------------------*/
$headscript = CHeadscript::get_headscript($id_page_courant);
?>
<title><?php echo $meta->title ?></title>
<meta name="description" content="<?php echo $meta->description ?>" />
<meta name="keywords" content="<?php echo $meta->keywords ?>" />
<?php CUrl::inclure('reset.css'); ?>
<?php CUrl::inclure('default.css'); ?>
<?php CUrl::inclure('css/diaporama.css'); ?>
<?php CUrl::inclure('css/video.css'); ?>
<?php echo $headscript ?>
</head>
<body>
<div id="mainwrap">
<div id="header"><?php include(CUrl::formate('header.php'))?></div>
<div id="contentarea">
<div id="left"><?php include(CUrl::formate('left.php')) ?></div>
<div id="center"><?php include(CUrl::formate('center.php')) ?></div>
<div class="clearfloat"></div>
</div>
<div id="footer"><?php include(CUrl::formate('footer.php')) ?></div>
<script type="text/javascript" src="/plug/panther/accordion.js"></script>
<script type="text/javascript" src="/plug/panther/jquery.li-scroller.1.0.js"></script>
<script type="text/javascript" src="../plug/prototype/prototype.js"></script>
<script type="text/javascript" src="/plug/send_mail_queue/script.js"></script>
<script type="text/javascript" src="/plug/popup/popup.js"></script>
<script type="text/javascript" src="/userfiles/file/module/contact/inc/sendmail.js"></script></div>
</body>
</html>
示例2: mysql_fetch_array
<dl>
<?php
while($faq = mysql_fetch_array($faqs)) {
?>
<dt><?php echo $faq['question']; ?></dt>
<dd><?php echo $faq['reponse']; ?></dd>
<?php
}
?>
</dl>
</div>
<?php
}
}
else {
echo $page['text'];
}
}
?>
</div>
<?php if($page['send']) { ?>
<div class="clearfloat"></div>
<div id="other">
<ul>
<li><a href="userfiles/file/module/sendtofriend/src/formulaire.php?url=<?php echo $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']?>" target="mon_popup" onclick="popup(this.href, this.target, '577', '455'); return false">Envoyer à un ami <img src="<?php echo CUrl::formate('sendtofriend.png') ?>" alt="envoyer cet article à un ami" /></a></li>
</ul>
</div>
<?php } ?>
<?php } else {
echo EN_CONSTRUCTION;
} ?>