• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP theme_img函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: __construct

 function __construct($content)
 {
     //set the content appropriately
     $this->content = $content;
     $loader = new \Twig_Loader_String();
     $twig = new \Twig_Environment($loader);
     //baseURL & siteURL filter
     $filter = new \Twig_SimpleFilter('*URL', function ($name, $string) {
         $f = $name . '_url';
         return $f($string);
     });
     $twig->addFilter($filter);
     //themeImg filter
     $filter = new \Twig_SimpleFilter('themeImg', function ($string) {
         return theme_img($string);
     });
     $twig->addFilter($filter);
     foreach ($GLOBALS['themeShortcodes'] as $shortcode) {
         $function = new \Twig_SimpleFunction($shortcode['shortcode'], function () use($shortcode) {
             if (is_array($shortcode['method'])) {
                 $class = new $shortcode['method'][0]();
                 return call_user_func_array([$class, $shortcode['method'][1]], func_get_args());
             } else {
                 return call_user_func_array($shortcode['method'], func_get_args());
             }
         });
         $twig->addFunction($function);
     }
     //render the subject and content to a variable
     $this->content = $twig->render($this->content);
 }
开发者ID:lekhangyahoo,项目名称:gonline,代码行数:31,代码来源:content_filter.php


示例2: site_url

	</div>
<tr>
<td>Belum terdaftar? <a href="<?php 
echo site_url('home/pendaftaran_mitra/');
?>
">Daftar disini</a>
</td>
</tr>
			</div>
		</li>
	</ul>
	<ul class="form-kanan">	
		<li class="quest">
			<div>
			Pertanyaan Terkait<br/>
			1. Apa itu Affiliate System<br/>
			2. Berapa Komisi yang akan didapatkan member Affiliate apabila telah berhasil menjual prdouk <b>kueibuhasan</b>.com<br/>
			3. Kapan Komisi Affiliate akan diberikan<br/>
			4. Berapa besar minimal komisi pembayaran yang dapat dipilih oleh member Affiliate<br/>
			5. Apa saja metode pembayaran komisi Affiliate yang disediakan di <b>kueibuhasan</b>.com<br/><br/>
						
<img src="<?php 
echo theme_img('affiliate.png', false);
?>
" style="width:60%; height:60%">
			</div>
		</li>
	</ul>
</div>

开发者ID:Garybaldy,项目名称:rotio,代码行数:29,代码来源:daftar_mitra.php


示例3: foreach

    //echo base_url("assets/img/ajax_loader.gif");
    ?>
"></span>
                    <span style="float:right"><b style="color: #e32322;font-size:14px;font-family: 'Lato',sans-serif">25 CLASSES</b></span>                            
                </div-->
        <?php 
    foreach ($courses_row1->result() as $courses) {
        $entrenadorNombre = $courses->firstname;
        $entrenadorApellido = $courses->lastname;
        $fecha = $courses->data;
        $date = str_replace(" ", ".", $fecha);
        ?>
                        <div class="col-md-4 classbox" id="groupal">
                            <?php 
        $places_left = 1;
        $photo = theme_img('no_picture.png', lang('no_image_available'));
        $photoUrl = theme_url('assets/img/no_picture.png');
        if ($courses->images != "false") {
            $image1 = explode("{", $courses->images);
            $image2 = explode(":", $image1[2]);
            $image3 = explode("\"", $image2[1]);
            $photo = '<img src="' . base_url('uploads/images/thumbnails/' . $image3[1]) . '" style="width:auto; height:150px;"/>';
            $photoUrl = base_url('uploads/images/full/' . $image3[1]);
        }
        ?>
                            <a data-toggle="modal" data-target="#modal_description_class" onclick="descriptionClass(<?php 
        echo $courses->id_course;
        ?>
);" class="thumbnail linkThumb" style="border: none;cursor: pointer;">
                                <?php 
        echo $photo;
开发者ID:FAVHYAN,项目名称:a3workout,代码行数:31,代码来源:course.php


