当前位置: 首页>>代码示例>>PHP>>正文


PHP rightLang函数代码示例

本文整理汇总了PHP中rightLang函数的典型用法代码示例。如果您正苦于以下问题:PHP rightLang函数的具体用法?PHP rightLang怎么用?PHP rightLang使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了rightLang函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: img_format

            ?>
"><img src="<?php 
            echo img_format('productres/' . $row->product_picture, 'thumb');
            ?>
" alt="<?php 
            echo $row->alternate_text;
            ?>
"  title="<?php 
            echo $row->alternate_text;
            ?>
" class="img-polaroid"></a>
                <p class="product-name" style="text-align:center;"><a href="/<?php 
            echo $upath . $row->url;
            ?>
"><?php 
            echo rightLang($row->product_name, $row->product_name_fr);
            ?>
</a></p>
                <p class="lead text-success"><?php 
            echo getRate($row->price_value);
            ?>
</p>
                <a href="/<?php 
            echo $upath . $row->url;
            ?>
" class="btn btn-inverse btn-mini ">Order</a>
              
                <p class="delvinfo">
                          <?php 
            if ($row->delivery_method_id == 1) {
                echo lang('Same-Day Local Florist Delivery');
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:31,代码来源:index7-10-13.php

示例2: foreach

?>
  </div>
    
  <div class="threecolbanners">
  <?php 
foreach ($tiles as $tile) {
    ?>
    	<a href="<?php 
    echo $tile->link_to;
    ?>
"><div class="bannercol"><img src="/banners/<?php 
    echo $tile->banner_file;
    ?>
" /></div></a>
		
	<?php 
}
?>
    <div class="clear"></div>
    
  </div>
  
    <?php 
if (isset($page) && $page->content_position == 'bottom') {
    echo '<div id="pagecontents">' . rightLang($page->contents, $page->contents_fr) . '</div>';
}
?>
 
  
<?php 
include_once 'footer.php';
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:31,代码来源:index_temp.php

示例3: substr

    echo substr(rightLang($product->product_description, $product->product_description_fr), 0, 390) . ' ... ';
    ?>
										<a href="javascript:;" onClick="showInf1();">see more</a>
									<?php 
} else {
    ?>
										<?php 
    echo rightLang($product->product_description, $product->product_description_fr);
    ?>
									<?php 
}
?>
							  </div>
							  <div id="long_des" class="product-description" style="text-align:justify;display:none;">
									<?php 
echo rightLang($product->product_description, $product->product_description_fr);
?>
									<!--
									<div class="pull-right">
										<a href="javascript:;" onClick="showInf2();">See less</a>
									</div>	
									<br /><br />
									-->
							  </div>
                              <?php 
