public function loadTutorialView() { $this->_existsKarolSession($this->uri->segment(3)); $slidesThumbs = $this->_createSlidesThumbs(); $tutData['slidesList'] = $slidesThumbs; $data['mainContent'] = $this->load->view('bcp/tutorial', $tutData, true); $data['js'] = loadJs('resources/js/jquery.dragsort-0.5.2.min.js', 'Order Slides'); $data['js'] .= loadJs('resources/tinymce/js/tinymce/tinymce.min.js', 'Order Slides'); $data['css'] = loadCss('resources/css/dragslides.css', 'Order Slides'); $data['js'] .= $this->load->view('bcp/jsviews/tutorial', '', true); $this->load->view('bcp/panel', $data); }
?> priv/css/default/temp.css" }); }); </script> <!-- 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'));
<br> </div> </div> <div class="clear"></div> <br /> <div id="hasilcalc"></div> <span id="smalload" class="hide"><?php echo loadImg('small-loader.gif'); ?> </span> <!-- autocomplete --> <?php echo loadCss('js/jquery-ui/jquery-ui.css', false, true, false, true); echo loadJs('jquery-ui/jquery-ui.js', false, true); ?> <style type="text/css"> .ui-autocomplete { max-height: 100px; overflow-y: auto; overflow-x: hidden; padding-right: 20px; background-color:#fff !important; } .ui-autocomplete li{ background-color:#fff !important; } IE 6 doesn't support max-height * we use height instead, but this forces the menu to always be this tall
<input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="button_subtype" value="services"> <input type="hidden" name="no_note" value="0"> <input type="hidden" name="cn" value="Add special instructions to the seller"> <input type="hidden" name="no_shipping" value="2"> <input type="hidden" name="shipping" value="5.00"> <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted"> <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form> </div> <!-- lib for fancy --> <?php echo loadJs('fancybox/jquery.fancybox-1.3.0.pack.js', false, true); echo loadCss('js/fancybox/jquery.fancybox-1.3.0.css', false, true, false, true); ?> <?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(){ $("input[name='biaya_kirim']").val('0'); $('#c1').click(function(){ if($('#c1').is(":checked")){
<?php echo loadCss('js/calendar/theme/redmond/ui.all.css', false, true, false, true); echo loadJs('calendar/ui/ui.core.js', false, true); echo loadJs('calendar/ui/ui.datepicker.js', false, true); echo loadJs('calendar/ui/ui.datepicker-id.js', false, true); ?> <style> .ui-datepicker {font-size:10px;} .ui-datepicker-trigger{position:relative;top:3px;} </style> <fieldset> <legend><?php echo lang('dl_center_excel'); ?> </legend> <table class="admintable" cellspacing="1"> <tbody> <tr> <th style="width:250px"><?php echo lang('dl_member'); ?> </th> <td> <?php echo lang('tgl'); ?> <script type="text/javascript"> $(function() {
<? // load banner #$this->load->module_view('home','banner-home'); echo loadJs('rating/rating.js',false,true); echo loadCss('js/rating/rating.css',false,true,false,true); ?> <div id="jb-collection"> <ul> <li class="kerudung"><div class="wrap"><p>kerudung kerudung kerudung kerudung</p><a href="">Shop Now</a><div></li> <li class="bergo"><div class="wrap"><p>bergo bergo bergo bergo bergo bergo </p><a href="">Shop Now</a><div></li> <li class="perlengkapan"><div class="wrap"><p>keterangan keterangan keterangan keterangan </p><a href="">Shop Now </a><div></li> </ul> </div> <div class="boxq boxqbg"> <h3 style="text-transform:uppercase"><span><?php echo lang('produk'); ?> </span> <?php echo lang('laris'); ?> </h3> </div> <? if($best){?> <table class="list-produk1"> <tr> <? $ln=0;$jml_data=count($best); foreach($best as $lsbest){ $ln++;
function consolidateFiles($info, $themes, $minify) { $info = doInheritance($info, $themes); //print_r($info); //merge css files $fileGeneratedFile = $info['path'] . 'css/consolidated.min.css'; $fileGeneratedFileHnd = fopen($fileGeneratedFile, 'w'); foreach ($info['settings']['css'] as $filename => $scope) { if ($filename == 'extra_styles.css') { continue; } //Load contents from the search file $fileContents = loadCss($filename, $info['searchPaths']); if ($fileContents != null) { fwrite($fileGeneratedFileHnd, "/* {$filename} */\r\n"); //minify the css if ($minify && !preg_match('/.*\\.min\\.css$/i', $filename)) { $minifiedCss = Minify_CSS::minify($fileContents, array()); } else { $minifiedCss = $fileContents; } fwrite($fileGeneratedFileHnd, "{$minifiedCss}\r\n"); } else { echo "Could not find file {$filename}"; } } //Add extra_styles.css at the very end $filename = 'extra_styles.css'; $fileContents = loadCss($filename, $info['searchPaths']); if ($fileContents != null) { fwrite($fileGeneratedFileHnd, "/* {$filename} */\r\n"); //minify the css if ($minify && !preg_match('/.*\\.min\\.css$/i', $filename)) { $minifiedCss = Minify_CSS::minify($fileContents, array()); } else { $minifiedCss = $fileContents; } fwrite($fileGeneratedFileHnd, "{$minifiedCss}\r\n"); } fclose($fileGeneratedFileHnd); //merge javascript files $fileGeneratedFile = $info['path'] . 'js/consolidated.min.js'; if (!file_exists($info['path'] . 'js')) { mkdir($info['path'] . 'js', true); } $fileGeneratedFileHnd = fopen($fileGeneratedFile, 'w'); foreach ($info['settings']['javascript'] as $filename => $scope) { //echo("Consolidating $filename<br/>"); //Load contents from the search file $fileContents = loadJavascript($filename, $info['searchPaths']); if ($fileContents != null) { fwrite($fileGeneratedFileHnd, "/* {$filename} */\r\n"); //minify the javascript if ($minify && !preg_match('/.*\\.min\\.js$/i', $filename)) { $minifiedJs = JSMin::minify($fileContents); } else { $minifiedJs = $fileContents; } fwrite($fileGeneratedFileHnd, "{$minifiedJs}\r\n"); } else { echo "Could not find file {$filename}"; } } fclose($fileGeneratedFileHnd); }
echo loadCss('index.css'); ?> <?php echo $template['metadata']; ?> <?php echo loadJs('jquery.js', false, true); ?> <?php echo isset($customheader) ? $customheader : ''; ?> <!-- menu script --> <?php echo loadCss('menu/jqueryslidemenu.css'); ?> <!--[if lte IE 7]> <style type="text/css"> html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/ </style> <![endif]--> <script language="javascript"> pathImg = '<?php echo loadImgThem('css/menu/img/', '', true, false, false, true); ?> '; </script> <?php echo loadJs('css/menu/jqueryslidemenu.js', false, false, false, true); ?>
script_url : '<?php echo loadJs('tiny_mce/tiny_mce.js', false, true, true); ?> ', theme_advanced_resize_horizontal : false, // General options theme : "advanced", plugins : "autolink,advhr,advlink,inlinepopups,preview", // Theme options theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,outdent,indent,blockquote,|,undo,redo", theme_advanced_buttons2 : "cut,copy,paste,|,link,unlink,anchor,forecolor,|,hr,removeformat,|,code,preview", theme_advanced_buttons3 : "formatselect,fontselect,fontsizeselect", theme_advanced_buttons4 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : true, // Example content CSS (should be your site CSS) //content_css : "<?php echo loadCss('general.css', false, false, true); ?> " //,<?php echo base_url('site'); ?> priv/css/default/temp.css" }); }); </script>
} .clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; } .clearfix { display: block; } </style> <?php loadCss("form"); loadCss("styles"); ?> <!-- LOAD LIBRARY JQUERY/JAVASCRIPT --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script> window.jQuery || document.write('<script src="<?php echo base_url(); ?> assets/js/1.7.2/jquery.min.js"><\/script>'); </script> <?php echo js_asset("jquery.cookie.js"); ?> <script> $(document).ready(function(){
<?php echo loadJs('fancyslide/sliding.form.js', false, true); echo loadCss('js/fancyslide/style.css', false, true, false, true); ?> <? for($t=1;$t<=date('t');$t++){$tgl[$t]=$t;} for($b=1;$b<=12;$b++){$bln[$b]=$b;} for($y=1970;$y<=(date('Y')-10);$y++){$year[$y]=$y;} ?> <br><div class="judula"> MEMBER AREA </div> <div class="garis"></div><br> <div class="wrap-ct" style="background:#fff;"> <center> <? if(isset($ok)){?><div class="<?php echo $ok ? 'msg_success' : 'msg_error'; ?> "><?php echo $msg; ?> </div><? }?> <div id="wrapper"><div id="steps"> <form id="formElem" name="formElem" action="" method="post"> <fieldset class="step"> <legend id="akun"><?php
<?php echo loadJs('jquery.js', false, true); echo loadJs('jquery.corner.js', false, true); echo loadCss('index.css'); ?> <style> body{background:none;} #box-buletin{background:#ffffff url('<?php echo loadImg('popupnew-subscribe-topright.png', '', true, false, true); ?> ') right 0 no-repeat;width:630px;min-height:450px;border:4px solid #0D4269;} #logo-buletin{background:url('<?php echo loadImg('popup-subscribe-logo.png', '', true, false, true); ?> ') 15px 2px no-repeat;} #text-buletin{background:url('<?php echo loadImg('popupnew-subscribe-text.png', '', true, false, true); ?> ') 15px 90px no-repeat;} #box-form-buletin{background:url('<?php echo loadImg('popup-subscribe-barang.gif', '', true, false, true); ?> ') 320px 210px no-repeat;height:460px;padding-left:10px;} #box-fb{width:299px;height:100%;} #box-anggota{background-color:#0D416A;height:25px;} #anggota{color:#fff;font-weight:bold;padding-left:15px;line-height:25px;vertical-align:center;} #link_anggota{color:#eee;font-style:italic;} #link_anggota:hover{text-decoration:underline;}
" /></li> </ul> </fieldset> <div class="clear"></div> <br /> <div id="hasilcalc"></div> <span id="smalload" class="hide"><?php echo loadImg('small-loader.gif'); ?> </span> <!-- autocomplete --> <?php echo loadCss('js/jquery_ui/themes/base/jquery.ui.all.css', false, true, false, true); echo loadJs('jquery_ui/ui/jquery.ui.core.js', false, true); echo loadJs('jquery_ui/ui/jquery.ui.widget.js', false, true); echo loadJs('jquery_ui/ui/jquery.ui.position.js', false, true); echo loadJs('jquery_ui/ui/jquery.ui.autocomplete.js', false, true); ?> <style> .ui-autocomplete { max-height: 100px; overflow-y: auto; /* prevent horizontal scrollbar */ overflow-x: hidden; /* add padding to account for vertical scrollbar */ padding-right: 20px; } /* IE 6 doesn't support max-height
echo $title; ?> </title> <?php echo loadCss('index.css'); ?> <?php echo loadCss('style.css'); ?> <!-- <?php echo loadCss('jquery.jscrollpane.css'); ?> --> <?php echo loadCss('nav.css'); ?> <!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>--> <?php echo loadJs('jquery.js', false, true); ?> <!-- lib for fancy --> <?php echo isset($template['metadata']) ? $template['metadata'] : ''; ?> <?php echo isset($customheader) ? $customheader : '';
function head($title, $description) { global $default, $act; ?> <!doctype html> <html lang="es"> <head> <title><?php echo $default['webname'] . ' ' . ($title != '' ? '- ' . $title : ''); ?> </title> <meta name="description" content="<?php echo $description; ?> " /> <link rel="shortcut icon" href="<?php echo $default['weburl']; ?> /favicon.png" type="image/x-icon"> <meta name="robots" content="all" /> <meta name="keywords" content="all" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta charset="utf-8"/> <script type="text/javascript"> var $web={ url:'<?php echo $default['weburl']; ?> ', name:'<?php echo $default['webname']; ?> ', } </script> <!-- CSS --> <?php loadCss('normalize'); loadCss('base'); loadCss('style'); ?> <!-- JAVASCRIPT--> <?php loadJs('jquery'); loadJs('history.plugin'); loadJs('ajax'); ?> </head> <body> <div id="cargando"> <div id="carg"> </div> </div> <a href="<?php echo $default['weburl']; ?> /" load-ajax="yes">Inicio</a> <!-- No Eliminar el div con ID Contenido... --> <div id="contenido"> <?php }