示例4: search_map

 function search_map()
 {
     $this->load->helper('form');
     $param = array('SOURCE' => $this->input->post('source', true), 'DESTINATION' => $this->input->post('destination', true), 'fromlatlng' => $this->input->post('formlatlng', true), 'tolatlng' => $this->input->post('tolatlng', true), 'frequency' => date('w', strtotime(str_replace("/", "-", $this->input->get('journey_date', true)))), 'date' => $this->input->post('journey_date', true), 'vechiclecategory' => $this->input->post('VECHICATEGORY_FILTER', true), 'vechicletype' => $this->input->post('VECHITYPE_FILTER', true), 'filter' => $this->input->post('FILTER', true), 'amenities' => $this->input->post('AMENITIES_FILTER', true), 'traveltype' => $this->input->post('TRAVELTYPE_FILTER', true), 'frquencytype' => $this->input->post('FREQUENCY_FILTER', true), 'allowtype' => $this->input->post('TRAVELALLOW_FILTER', true), 'return' => $this->input->post('Return_Type', true));
     $data['vechicletype'] = $this->vechicle_model->getvechicletype_list();
     $data['selparam'] = $param;
     if (!empty($param['fromlatlng']) && !empty($param['tolatlng']) && !empty($param['date'])) {
         $data = $this->search_model->getSearchResults($param, $offset = 'null', $data, $map_view = 1);
         $data = $this->search_model->SearchResults_count($param, $data);
         if ($data['count'] != 0) {
             $this->load->library('googlemaps');
             $config['center'] = $param['fromlatlng'];
             $config['zoom'] = '10';
             $this->googlemaps->initialize($config);
             if ($data['map_details']) {
                 if ($data['search_results']) {
                     foreach ($data['search_results'] as $result) {
                         $marker = array();
                         $marker['position'] = $data['map_details']['latlng_' . $result['trip_id']];
                         $marker['infowindow_content'] = $data['map_details']['source_' . $result['trip_id']];
                         $marker['icon'] = theme_img('map-marker-ico.png');
                         $this->googlemaps->add_marker($marker);
                     }
                 }
             }
             $data['map'] = $this->googlemaps->create_map();
             $this->load->view('search_map', $data);
         } else {
             echo false;
         }
     }
 }
开发者ID:santanumajumdar,项目名称:carpool,代码行数:32,代码来源:search.php


示例5: theme_img

<div id="wrapper">

	<div id="content">
		<?php 
$this->load->view('header_menu');
?>


		<div class="sliderbg">
			<div class="pages_container">
				<?php 
echo $profile['service'];
?>
				<div class="clearfix"></div>
				<div class="scrolltop radius20">
					<a
						onClick="jQuery('html, body').animate( { scrollTop: 0 }, 'slow' );"
						href="javascript:void(0);"><img
						src="<?php 
echo theme_img('/icons/top.png');
?>
" alt="Go on top"
						title="Go on top" />
					</a>
				</div>
			</div>
			<!--End of page container-->
		</div>
	</div>
</div>
开发者ID:beebee1987,项目名称:sunhope,代码行数:30,代码来源:services.php


示例6: theme_img

								</button>
								<button type="button" class="btn btn-cart">
									Add to cart
									<i class="fa fa-shopping-cart"></i> 
								</button>									
							</div>
						</div>
					</div>
				</div>
			<!-- Product #3 Ends -->
			<!-- Product #4 Starts -->
				<div class="col-md-3 col-sm-6">
					<div class="product-col">
						<div class="image">
							<img src="<?php 
echo theme_img('product-images/5.jpg');
?>
" alt="product" class="img-responsive" />
						</div>
						<div class="caption">
							<h4><a href="product.html">Fashion Garments</a></h4>
							<div class="description">
								We are so lucky living in such a wonderful time. Our almost unlimited ...
							</div>
							<div class="price">
								<span class="price-new">$199.50</span> 
								<span class="price-old">$249.50</span>
							</div>
							<div class="cart-button button-group">
								<button type="button" title="Wishlist" class="btn btn-wishlist">
									<i class="fa fa-heart"></i>
开发者ID:vandona,项目名称:v3,代码行数:31,代码来源:homepage.php


示例7: theme_img

    echo $error;
    ?>
                </div>
                <?php 
}
?>
            </div>
            <div class="col-xs-12">
                <div id="login-box">
                    <div id="login-box-holder">
                        <div class="row">
                            <div class="col-xs-12">
                            <header id="login-header">
                             <div id="login-logo">
                              <img src="<?php 
echo theme_img('logo.png');
?>
" alt=""/>
                             </div>
                            </header>
                            <div id="login-box-inner" class="with-heading">
                             <h4>Forgot your password?</h4>
                             <div id="resend">
                             <p>
                              Enter your email address to recover your password.
                             </p>
                             <form role="form" id="resendForm">
                             <div  id="resendStatus">
												
											
											</div>
