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

PHP loadImg函数代码示例

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

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



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

示例1: index

 function index()
 {
     $this->load->library('ContentFeeder');
     $feed =& new ContentFeeder_RSS2();
     #$feed->setStylesheet(base_url().config_item('tag_module').config_item('dir_css').$this->router->module.'/'.config_item('tag_data_last').'rss.css','css');
     #$feed->addNamespace('dc', 'http://purl.org/dc/elements/1.1/');
     $feed->setElement('title', 'kueibuhasan.COM - RSS FEED');
     $feed->setElement('link', base_url());
     $feed->setElement('description', 'kueibuhasan Rss Feed Produk');
     #$feed->setElement('dc:author', 'by Joe Bloe');
     #$feed->setElementAttr('enclosure', 'url', 'http://www.foobar.com/');
     #$feed->setElementAttr('enclosure', 'length', '1234');
     #$feed->setElementAttr('enclosure', 'type', 'audio/mpeg');
     $image =& new ContentFeederImage();
     $image->setElement('url', loadImg('logo.png', '', true));
     $image->setElement('title', 'kueibuhasan.com');
     $image->setElement('link', base_url());
     $feed->setImage($image);
     $data = $this->rm->new_produk();
     foreach ($data as $entry) {
         // fecth the image
         $gbr = unserialize($entry->gambar);
         if (isset($gbr['intro'])) {
             $gb = loadImgProduk($entry->id . '/' . $entry->idgbr . '/' . $gbr['intro']);
         } else {
             $gb = '';
         }
         $item =& new ContentFeederItem();
         $item->setElement('title', $entry->nama_produk);
         $item->setElement('link', site_url('home/detail/index/' . $entry->id));
         $item->setElement('description', $gb . $entry->summary);
         #$item->setElement('image', $gb);
         // ensure description does not conflict with XML
         $item->setElementEscapeType('description', 'cdata');
         $item->setElementEscapeType('title', 'cdata');
         $feed->addItem($item);
     }
     $feed->display();
 }
开发者ID:Garybaldy,项目名称:rotio,代码行数:39,代码来源:rss.php


示例2: albr_beforePost

function albr_beforePost($data, $postarr)
{
    if (!get_option('albr_setImgStetting')) {
        return $data;
    }
    if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) {
        return $data;
    }
    $content = $data['post_content'];
    if (!substr_count($content, '<img')) {
        return $data;
    }
    $urlsForRepl = findScr($content);
    if (count($urlsForRepl)) {
        foreach ($urlsForRepl as $item) {
            $repl = get_the_guid(loadImg($item));
            $content = str_replace($item, $repl, $content);
        }
    }
    $data['post_content'] = $content;
    return $data;
}
开发者ID:alex-bro,项目名称:test_dnepr,代码行数:22,代码来源:albr_set_img.php


示例3: anchor

echo $type_email_array[$lm->type_email];
?>
</td>
	<td><?php 
echo $status_mail_array[$lm->status_email];
?>
</td>
	<td>
	<?php 
echo anchor(config_item('modulename') . '/' . $this->router->class . '/edit/' . $lm->id_email, loadImg('icon/edit.png', '', false, config_item('modulename'), true), array('title' => lang('edit')));
?>
	<?php 
echo anchor(config_item('modulename') . '/' . $this->router->class . '/delete/' . $lm->id_email, loadImg('icon/delete.png', '', false, config_item('modulename'), true), array('title' => lang('del'), 'class' => 'butdel'));
?>
	<?php 
echo anchor(config_item('modulename') . '/' . $this->router->class . '/test/' . $lm->id_email, loadImg('icon/email_go.png', '', false, config_item('modulename'), true), array('title' => lang('test_mail'), 'class' => 'testEmail'));
?>
	</td>
</tr>
<? }}?>

</tbody>
<tfoot>
<tr><td colspan="5">
	<div class="pagination">
	paging
	</div>
</td></tr>
</tfoot>
</table>
开发者ID:Garybaldy,项目名称:rotio,代码行数:30,代码来源:fu_list.php


示例4: loadJs

<!-- hover -->
<?php 
echo loadJs('hover/hover.js', false, true);
echo loadCss('js/hover/hover.css', false, true, false, true);
?>

