Example #1
0
File: menu.php Project: tusyk/ci
<?php

foreach ($menu as $menu_item) {
    $link_segment = str_replace("/", " ", $menu_item['title']);
    $link_segment = stripslashes(str_replace(" ", "_", $link_segment));
    $link_segment1 = base_url_2() . 'catalog/' . $menu_item['cat_id'] . '_' . $link_segment . '/';
    ?>
			<div class="url2" style="margin-bottom:10px;"><a href="<?php 
    echo $link_segment1;
    ?>
"><?php 
    echo $menu_item['title'];
    ?>
</a></div>
<?php 
}
Example #2
0
File: header.php Project: tusyk/ci
						  </button>
						  
						</div>
						<div class="collapse navbar-collapse" id="myNavbar" >
						  <ul class="nav navbar-nav navbar-right" style="height:130px;">
							<li style="height:30px;"><a href="<?php 
echo base_url_2();
?>
HOME/">HOME</a></li>
							<li style="height:30px;"><a href="<?php 
echo base_url_2();
?>
ABOUT_US/">ABOUT US</a></li>
							<li style="height:30px;"><a href="<?php 
echo base_url_2();
?>
catalog/">OUR WORK</a></li>
							<li style="height:30px;"><a href="<?php 
echo base_url_2();
?>
CONTACT_US/">CONTUCT US</a></li>
						  </ul>
						</div>
					  
					</nav>
				</div>
			</div>
			
		</div>
	</div>
</div>
Example #3
0
File: index.php Project: tusyk/ci
			<div style="height:20px;"></div>
			</div>
			<div class="col-sm-9 text-center" style="">
				<h4 class="p_sub_title"><?php 
echo $category_title;
?>
</h4><br><br>
				<div class="row text-center">
				<?php 
foreach ($category_list as $category_list_item) {
    ?>
					<div class="col-md-6 text-center" style="padding-bottom:10px;">
						<?php 
    $link_segment2 = str_replace("/", " ", $category_list_item['title']);
    $link_segment2 = stripslashes(str_replace(" ", "_", $link_segment2));
    $link_segment3 = base_url_2() . 'catalog/items/' . $category_list_item['item_id'] . '_' . $link_segment2 . '/';
    ?>
						<a href="<?php 
    echo $link_segment3;
    ?>
">
						<img  src="<?php 
    echo base_url();
    ?>
assets/<?php 
    echo $category_list_item['photo1_l'];
    ?>
" class="img-responsive" style="max-width:100%; margin-left: auto;
						margin-right: auto;" alt="Image">
						</a>
					</div>