开发者ID:santanumajumdar,项目名称:carpool,代码行数:31,代码来源:forgot_password.php


示例8: base_url

                <a href="<?php 
        echo base_url('addtrip/delete/' . $trip['trip_id']);
        ?>
" class="red-bg"> <img src="<?php 
        echo theme_img('cancel-ico.png');
        ?>
"> <?php 
        echo lang('delete_all_trips');
        ?>
 </a>

                <a href="<?php 
        echo base_url('addtrip/form/' . $trip['trip_id']);
        ?>
"> <img src="<?php 
        echo theme_img('edit-ico.png');
        ?>
"> Edit trips </a>

              </div>
              </div>
            </div>
             <?php 
        $i++;
    }
}
?>
            <!-- Ena Main Trip -->
           
          </div>
        </div>        
开发者ID:santanumajumdar,项目名称:carpool,代码行数:31,代码来源:trips.php


示例9: form_open

<?php

include 'header.php';
?>

<?php 
echo form_open('cart/giftcard');
?>
<div class="row" style="margin-top:20px;">
	<div class="span4">
		<div id="primary-img">
			<?php 
echo theme_img('giftcard.jpg', lang('giftcard'));
?>
		</div>
	</div>
	<div class="span8">
		<div class="row">
			<div class="span8">
				<h2 style="font-weight:normal"><?php 
echo lang('giftcard');
?>
</h2>
			</div>
		</div>
		
		<?php 
if (is_array($preset_values)) {
    ?>
		<div class="row">
			<div class="span8">
开发者ID:Joncg,项目名称:eelly_cps_fx,代码行数:31,代码来源:giftcards.php


示例10: date

<div id="kemitraan">
	<ul class="form-kiri2">	
		<li class="box_content">
			<div class="space_blog">
				<div class="blog">
					<div class="box_news">
						<div class="isi">
							<div class="wrap_author">
									<p>by kueibuhasan| <?php 
echo $newDate = date("M d, Y", strtotime($artikel->date_input));
?>
 | kueibuhasan Tips</p>
								</div> 
								<div align="center">
									<img src="<?php 
echo theme_img('Blog_03.png', false);
?>
">
								</div>
								
								<?php 
echo $artikel->content;
?>
							</div>
						</div>
					</div>		
				</div>
			</div>
		</li>
		
	</ul>	
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:detail_artikel.php


示例11: foreach

    ?>
</option>
					</select>
				</div>
				<div style="float:left;"><?php 
    echo $this->pagination->create_links();
    ?>
</div>
				<br style="clear:both;"/>
				<ul class="thumbnails category_container">
				<?php 
    foreach ($products as $product) {
        ?>
					<li class="span3 product">
						<?php 
        $photo = !empty($product->eelly_thumb_img) ? '<img  src="' . $product->eelly_thumb_img . '" alt="' . $product->seo_title . '"/>' : theme_img('no_picture.png', lang('no_image_available'));
        $product->images = array_values($product->images);
        if (!empty($product->images[0])) {
            $primary = $product->images[0];
            foreach ($product->images as $photo) {
                if (isset($photo->primary)) {
                    $primary = $photo;
                }
            }
            $photo = '<img src="' . base_url('uploads/images/thumbnails/' . $primary->filename) . '" alt="' . $product->seo_title . '"/>';
        }
        ?>
						<a class="thumbnail" href="<?php 
        echo site_url(implode('/', $base_url) . '/' . $product->slug);
        ?>
">
开发者ID:Joncg,项目名称:eelly_cps_fx,代码行数:31,代码来源:category.php


示例12: theme_js

	});
   });
</script>
<?php 
echo theme_js('jquery.wallform.js', true);
?>
<div id="nav-col">
<section id="col-left" class="col-left-nano">
    <div id="col-left-inner" class="col-left-nano-content">
        <div id="user-left-box" class="clearfix hidden-sm hidden-xs dropdown profile2-dropdown">
            <div id="ProfilePic">
            <img alt="" id="previousImage" src="<?php 
if (!empty($admin_img['admin_img'])) {
    echo admin_profile_img($admin_img['admin_img']);
} else {
    echo theme_img('default.png');
}
?>
" />
            </div>
            <div class="user-box">
                <span class="name">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                      Welcome  <?php 