echo form_close();
?>
							  
							  <script>
								function showInf1(){
									document.getElementById('reduced_des').style.display = 'none';
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:31,代码来源:product.php

示例4: rightLang

									<?php 
echo rightLang($product->product_description, $product->product_description_fr);
?>
								</div> 
								<!--
								<div id="tab2" class="tab_content">	 
									<?php 
foreach ($product->delivery_policy as $dpol) {
    echo rightLang($dpol->message_text, $dpol->message_text_fr);
}
?>
								</div>
								<div id="tab3" class="tab_content">	 
									<?php 
foreach ($product->substitution_policy as $spol) {
    echo rightLang($spol->message_text, $spol->message_text_fr);
}
?>
								</div>
								-->
							</div>
						</div>	
					</div>
					<div class="col-lg-1">
							
					</div>
					
				</div>
				
				</form>
				
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:30,代码来源:shopcart_clava.php

示例5: rightLang

                <?php 
if (isset($page) && strlen($page->banner_file) > 5) {
    ?>

                <img src="/banners/<?php 
    echo $page->banner_file;
    ?>
" class="bannerimage" />
                <?php 
}
?>
		
                
            <div>
            <h2 class="text-center"><?php 
echo rightLang($page->contents, $page->contents_fr);
?>
</h2>
            <p class="lead text-center"><?php 
echo lang('Invoice #');
?>
: <?php 
echo $invoice_number;
?>
</p>
            <p>&nbsp;</p>
	    
            <div class="row-fluid">
                <div class="span12">
                    <table border="0" cellpadding="15" cellspacing="0" class="table" >
                        <?php 
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:31,代码来源:thankyou--30-04-2014Shaji.php

示例6: rightLang

include_once 'header.php';
?>
    <div class="content">
        <div id="main">
            <?php 
if (isset($page) && strlen($page->banner_file) > 5) {
    ?>
            <img src="/banners/<?php 
    echo $page->banner_file;
    ?>
" class="bannerimage" />
            <?php 
}
?>
            <?php 
if (isset($page) && !empty($page->h1)) {
    echo '<h1>' . rightLang($page->h1, $page->h1_fr) . '</h1>';
}
?>
            <div id="pagecontents">
                <?php 
echo $this->session->userdata('language') == 'french' ? $page->contents_fr : $page->contents;
?>
            </div>
        </div> <!-- main -->
    </div> <!-- content -->
<?php 
include_once 'footer.php';
?>
       
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:29,代码来源:page.php

示例7: elseif

} elseif (isset($page) && !empty($page->description)) {
    echo $page->description;
} else {
    //echo "Ordering flowers online at What A Bloom is a breeze, with seasonal websites for the busiest times of year such a Valentine's Day and Mothers Day, it makes shopping that much easier.";
    echo rightLang($product->product_name, $product->product_name_fr) . '. ' . substr(rightLang($product->product_description, $product->product_description_fr), 0, 130);
}
?>
" />
<meta name="keywords" content="<?php 
if (isset($keywords)) {
    echo $keywords;
} elseif (isset($page) && !empty($page->keywords)) {
    echo $page->keywords;
} else {
    //echo 'florist Toronto, flowers Vancouver, flower shop Richmond BC Canada, flower delivery Vancouver';
    echo rightLang($product->product_name, $product->product_name_fr) . ', ' . $catego;
}
?>
" />
<meta name="copyright" content="(c) 2013 FlowersCanada.com" />
<meta name="robots" content="all" />
<meta name="rating" content="General" />
<meta name="author" content="Flowers Canada" />
<meta name="revisit-after" content="7 days" />
<meta name="distribution" content="Global" />
<meta http-equiv="Content-Language" content="en-us" />

<link rel="canonical" href="<?php 
if (isset($canonical)) {
    echo $canonical;
} elseif (isset($page) && !empty($page->canonical)) {
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:31,代码来源:header.php

示例8: base_url

        $total_price += $row->product_price;
        ?>
							  <tr>
								<td align="center">
									<img src="<?php 
        echo base_url();
        ?>
productres/<?php 
        echo $row->product_picture;
        ?>
" style="width:117px;height:130px;" />
								</td>
								<td>
									<b>Name:</b><br />
									<div style="font-size:13px;margin-bottom:7px;"><?php 
        echo ucwords(strtolower(rightLang($row->product_name, $row->product_name_fr)));
        ?>
</div>
									<b>Code:</b>
									<div style="font-size:13px;margin-bottom:7px;"><?php 
        echo $row->product_code;
        ?>
</div>
									<b>Delivery On:</b>
									<div style="font-size:13px;margin-bottom:7px;"><?php 
        echo ucwords(date('l, d M Y', strtotime($row->delivery_date)));
        ?>
</div>
								</td>
								<td align="center" style="vertical-align:middle;">1</td>
								<td align="center" style="vertical-align:middle;">
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:31,代码来源:shopping_cart_clava.php

示例9: rightLang

        ?>
" alt="<?php 
        echo $row->alternate_text;
        ?>
"  title="<?php 
        echo $row->alternate_text;
        ?>
"  width="186" height="208"/>                
                  
                  <?php 
    }
    ?>
                  
                    
                    <p class="product-name" style="font-size:16px; text-align:center; color:#236B8E;"><?php 
    echo rightLang($row->product_name, $row->product_name_fr) . "-" . $row->product_id;
    ?>
</p>
                    
                <?php 
    $prices = $row->prices;
    $baseprice = $prices[0]->price_value;
    ?>
                  
                   <?php 
    //if($row->prices!='') {
    ?>
                    <?php 
    echo '<p class="lead">' . getRate($prices[0]->price_value) . '</p>';
    ?>
                
开发者ID:bijuys,项目名称:MemorialFlowers,代码行数:30,代码来源:productslist.php


注:本文中的rightLang函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。