本文整理汇总了PHP中loadImg函数的典型用法代码示例。如果您正苦于以下问题:PHP loadImg函数的具体用法?PHP loadImg怎么用?PHP loadImg使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了loadImg函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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();
}
示例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;
}
示例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>
示例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
示例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 />
示例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>
示例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();
示例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');
?>
');
示例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",
示例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>
示例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 />
示例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>
示例13: lang
echo $subkategori;
?>
" /></td>
</tr>
<tr>
<th><?php
echo lang('produk');
?>
</th>
<td>
(<?php
echo $jml;
?>
)  
<?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>
示例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);
示例15: loadImg
<center>
<?php
echo loadImg('cooming-soon.jpg');
?>
</center>