echo $name;
?>
 
                        <i class="fa fa-angle-down"></i>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="#" id="profile_pic"><i class="fa fa-user"></i>Edit Photo</a></li>						
开发者ID:santanumajumdar,项目名称:carpool,代码行数:31,代码来源:left.php


示例13: theme_img

					</li>
					<li>
						<img src="<?php 
echo theme_img('payment-icon/visa.png');
?>
" alt="PaymentGateway" />
					</li>
					<li>
						<img src="<?php 
echo theme_img('payment-icon/mastercard.png');
?>
" alt="PaymentGateway" />
					</li>
					<li>
						<img src="<?php 
echo theme_img('payment-icon/americanexpress.png');
?>
" alt="PaymentGateway" />
					</li>
				</ul>-->
			<!-- Payment Gateway Links Ends -->
			</div>
		<!-- Container Ends -->
		</div>
	<!-- Copyright Area Ends -->
	</footer>
<!-- Footer Section Ends -->
<script>
setInterval(function(){
    resizeCategories();
}, 200);
开发者ID:vandona,项目名称:v3,代码行数:31,代码来源:footer.php


示例14: theme_img

		<ul>
			<li align="center">
				<img src="<?php 
echo theme_img('Sistem-Pengiriman.png', false);
?>
">
			</li>
			<li class="sistem_pengiriman">
				<p>
					Berdasarkan ilustrasi diatas, sehingga sistem pengiriman produk yang disediakan di qplasa.com dibagi menjadi 3 poin utama, diantaranya adalah proses check out dari produk yang dipesan, setelah itu proses 'packaging' dan baru kemudian proses pengiriman produk pesanan ke alamat Customer.
				</p><br>
				<p>
					Kami bekerja sama dengan TIKI dan JNE selaku salah satu layanan pengiriman barang yang terpercaya di Indonesia untuk mengirimkan produk ke alamat rumah Anda.
				</p><br>
				<p>
					<img src="<?php 
echo theme_img('tiki.png', false);
?>
">
					<img src="<?php 
echo theme_img('jne.png', false);
?>
">
				</p><br>
				<p>
					Silahkan Anda gunakan layanan Calculator Shipping yang telah kami sediakan untuk mengetahui berapa biaya perkiraan pengiriman produk yang dipesan ke alamat rumah Anda. <div class="merah">Klik disini untuk mengakses halaman Calculator </div>
				</p><br>
			</li>
		</ul>
	</div>
</div>
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:sistem_pengiriman.php


示例15: theme_img

        <?php 
}
?>
    </div>
</div>

<div class="col-nest">
    <div class="col" data-cols="2/5" data-medium-cols="2/5">
        <div class="productImg">
            <!--<img src="http://dev.gonline.com/themes/default/assets/img/pic_generator.png" alt="No Image Available">-->
            <?php 
if ($product->primary_category == 1 || $product->primary_category == 4) {
    $photo = theme_img('pic_generator.png', lang('no_image_available'));
}
if ($product->primary_category == 2) {
    $photo = theme_img('pic_alternator.png', lang('no_image_available'));
}
if (!empty($product->images[0])) {
    foreach ($product->images as $photo) {
        if (isset($photo['primary'])) {
            $primary = $photo;
        }
    }
    if (!isset($primary)) {
        $tmp = $product->images;
        //duplicate the array so we don't lose it.
        $primary = array_shift($tmp);
    }
    $photo = '<img src="' . base_url('uploads/images/full/' . $primary['filename']) . '" alt="' . $product->seo_title . '" data-caption="' . htmlentities(nl2br($primary['caption'])) . '"/>';
}
echo $photo;
开发者ID:lekhangyahoo,项目名称:gonline,代码行数:31,代码来源:product.php