<!-- autocomplete -->
<?php 
echo loadJs('autocomplete/jquery.autocomplete.js', false, true);
echo loadCss('js/autocomplete/styles.css', false, true, false, true);
?>

<div class="header">
	<?php 
echo loadImg('icon/mainmenu.png', '', false, config_item('modulename'), true);
?>
	<span><?php 
echo lang('det_produk');
?>
</span>
</div>
<br class="clr" />

<?php 
echo form_open_multipart(current_url(), array('id' => 'submitthisform'));
echo form_hidden('id', $id);
?>

<fieldset class="produk_detail">
<legend><?php 
开发者ID:Garybaldy,项目名称:rotio,代码行数:30,代码来源:promo_edit.php


示例5: site_url

<div class="column" style="width:50%;text-align:center;">
<a href="<?php 
echo site_url('home/listproduk/indexkat/15');
?>
">
<?php 
echo loadImg(config_item('dir_banner') . '/buku.gif', array('style' => 'border:none;'), FALSE, FALSE, TRUE);
?>
</a>
</div>

<div class="columnr" style="width:50%;text-align:center;">
<a href="<?php 
echo site_url('home/listproduk/index/49');
?>
">
<?php 
echo loadImg(config_item('dir_banner') . '/sepatu.gif', array('style' => 'border:none;'), FALSE, FALSE, TRUE);
?>
</a>
</div>
<br class="clear" /><br /><br />
开发者ID:Garybaldy,项目名称:rotio,代码行数:22,代码来源:banner-home.php


示例6: loadImg

<div style="float:left;width:750px;">
<?php 
echo loadImg('reseller.jpg', false, FALSE, FALSE, TRUE);
?>
<br /><br />

<div class="boxq boxqbg2" style="float:left;width:750px;"><br />
<p>
Ingin mendapatkan penghasilan tambahan dari menjual produk kueibuhasan ?
</p><br />

<p>
Daftar menjadi Reseller kueibuhasan dengan cara sbb :
</p><br />

<p><strong>Melalui SMS :</strong><p>
<br />

<p>
Kirim sms dengan format :
</p><br />

<p>
"Reseller (spasi) Nama (spasi) Email (spasi)"
</p><br />

<p>
kirim ke no 085723036868 
</p><br />

<p>
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:reseler.php


示例7: loadImg

echo loadImg('js/calendar/calendar.gif', '', true, false, true, true);
?>
",
					changeMonth: true,changeYear: true,
					buttonImageOnly: true,
					dateFormat: "dd MM yy",
					altField: '#untung_hide_tgl_2',
					altFormat: 'yy-mm-dd'
				}).attr("disabled", true);
			});	</script>
		<style>.ui-datepicker {font-size:10px;}	</style>
		<input type="text" id="untung_tgl_2" name="produk_tgl_2" /> 
		<input type="hidden" id="untung_hide_tgl_2" name="produk_tgl_key_2" />
	</td>
	<td><?php 
echo anchor('#', loadImg('icon/excel.png', '', false, config_item('modulename'), true), array('title' => lang('download'), 'class' => 'dl_now', 'fors' => 'untung', 'url' => 'dl_list_untung'));
?>
</td>
</tr>
</tbody>
</table>
</fieldset>

