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(); }
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; }
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>
<!-- 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
<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 />
<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>
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();
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'); ?> ');
<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",
<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>
<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 />
<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>
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>
<?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);
<center> <?php echo loadImg('cooming-soon.jpg'); ?> </center>
echo $kategori; ?> " /></td> </tr> <tr> <th><?php echo lang('vcode'); ?> </th> <td> (<?php echo $jml; ?> )   <?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; ?> <?php echo anchor(config_item('modulename') . '/' . $this->router->class, lang('back')); ?> </td> </tr> </tbody>
<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"> /***
<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 »"></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>
<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;
?> </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
<center> <h3><?php echo lang('reg_member'); ?> </h3> <br /> <br /> <?php echo loadImg('success.png'); ?> <br /><br /> <b>Proses Registrasi telah berhasil dilakukan, Kami telah mengirimkan email ke "<?php echo $email; ?> "<br /> Silahkan klik link Aktivasi yang telah kami kirimkan pada email tersebut</b> </center>
<?php } else { if ($rezult->uid_winner == $firma) { ?> <div class="sa_comment_reply"><?php echo JText::_('SAUTO_COMMENT_REPLY'); ?> </div> <form method="post" action="<?php echo $link_comment; ?> " enctype="multipart/form-data" name="submit_comm" id="submit_comm"> <?php form_comment($r_id, $multiple_id, $anunt_id, $proprietar, $firma); echo loadImg($r_id, $multiple_id); ?> </form> <?php } } ?> <div> <div onClick="document.forms['submit_comm'].submit();" class="someClass"> <?php echo JText::_('SAUTO_COMMENT_BUTTON'); ?> </div> <div class="someClass" style="vertical-align: top;" onclick="window.history.go(-1)"><?php echo JText::_('SAUTO_BACK_ANUNT_BUTTON');
function loadImgThem($img, $arr = '', $bg = false, $module = false, $public = false, $withoutmaindir = false) { return loadImg($img, $arr, $bg, false, false, $withoutmaindir); }
<?php echo $paging->LimitBox('page', 'class="paging"', $thislink); ?> <?php echo lang('from'); ?> <?php echo $paging->total_page; ?> </div> </td></tr> </tfoot> </table> <span id="smallload" class="hide"><?php echo loadImg('ajax-loader.gif', '', false, ci()->module); ?> </span> <script language="javascript"> $(function(){ $('.butdel').click(function(){ if(confirm("<?php echo lang('sure_dell_member'); ?> ")){ return true; } return false; }); $('.aktivasi').click(function(){ if(confirm("<?php
<br /> <h2><?php echo lang('list_lap_komisi'); ?> </h2> <div id="viewIklan"> <? $this->template->load_view('laporan_komisi2',false,config_item('modulename'))?> </div> <span id="bigload" class="hide"><?php echo loadImg('ajax-loader-big.gif', '', false, $this->router->module); ?> </span> <span id="smallload" class="hide"><?php echo loadImg('ajax-loader.gif', '', false, $this->router->module); ?> </span> <script language="javascript"> $(function(){ $("select[name='page']").val($('option:first', $("select[name='page']")).val()); $('#doview').click(function(){ af=$("input[name='aff_cari']").val(); st=$("select[name='status_cari']").val(); t1=$("select[name='thn']").val()+'-'+$("select[name='bln']").val(); t2=$("select[name='thn2']").val()+'-'+$("select[name='bln2']").val(); url='&dt1='+t1+'&dt2='+t2; if(af!='')url+='&aff='+af; if(st!='')url+='&status='+st; $.ajax({
?> </td> <td><?php echo $lk->email; ?> </td> <td><?php echo $lk->tgl_add; ?> </td> <td><?php echo anchor(config_item('modulename') . '/produk/edit/' . $lk->id, $lk->nama_produk, array('title' => lang('produk_detail'))); ?> </td> <td><?php echo anchor(config_item('modulename') . '/' . $this->router->class . '/delete/' . $lk->id, loadImg('icon/delete.png', '', false, config_item('modulename'), true), array('title' => lang('del'), 'class' => 'butdelwish')); ?> </td> </tr> <? }}?> <script language="javascript"> $(function(){ $('.butdelwish').click(function(){ if(confirm("<?php echo lang('sure_dell_wish'); ?> ")){ return true; } return false; });
} ?> </select> </div> <div class="sauto_form_label"> <?php echo JText::_('SAUTO_IMAGINE'); ?> </div> <div> <input type="file" name="image_1" value="" class="sa_inputbox" /> </div> <?php loadImg('', $multiple_id); ?> <div class="sauto_form_label"> <?php echo JText::_('SAUTO_ANUNT'); ?> <?php echo ' <span class="sa_obligatoriu">' . JText::_('SA_ASTERISC') . '</span>'; ?> </div> <div> <?php $editor =& JFactory::getEditor();
echo anchor(config_item('modulename') . '/' . $this->router->class, lang('back')); ?> </td> </tr> </tbody> </table> <?php echo form_close(); ?> </fieldset> <?php echo loadJs('jquery.funtion.global.js', false, true); ?> <span id="smalload" class="hide"><?php echo loadImg('small-loader.gif'); ?> </span> <script language="javascript"> $(function(){ $('.bt').click(function(){ inf=$("textarea[name='info']").val(); if(inf!='') return true; alert('<?php echo lang('data_must_fill'); ?> '); return false; }); }); </script>
<?php echo loadImg('partnership.jpg', false, FALSE, FALSE, TRUE); ?> <br /><br /><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 /> <div class="column boxq" style="text-align:center;margin-right:10px;width:150px"> <?php echo loadImg('tiki.gif', FALSE, FALSE, FALSE, TRUE); ?> </div> <div class="column boxq" style="text-align:center;width:150px"> <?php echo loadImg('jne.gif', FALSE, FALSE, FALSE, TRUE); ?> </div> <br class="clear" /> <br /> <p>Silahkan Anda gunakan layanan <b>Calculator Shipping</b> yang telah kami sediakan untuk mengetahui berapa biaya perkiraan pengiriman produk yang dipesan ke alamat rumah Anda. <a href="<?php echo site_url('home/calculatorshipping'); ?> ">Klik disini untuk mengakses halaman Calculator Shipping</a></p> <br /> <br />