本文整理匯總了PHP中front::detailProjectType方法的典型用法代碼示例。如果您正苦於以下問題:PHP front::detailProjectType方法的具體用法?PHP front::detailProjectType怎麽用?PHP front::detailProjectType使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類front
的用法示例。
在下文中一共展示了front::detailProjectType方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: while
</div>
</div>
</div>
</div> <!-- service-->
<div id="lastest-project" class="main-ele">
<h2 class="headline imp-f">{Newest_Project}</h2>
<div id="carousel-lastest-project" class="carousel slide" data-ride="carousel" data-interval="5000">
<div class="carousel-inner">
<div class="item active">
<div class="row">
<?php
$pr_i = $i->listNewProject();
$k = 0;
while ($row_pr_i = mysql_fetch_assoc($pr_i)) {
$idPT_i = $row_pr_i['idPT'];
$pt_i = $i->detailProjectType($idPT_i);
$row_pt_i = mysql_fetch_assoc($pt_i);
?>
<div class="col-md-3">
<div class="resize">
<div class="lastest-project-element">
<div class="figure">
<img class="img-responsive" src="<?php
echo $row_pr_i['img'];
?>
" alt="nha thep tien che, xay dung nha xuong, ket cau thep, pre engineered steel buildings, steel building, tps" title="<?php
echo $row_pr_i['name_' . $lang];
?>
">
<div class="date-over"><?php
echo date("Y", strtotime($row_pr_i['year']));