示例16: theme_img

                                                                        </tr>
                                                                        <tr>
                                                                            <th>Destination Account Name:</th>
                                                                            <td>88DB PHILIPPINES INC.</td>
                                                                        </tr>
                                                                    </table>
                                                                <br>
                                                                    You will be receive instruction email to validate your payment.
                                                                </div>
                                                            </div>';
}
if ($this->config->item('allow_ubiz')) {
    $payment_methods['ubiz']['name'] = 'UBIZ';
    $payment_methods['ubiz']['form'] = '<div class="row">
                                                            <div class="col-md-12" style="text-align:center; padding:2rem 0">
                                                                <img  src="' . theme_img('logo-ubp.png') . '" border="0" style="width: 200px;margin: .25em">
                                                            </div>
                                                            <div class="col-md-12">
                                                                You will be directed to UBIZ website to verify your payment.
                                                            </div>
                                                        </div>';
}
if (empty($payment_method)) {
    $selected = key($payment_methods);
} else {
    $selected = $payment_method['module'];
}
foreach ($payment_methods as $method => $info) {
    ?>
<li <?php 
    echo $selected == $method ? 'class="active"' : '';
开发者ID:devarj,项目名称:design,代码行数:31,代码来源:payment_form.php


示例17: form_open

	</div>
	<div class="garis"></div>
<br><br>
<div align="center">
<div class="calc_ship">
						<div class="head">
							Hitung Biaya Pengiriman Ke Kotamu
						</div>
						<div class="form-input">
							<?php 
echo form_open('home/addsubscribe', array('id' => 'iform'));
?>
								<table class="tbl" border="0">
									<tr>
										<td rowspan="6" width="20"><img src="<?php 
echo theme_img('calc.png', false);
?>
"></td>
									</tr>
									<tr>
										<td width="120"><?php 
echo lang('iberat');
?>
</td>
										<td>:</td>
										<td>
											<input type="text" class="tinput" name="berat" maxlength="5" style="width:50px" />
										</td>
									</tr>
									<tr>
										<td><?php 
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:calculator_shipping.php


示例18: lang

 <?php 
echo $paging->LimitBox('page', 'class="paging"', $thislink);
?>
 <?php 
echo lang('from');
?>
 <?php 
echo $paging->total_page;
?>
	</div>
</td></tr>
</tfoot>
</table>

<span id="bigload" class="hide"><?php 
echo theme_img('ajax-loader-big.gif', false);
?>
</span>
<script language="javascript">
$(function(){
	$("select[name='page']").val($('option:first', $("select[name='page']")).val());
	$('.paging').change(function(){
		$.ajax({
			type: "POST",
			url: "<?php 
echo site_url(config_item('modulename') . '/' . $this->router->class . '/' . $this->router->method . '/2');
?>
",
			data: "start="+$(this).val(),
			beforeSend: function(){
				$('#viewajax2').html($('#bigload').html());
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:wishlist.php


示例19: theme_img

        echo theme_img('src-dest-ico.png');
        ?>
"> </span> <?php 
        echo lang('departure');
        ?>
</strong>
                <?php 
        echo $search_result['source'];
        ?>
                <span class="cs-blue-text"><?php 
        echo '( ' . $amenties_details['distance_' . $search_result['trip_id']] . ' km away from your search location)';
        ?>
</span>
                <br>
                <div class="paddingtop10"><strong class="cs-blue-text margintop10"><span> <img src="<?php 
        echo theme_img('src-dest-ico.png');
        ?>
"> </span> <?php 
        echo lang('arrival');
        ?>
</strong>
                 <?php 
        echo $search_result['destination'];
        ?>
</div>
              </div>
            </div>
            <div class="sea-col3">
              <strong class="size16 text-success"> <?php 
        echo format_currency($search_result['route_rate']);
        ?>
开发者ID:santanumajumdar,项目名称:carpool,代码行数:31,代码来源:search_ajax_more.php


示例20: theme_img

	<img alt="loading" src="<?php 
echo theme_img('ajax-loader.gif');
?>
"/>
</div>

<div id="summary_section">
<?php 
include 'summary.php';
?>
</div>

<div id="submit_button_container" style="display:none; text-align:center; padding-top:10px; clear:both;">
	<form id="order_submit_form" action="<?php 
echo site_url('checkout/place_order');
?>
" method="post">
		<input type="hidden" name="process_order" value="true">

		<div style="text-align:center; margin:10px; display:none;" id="submit-form-loader">
			<img alt="loading" src="<?php 
echo theme_img('ajax-loader.gif');
?>
"/>
		</div>
		<input style="padding:10px 15px; font-size:16px;" type="button" class="btn btn-primary btn-large" onclick="submit_payment_method()" value="<?php 
echo lang('submit_order');
?>
" />
	</form>
</div>
开发者ID:devarj,项目名称:design,代码行数:31,代码来源:checkout.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP theme_include函数代码示例发布时间:2022-05-23
下一篇:
PHP theme_image_style函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap