Example #1
0
 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);
 }
Example #2
0
	</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>

Example #3
0
    //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;
Example #4
0
 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;
         }
     }
 }
Example #5
0
<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>
Example #6
0
								</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>
    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>
Example #8
0
                <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>        
Example #9
0
<?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">
Example #10
0
<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>	
Example #11
0
    ?>
</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);
        ?>
">
Example #12
0
	});
   });
</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>						
Example #13
0
					</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);
Example #14
0
		<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>
Example #15
0
        <?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;
Example #16
0
                                                                        </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"' : '';
Example #17
0
	</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 
Example #18
0
 <?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());
        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']);
        ?>
Example #20
0
	<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>
Example #21
0
                        <td class="gc_cell_left"><?php 
    echo $travell->category_name;
    ?>
</td>
                        <td class="gc_cell_left"><?php 
    if (!empty($travell->vechicle_image)) {
        ?>
                            <img src="<?php 
        echo theme_vehicles_img($travell->vechicle_image, 'small');
        ?>
"/>
                          <?php 
    } else {
        ?>
                            <img src="<?php 
        echo theme_img('no_car.png');
        ?>
"/>
                          <?php 
    }
    ?>
                        </td>
                        <td class="text-center">
                            <?php 
    if ($travell->isactive == 0) {
        ?>
                                <span class="label label-default" id="label-<?php 
        echo $travell->vechicle_type_id;
        ?>
">Inactive</span>
                            <?php 
Example #22
0
					}
					else if(text == 'black'){
						img.src = "<?php 
echo theme_img('black.jpg');
?>
";
					}
					else if(text == 'green'){
						img.src = "<?php 
echo theme_img('green.jpg');
?>
";
					}
					else{
						img.src = "<?php 
echo theme_img('white.jpg');
?>
";
					}
					canvas.setBackgroundImage(img.src, canvas.renderAll.bind(canvas), {
						originX: 'left',
						originY: 'top',
						left: 0,
						top: 0
					});
				});
				$('#changeColor').change(function(){
					var cv = $(this).val();
					canvas.getActiveObject().set("fill", cv);
					canvas.renderAll();
Example #23
0
        echo base_url('vechicle/delete/' . $vechicletype->vechicle_id);
        ?>
" class="red-bg delete"> <img src="<?php 
        echo theme_img('delete-ico.png');
        ?>
"> </a>
      </td>
    </tr>
      <?php 
    }
    ?>
  </table>
  <?php 
} else {
    ?>
  </tr> </table>
  <p class="margintop20"> <?php 
    echo lang('no_car_added');
    ?>
 </p>
  <?php 
}
?>
  <p class="margintop20 fright ed-can-trp"> <a href="javascript:void(0)" class="new"> <img src="<?php 
echo theme_img('add-ico.png');
?>
"> <?php 
echo lang('add_new_car');
?>
 </a> </p>
</div>
Example #24
0
				          <area shape="poly" coords="65,151,76,155,84,157,87,157,89,155,94,156,100,156,103,156,107,160,107,165,107,168,103,170,96,173,88,178,85,178,76,166,71,160,65,157,65,151" href="/~thunderm/outlets/selangor" target="_parent" alt="Selangor" class="tooltips" onmouseover="tooltip.show('Selangor');" onmouseout="tooltip.hide();">
				          <area shape="poly" coords="86,178,87,184,84,188,84,191,89,193,95,197,100,199,103,199,106,190,111,187,115,186,115,174,107,169,89,178" href="/~thunderm/outlets/kuala-lumpur" target="_parent" alt="Kuala Lumpur" class="tooltips" onmouseover="tooltip.show('Kuala Lumpur');" onmouseout="tooltip.hide();">
				          <area shape="poly" coords="389,220,394,227,399,231,401,236,406,237,408,239,413,234,414,232,416,228,419,225,416,220,415,213,419,210,423,208,426,212,428,217,431,221,433,223,436,225,437,219,437,215,436,211,433,207,431,204,431,203,416,207,416,202,411,209,404,214,396,215,389,218,388,219" class="tooltips">
				          <area shape="poly" coords="185,255,192,250,197,249,205,249,208,251,210,255,208,258,203,260,194,257,190,257,185,257,183,255">
				      </map></td>
				    </tr>
				  </tbody>
				  </table>
			</div-->
			<?php 
