示例#1
0
 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
0
 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
0
 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');
 }
						<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">&nbsp;</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
0
文件: post.php 项目: Swift-Jr/thmdhc
"><?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
0
文件: info.php 项目: Swift-Jr/thmdhc
        <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
0
<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
0
文件: form.php 项目: Swift-Jr/thmdhc
    <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
0
<?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
0
                <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>
示例#11
0
文件: form.php 项目: Swift-Jr/thmdhc
    <div class="col-xs-12">
        <?php 
$Input = new ifx_Input('textarea');
$Input->bindTo('mPageRevision', 'data')->label('Content')->editor()->outerClass('droppable')->display();
$ImagePicker = new pages_ImageManager();
$ImagePicker->display_picker();
$Input = new ifx_Input('input', 'text');
$Input->bindTo('mPageRevision', 'url')->label('URL Slug')->display();
$Input = new ifx_Input('textarea');
$Input->bindTo('mPageRevision', 'metadesc')->label('Meta Description')->display();
?>
    </div>
    <div class="col-xs-12">
        <?php 
display_view('/pages/actions');
?>
    </div>
    <?php 
if (isset($Page)) {
    ?>
    <div class="col-xs-12 revisionhistory">
        <h4>Revision History</h4>
        <ul>
            <?php 
    $i = 0;
    ?>
            <?php 
    foreach ($Page->revisions as $Rev) {
        ?>
            <?php