本文整理汇总了PHP中display_view函数的典型用法代码示例。如果您正苦于以下问题:PHP display_view函数的具体用法?PHP display_view怎么用?PHP display_view使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了display_view函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: display_image
function display_image($ImageID)
{
if (!is_a($ImageID, static::$model)) {
$ImageID = new static::$model($ImageID);
}
$Carousel = new mCarouselImage();
$Carousel->load($ImageID);
data('Image', $ImageID);
data('Carousel', $Carousel);
display_view('carousel/image');
}
示例2: display_image
function display_image($ImageID)
{
if (!is_a($ImageID, static::$model)) {
$ImageID = new static::$model($ImageID);
}
$Box = new mHomepageImage();
$Box->load($ImageID);
data('Image', $ImageID);
data('Box', $Box);
display_view('homepage/image');
}
示例3: display_image
function display_image($ImageID)
{
if (!is_a($ImageID, static::$model)) {
$ImageID = new static::$model($ImageID);
}
$StoreImage = new mStoreItemImage();
$StoreImage->load($ImageID);
data('Image', $ImageID);
data('StoreImage', $StoreImage);
display_view('store/image');
}
示例4: display_form
<table border="0" align="center" width = "100" style="font-family:georgia;font-size:15px;">
<tr>
<td align="right" width="300" style="padding-right:5px">House Number:</td>
<td width="100" align="left">
<input id="hno" style = "height:25px; padding-left:10px;border-radius:5px;" size = "25" type="text" name="f[]" placeholder="House Number" required = "true" />
</td>
</tr>
<tr>
<td colspan = "2"> </td>
</tr>
</table>
<input type="submit" name="submit" value = "Delete" style=" background:#000099;border:none; color:white; font-family:georgia; font-size:14px; height: 25px; width: 100px; border-radius:5px; position:relative; left: 200px; top: 10px;" />
</div>
</form>';
}
display_form();
display_view();
if (isset($_POST['submit'])) {
$formData = $_POST['f'];
$fclass = new dummy();
$fclass->check($formData);
// $fclass->result();
}
echo '</br> </br><a href="pm_home.php" style=" background:#000099; border:none; color:white; font-family:georgia; font-size:20px; height: 25px; width: 100px; border-radius:5px; left: 20px; top: 10px;">Return</a>';
?>
</div>
</div>
</div> <!-- /#contents -->
</body>
</html>
示例5: postshare
"><?php
echo $Published->title;
?>
</a></h2>
</div>
<div class="post-meta clearfix">
<span>Share</span>
<?php
echo postshare($Published);
?>
</div>
<div class="post-image">
<img src="<?php
echo $Published->mainimage;
?>
"/>
</div>
<div class="post-content clearfix">
<p><?php
echo $Published->data;
?>
</p>
</div>
</article>
<div class="col-xs-3 other-pages">
<?php
display_view('blog/sidebar');
?>
</div>
</div>
示例6: pageurl
<h3 class="page-subtitle"><?php
echo $Published->subtitle;
?>
</h3>
<div class="page-meta">
<a href="http://facebook.com/sharer.php?u=<?php
echo pageurl($Published);
?>
" target="_blank"><i class="fa fa-facebook"></i></a>
<a href="<?php
echo twitter_link($Published->title, pageurl($Published));
?>
" target="_blank"><i class="fa fa-twitter"></i></a>
</div>
<div class="page-content">
<?php
echo $Published->data;
?>
</div>
<p class="page-footer">Last Updated <?php
echo date('d/m/Y', $Published->updated);
?>
</p>
</article>
<div class="col-xs-3 other-pages">
<?php
display_view('pages/sidebar');
?>
</div>
</div>
示例7: display_view
<div class="block-quote page-section">
<div class="row">
<div class="section-inner col-xs-10 col-xs-offset-1">
<p class="heading">Order Complete</p>
<p class="block-text">Your payment was successful, we're working on it now!</p>
<a class="btn btn-default large" href="/">Home</a>
</div>
</div>
</div>
<div id="charge" class="">
<div class="row">
<div class="col-xs-8 basket-detail">
<?php
display_view('checkout/basket_list');
?>
</div>
<div class="col-xs-4 basket-summary">
<?php
display_view('checkout/summary');
?>
</div>
</div>
</div>
示例8: ifx_Input
<div class="col-xs-12">
<?php
$Input = new ifx_Input('textarea');
$Input->bindTo('mBlogPostRevision', 'data')->label('Post')->editor()->outerClass('droppable')->display();
$ImagePicker = new blog_ImageManager();
$ImagePicker->display_picker();
$Input = new ifx_Input('input', 'text');
$Input->bindTo('mBlogPostRevision', 'url')->label('URL Slug')->display();
$Input = new ifx_Input('textarea');
$Input->bindTo('mBlogPostRevision', 'metadesc')->label('Meta Description')->display();
?>
</div>
<div class="col-xs-12">
<?php
display_view('/blog/actions');
?>
</div>
<?php
if (isset($Post)) {
?>
<div class="col-xs-12 revisionhistory">
<h4>Revision History</h4>
<ul>
<?php
$i = 0;
?>
<?php
foreach ($Post->revisions as $Rev) {
?>
<?php
示例9: die
<?php
@(include_once "inc/config.php") or die("Edit inc/config.php.sample first !");
require_once "inc/functions.php";
$view = chooser($_REQUEST['view']);
display_view($view);
示例10: display_view
<a href="/custom/confirm/" class="btn btn-primary large">Add to Basket</a>
</div>
<?php
} else {
?>
<p class="heading">Something Missing</p>
<p class="block-text">It looks like you've not selected any options yet</p>
<p class="block-text">Let's go and customise our bed</p>
<div class="actions">
<a href="/custom/restart/" class="btn btn-primary large">Customise Now</a>
</div>
<?php
}
?>
</div>
</div>
<?php
if ($basket['total'] > 0) {
?>
<div class="row">
<div class="col-xs-8 col-xs-offset-2 basket">
<?php
display_view('custom/basket');
?>
</div>
</div>
<?php
}
?>
</div>