if (empty($outlets)) {
    ?>
			<div id="wrapper_box">
				<!--img class="responsive-image" src="http://14.102.150.149/~thunderm/images/map-malaysia.jpg" usemap="#Map"-->
				<img src="<?php 
    echo theme_img('malaysia-white.png');
    ?>
"  usemap="#Map" border="0">
				 <map name="Map" id="Map">
			          <area shape="poly" coords="429, 487, 384, 402, 378, 386, 364, 389, 367, 401, 339, 389, 324, 395, 284, 372, 271, 403, 270, 422, 271, 426, 265, 438, 277, 451, 290, 454, 299, 462, 307, 465, 346, 479, 345, 494, 356, 500, 380, 486, 391, 484, 399, 488, 403, 478, 407, 485, 410, 493, 422, 495" href="<?php 
    echo base_url('outlets/Johor');
    ?>
" target="_parent" alt="Johor" class="tooltips" onmouseover="tooltip.show('Johor');" onmouseout="tooltip.hide();">
			          <area shape="poly" coords="263, 427, 270, 405, 257, 398, 246, 400, 221, 402, 215, 409, 228, 423, 242, 429, 260, 435" href="<?php 
    echo base_url('outlets/Malacca');
    ?>
" target="_parent" alt="Malacca" class="tooltips" onmouseover="tooltip.show('Malacca');" onmouseout="tooltip.hide();">
			          <area shape="poly" coords="201, 405, 190, 393, 196, 382, 198, 368, 210, 366, 216, 340, 226, 343, 248, 347, 262, 357, 280, 368, 273, 378, 270, 391, 267, 397, 236, 394, 222, 398, 209, 409" href="<?php 
    echo base_url('outlets/Negeri-Sembilan');
    ?>
" target="_parent" alt="Negeri Sembilan" class="tooltips" onmouseover="tooltip.show('Negeri Sembilan');" onmouseout="tooltip.hide();">
Example #25
0
    foreach ($featured_products as $b) {
        ?>
        
                                    <div class="related-item">
                                    <?php 
        $photo = theme_img('no_picture.jpg', lang('no_image_available'));
        $data['images'] = (array) json_decode($b->images);
        if (!empty($data['images'])) {
            $primary = $data['images'];
            foreach ($data['images'] as $photo) {
                $primary = $photo;
            }
            $photo = '<img src="' . base_url('uploads/images/medium/' . $primary->filename) . '"/>';
            $photo_url = base_url('uploads/images/medium/' . $primary->filename);
        } else {
            $photo_url = theme_img('no_picture.jpg');
        }
        ?>
                                            <a href="<?php 
        echo site_url(implode('/', $base_url) . '/' . $b->slug);
        ?>
">
                                                <div class="sml-img" style="background: url('<?php 
        echo $photo_url;
        ?>
') center / contain no-repeat #fff;">
                                                    <img src="<?php 
        echo base_url('gocart/themes/default/assets/images/relatedblank.png');
        ?>
">
                                                </div>
Example #26
0
                    durationInTraffic: false
                };
                
                gdir.route(request, function(result, status) { 
                    if (status == google.maps.DirectionsStatus.OK) {
                        directionsDisplay.setDirections(result);
                    }
                });

        var mfgIcon = new google.maps.Marker();
        var marker_icon = new google.maps.MarkerImage("<?php 
echo theme_img('map-marker-ico.png');
?>
", new google.maps.Size(32, 43), new google.maps.Point(0, 0), new google.maps.Point(14, 43));
        var marker_shadow = new google.maps.MarkerImage("<?php 
echo theme_img('marker-shadow.png');
?>
", new google.maps.Size(35, 25), new google.maps.Point(0, 0), new google.maps.Point(4, 28));
        new_marker = new_marker || [];
        mfgIcon.setIcon(marker_icon);
        mfgIcon.setShadow(marker_shadow);
		
		
		/*for(i = 0; i < latlong.length; i++){
			//alert(latlong[i]);*/
		<?php 
/*$latlong = array('13.081604,80.27518280000004',
		'12.2252841,79.0746957','12.9165167,79.13249859999996','12.9715987,77.59456269999998');
		*/
$i = 0;
if (!empty($latlong)) {
Example #27
0
        </div>
        <div class="pull-right">
            <label class="control-label" for="input-limit"><?php 
    echo lang('sort');
    ?>
</label>
        </div>
    </div>

	<div class="col-nest categoryItems element">
    <?php 
    foreach ($generators as $generator) {
        ?>
        <div class="col" data-cols="1/4" data-medium-cols="1/2" data-small-cols="1">
            <?php 
        $photo = theme_img('no_picture.png');
        ?>

            <div target="_blank" onclick="window.location = '<?php 
        echo site_url('/product/generator/' . $generator['engine']->product_id . '/' . $generator['alternator']->product_id);
        ?>
'" class="categoryItem" >

                <div class="previewImg"><img src="<?php 
        echo $photo;
        ?>
"></div>

                <div class="categoryItemDetails">
                    <div><h1><?php 
        //echo $product->name;
Example #28
0
			<link href='<?php 
echo theme_img('sosmed-fb.png');
?>
' rel='shortcut icon'/>
			
			<div class="rightside width-sidebar">
				<div class="b_box">
					<div class="box">
						
						<div class="form-input">
						<?php 
echo form_open('home/addsubscribe', array('id' => 'iform'));
?>
						<label class="subsc">Dapatkan info<br/></label>
						<label class="subsc2">Promo & Discount<br/></label>
						<label class="subsc">dengan mengisi form di bawah</label>
						<input class="tinput" type="text" name="imail" placeholder="Email" />
						<input class="tinput" type="text" name="inama" placeholder="Nama" />
								<!--<input class="tinput" type="text" name="inama" placeholder="<?php 
echo lang('inama');
?>
" /><input class="tinput" type="text" name="imail" placeholder="<?php 
echo lang('imail');
?>
" /><?php 
echo lang('icode');
?>
-->
						<a id="bt-buletin" href="javascript:void(0)" class="isubmit"><?php 
echo lang('subscribe');
?>
var country = '<?php 
print $this->config->item('country_code') != '' ? $this->config->item('country_code') : '';
?>
';
</script>
<?php 
echo theme_js('trip.js', true);
?>
  
  
<div class="container-fluid margintop40">
  <div class="container">
   <div class="row">
     <ul class="brd-crmb">
      <li><a href="#"> <img src="<?php 
echo theme_img('home-ico.png');
?>
"> </a></li>
      <li> / </li>
      <li><a href="#"><?php 
echo lang('register_your_carpool');
?>
</a></li>
    </ul>
    <div class="row margin">
   
    <?php 
/*?><?php 
	  $attributes = array('id' => 'frmtrip','class'=>'bbq');				 
	 echo form_open('addtrip/form/'.$tripid,$attributes); ?><?php */
?>
Example #30
0
"><img src="<?php 
echo theme_img('icons/twitter.png');
?>
" alt="" title="" /><span>Twitter</span></a></li-->
        <li><a href="<?php 
echo base_url("contact_us");
?>
"><img src="<?php 
echo theme_img('icons/contact.png');
?>
" alt="" title="" /><span>Contact</span></a></li>        
        
        <?php 
if (isset($this->pages)) {
    foreach ($this->pages[0] as $menu_page) {
        $icon_default = !empty($menu_page->menu_default_icon) ? theme_img($menu_page->menu_default_icon) : theme_img('icons/layout.png');
        $icon_customise = isset($menu_page->menu_icon) ? base_url($menu_page->menu_icon) : $icon_default;
        ?>
				<li><a href="<?php 
        echo !empty($menu_page->slug) && isset($menu_page->slug) ? site_url($menu_page->slug) : $menu_page->url;
        ?>
" <?php 
        if ($menu_page->new_window == 1) {
            echo 'target="_blank"';
            ?>
> <img src="<?php 
            echo $icon_customise;
            ?>
" alt="" title="" /> <span> <?php 
            echo $menu_page->menu_title;
            ?>