<script language="javascript">
$(function(){

	$(".dl_now").click(function(){
		var fors=$(this).attr('fors');
		var url=$(this).attr('url');
		var tgl1=$('#'+fors+'_hide_tgl_1').val();
		var tgl2=$('#'+fors+'_hide_tgl_2').val();
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:excel.php


示例8: loadImg

		showOn: "button",
		buttonImage: "<?php 
echo loadImg('js/calendar/calendar.gif', '', true, false, true, true);
?>
",
		changeMonth: true,changeYear: true,
		buttonImageOnly: true,
		dateFormat: "dd MM yy",
		altField: '#tgl_awal_hide',
		altFormat: 'yy-mm-dd'
	}).attr("disabled", true);

	$("#tgl_akhir").datepicker({
		showOn: "button",
		buttonImage: "<?php 
echo loadImg('js/calendar/calendar.gif', '', true, false, true, true);
?>
",
		changeMonth: true,changeYear: true,
		buttonImageOnly: true,
		dateFormat: "dd MM yy",
		altField: '#tgl_akhir_hide',
		altFormat: 'yy-mm-dd'
	}).attr("disabled", true);

	$('.bt').click(function(){
		if($("input[name='kat']").val()!='') return true;
		alert('<?php 
echo lang('kat_must_fill');
?>
');
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:kupon_edit.php


示例9: form_close

<tr>
	<th></th><td><?php 
echo $bt;
?>
</td>
</tr>
</tbody>
</table>
<?php 
echo form_close();
?>
</fieldset>

<div id="loadpage" style="display:none">
<?php 
echo loadImg('ajax-loader.gif', array('style', 'border:none'), false, config_item('modulename'), true);
?>
</div>

<script language="javascript">
$(function(){
	$("select[name='kat']").val($('option:first', $("select[name='kat']")).val());
	
	$("select[name='kat']").change(function(event,at){
		if(at) var thisval=at;
		else var thisval = $(this).val();

		kt=$(this).val();
		if(kt!='-'){
		$.ajax({
			type: "POST",
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:kategori_sub2_edit.php


示例10: loadImg

<div style="float:left;width:750px;">
<?php 
echo loadImg('karir.jpg', false, FALSE, FALSE, TRUE);
?>
<br /><br />

<div class="boxq boxqbg2" style="float:left;width:970px;">
<p>
Mohon maaf untuk saat ini karir belum tersedia.
</p>
</div>
</div>

<style>
p{line-height:20px;}
</style>
开发者ID:Garybaldy,项目名称:rotio,代码行数:16,代码来源:karir.php


示例11: loadImg

<style>
.faq{line-height:20px;padding:20px 50px;}
</style>

<?php 
echo loadImg('faq.jpg', false, FALSE, FALSE, TRUE);
?>
<br /><br />

<div class="boxq faq boxqbg2">
<ul>
<li><a href="#aff1">- Apa itu Affiliate System</a></li>
<li><a href="#aff2">- Berapa Komisi yang akan di dapatkan member Affiliate apabila telah berhasil menjual produk kueibuhasan.com</a></li>
<li><a href="#aff3">- Kapan Komisi Affiliate akan diberikan</a></li>
<li><a href="#aff4">- Berapa besar minimal komisi pembayaran yang dapat dipilih oleh member Affiliate</a></li>
<li><a href="#aff5">- Apa saja metode pembayaran komisi Affiliate yang disediakan di kueibuhasan.com</a></li>
</ul>
<br />
<br />

<strong><h3>FAQ Affiliate :</h3> </strong><br /><br />

<p id="aff1">
<strong>- Apa itu Affiliate System</strong><br />
Affiliate system adalah sistem yang disediakan oleh kueibuhasan.com bagi mereka yang ingin mendapatkan penghasilan tambahan dari kueibuhasan.com dengan membantu menjualkan produk-produk pilihan kueibuhasan.com<br /><br />
</p>
<br />

<p id="aff2">
<strong>- Berapa Komisi yang akan di dapatkan member Affiliate apabila telah berhasil menjual produk kueibuhasan.com </strong><br />
Komisi yang akan di dapatkan oleh para Affiliater kueibuhasan beragam mulai dari 3 % hingga 40 % dari harga produk yang berhasil di jual. Ada produk yang bisa memberikan komisi hanya Rp. 1000 per- penjualan, tetapi ada pula produk yang bisa memberikan komisi hingga  mencapai lebih dari Rp.  1.000.000 per-penjualan.<br /><br />
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:faq_affiliate.php


示例12: anchor

	<td><?php 
echo $lm->error;
?>
</td>
	<td>
	<?php 
echo anchor(config_item('modulename') . '/' . $this->router->class . '/edit/' . $lm->id, loadImg('icon/edit.png', '', false, config_item('modulename'), true), array('title' => lang('edit')));
?>
	<?php 
echo anchor(config_item('modulename') . '/' . $this->router->class . '/delete/' . $lm->id, loadImg('icon/delete.png', '', false, config_item('modulename'), true), array('title' => lang('del'), 'class' => 'butdel'));
?>
	<? 
	if($lm->proses=='2')
		echo anchor(config_item('modulename').'/'.$this->router->class.'/proses/'.$lm->id,loadImg('icon/email_go.png','',false,config_item('modulename'),true),array('title'=>lang('proses_now')));
	elseif($lm->proses=='1')
		echo anchor(config_item('modulename').'/'.$this->router->class.'/stop/'.$lm->id,loadImg('icon/email_delete.png','',false,config_item('modulename'),true),array('title'=>lang('stop_now'),'class'=>'butstop'));
	?>
	</td>
</tr>
<? }}?>

</tbody>
<tfoot>
<tr><td colspan="6">
	<div class="pagination">
	<?php 
echo lang('bcast');
?>
	</div>
</td></tr>
</tfoot>
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:bcast.php


示例13: lang

echo $subkategori;
?>
" /></td>
</tr>
<tr>
	<th><?php 
echo lang('produk');
?>
</th>
	<td>
	(<?php 
echo $jml;
?>
) &nbsp
	<?php 
echo $jml > 0 ? anchor(config_item('modulename') . '/' . $this->router->class . '/sub/' . $id, loadImg('icon/go_to_list.png', '', false, config_item('modulename'), true), array('title' => lang('list_produk'))) : '';
?>
</td>
</tr>
<tr>
	<th></th><td><?php 
echo $bt;
?>
</td>
</tr>
</tbody>
</table>
<?php 
echo form_close();
?>
</fieldset>
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:kategori_sub_edit.php


示例14: loadImgThem

	<?php 
echo loadImgThem('icon/mainmenu.png', '', false, config_item('modulename'), true);
?>
	<span><?php 
echo lang('list_produk') . ' ';
?>
</span>
</div>
<br class="clr" />

<div class="cari left">
	
	<span class="load1"></span>
</div>
<?php 
echo anchor(config_item('modulename') . '/' . $this->router->class . '/input', loadImg('icon/add.png', array("style" => "position:relative;top:5px"), false, config_item('modulename'), true), array('title' => "input produk"));
?>

<br class="clr" /><br />

<span class="load2"></span>
<div id="viewajax1">
<? $this->template->load_view('produk_list2',false,config_item('modulename'))?>
</div>

<span id="bigload" class="hide"><?php 
echo loadImgThem('ajax-loader-big.gif', '', false, config_item('modulename'), true);
?>
</span>
<span id="smalload" class="hide"><?php 
echo loadImgThem('ajax-loader.gif', '', false, config_item('modulename'), true);
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:produk_list.php


示例15: loadImg

<center>
<?php 
echo loadImg('cooming-soon.jpg');
?>
</center>
开发者ID:Garybaldy,项目名称:rotio,代码行数:5,代码来源:comming.php


示例16: lang

echo $kategori;
?>
" /></td>
</tr>
<tr>
	<th><?php 
echo lang('vcode');
?>
</th>
	<td>
	(<?php 
echo $jml;
?>
) &nbsp
	<?php 
echo $jml > 0 ? anchor(config_item('modulename') . '/' . $this->router->class . '/vcode/' . $detail_kat->id, loadImg('icon/go_to_list.png', '', false, config_item('modulename'), true), array('title' => lang('list_vcode'))) : '';
?>
</td>
</tr>
<tr>
	<th></th><td>
	<?php 
echo $bt;
?>
 &nbsp;&nbsp;
	<?php 
echo anchor(config_item('modulename') . '/' . $this->router->class, lang('back'));
?>
	</td>
</tr>
</tbody>
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:vendor_edit.php


示例17: loadImg

<div style="margin-left:200px"><?php 
echo loadImg('peduliIndonesia.jpg', false, FALSE, FALSE, TRUE);
?>
</div><br />

<center>
<div id="slideshow" class="boxq" style="border-width:1px;border-color:#0D416A;padding:0;margin:0;width:600px;">
	<?php 
echo loadImg('samudra-slide-1a.jpg', array('class' => 'active'));
?>
	<?php 
echo loadImg('samudra-slide-2a.jpg');
?>
	<?php 
echo loadImg('samudra-slide-3a.jpg');
?>
</div>
</center>
<br />
<br />
<br />

<p style="font-size:12px;line-height:20px;width:600px;font-family:Verdana, Geneva, sans-serif;text-align:justify;margin-left:200px">
Kami menyadari bahwa Pendidikan Indonesia menjadi faktor utama keberhasilan sebuah bangsa dan kami percaya bahwa kemiskinan dan tindakan kekerasan yang sering terjadi di Indonesia di sebabkan karena kurangnya pendidikan yang diterima oleh masyarakat.<br /><br />
Dan oleh sebab itu kami bertekad untuk membantu memberikan dan meningkatkan taraf pendidikan rakyat Indonesia dengan cara menyisihkan 2,5 % setiap keuntungan yang kami dapatkan dari setiap transaksi pembelian yang terjadi di kueibuhasan.com.<br /><br />
<strong>Bersama kita tingkatkan kesejahteraan bangsa Indonesia melalui Pendidikan :-) .</strong>
</p>

<script type="text/javascript">

/*** 
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:peduli.php


示例18: loadImg

<div style="padding:10px;border:1px solid #e0e0e0;width:350px;height:100px;">
<p id="msg"></p>
<p><label>Subject </label>:<br/>Hkdjfkdjfd dkfjdfkd fdkjfskd fdkfjsdklf dkfjskdf kdjfslkdfj dkfjdksf kdfjdk </p>
<p><labe>To </labe>: <input type="text" name="email"> <input id="sendmail" type="button" name="_SEND" value="Send &raquo;"></p>
</div>

<span id="smalload" class="hide"><?php 
echo loadImg('ajax-loader.gif', '', false, config_item('modulename'), true);
?>
</span>
<script language="javascript">
$(function(){
$('#sendmail').click(function(){
		$.ajax({
			type: "POST",
			url: "<?php 
echo current_url();
?>
",
			data: '_SEND=ok&email='+$("input[name='email']").val(),
			beforeSend: function(){
				$('#msg').html($('#smalload').html());
			},
			success: function(msg){ //alert(msg);
				$('#msg').html(msg);
			}
		});
});
});
</script>
开发者ID:Garybaldy,项目名称:rotio,代码行数:30,代码来源:fu_test_mail.php


示例19: form_comment

<form method="post" action="<?php 
        echo $link_comment;
        ?>
" enctype="multipart/form-data" name="submit_comm_<?php 
        echo $r->id;
        ?>
" id="submit_comm_<?php 
        echo $r->id;
        ?>
">
<?php 
        form_comment($r->id, $multiple_id, $id, $rezult->proprietar, $r->firma);
        ?>
	
	<?php 
        loadImg($r->id, $multiple_id);
        ?>
					
	</form>
		
	<div onClick="document.forms['submit_comm_<?php 
        echo $r->id;
        ?>
'].submit();" class="sa_add_comment sa_submit_form">
	<?php 
        echo JText::_('SAUTO_COMMENT_BUTTON');
        ?>
	</div>
						<?php 
        echo '</div>';
        $z = $z + 1;
开发者ID:grchis,项目名称:Site-Auto,代码行数:31,代码来源:request_detail_c.php


示例20: anchor

?>
</td>
	<!--td>( <?php 
echo anchor(config_item('modulename') . '/' . $this->router->class . '/sub2/' . $lk->id, $lk->jmlsub2);
?>
 )</td-->
	<td>( <?php 
echo $lk->jml;
?>
 )</td>
	<td>
	<?php 
echo anchor(config_item('modulename') . '/' . $this->router->class . '/subedit/' . $lk->id, loadImg('icon/edit.png', '', false, config_item('modulename'), true), array('title' => lang('edit')));
?>
	<?php 
echo $lk->jml == 0 && $lk->jmlsub2 == 0 ? anchor(config_item('modulename') . '/' . $this->router->class . '/subdelete/' . $lk->id . '/' . $lk->id_kategori, loadImg('icon/delete.png', '', false, config_item('modulename'), true), array('title' => lang('del'), 'class' => 'butdel')) : '';
?>
	</td>
</tr>
<? }}else{echo '<tr><td colspan="6">'.lang('no_data').'</td></tr>';}?>
</tbody>
<tfoot>
<tr><td colspan="7">
	<div class="pagination">
	<?php 
echo lang('page');
?>
 <?php 
echo $paging->LimitBox('page', 'class="paging"', $thislink);
?>
 <?php 
开发者ID:Garybaldy,项目名称:rotio,代码行数:31,代码来源:kategori_sub.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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