</div> <div style="float:left; height:100%; width:33%;"> </div> <div style="clear:both"></div> </div> </div> </div> </div> <div class="clearer" style="margin-top:-20px;"> </div> </div> </div> <table style="margin-top:4%;"> <?php $categories = \Util\AppUtil::getFileNames("wow-slider/data/images/"); $cate_size = count($categories); $i = 0; foreach ($categories as $category) { if ($i % 4 == 0) { echo '<tr class="ma-main-container col1-layout">'; } echo '<td style="border:thin; width:25%;">'; $type = $category; include 'wow-slider/index.php'; echo '</td>'; $i++; if ($i % 4 == 0) { echo '</tr><tr><td><br></td></tr>'; } }
</head> <body style="background-color:#d7d7d7"> <div class="slider-container"> <div class="wowslider-container"> <div class="ws_images"><ul> </a> <?php $images = \Util\AppUtil::getFileNames("wow-slider/data/images/" . $type); $tips = ""; foreach ($images as $img) { $src = BASE_URL . 'wow-slider/data/images/' . $type . '/' . $img; echo '<li><a href="productList.php?type=' . $type . '"><img src="' . $src . '" alt="' . $img . '" title="' . \Util\AppUtil::get_file_title($img) . '" id="wows1_0" height="240"/></a></li>'; $tips .= '<a href="productList.php"><img src="' . $src . '" alt="' . $img . '" height="30" width="30"/>1</a>'; } ?> </ul></div> <div class="ws_bullets"><div> <?php echo $tips; ?> </div></div> <div class="ws_shadow"></div> </div> <script type='text/javascript' src='<?php echo BASE_URL;
<table style="margin-top:4%;" border="3"> <?php $type = $_REQUEST["type"]; $db = new Database(); $db->controls(); $db->connection(); //$categories = \Util\AppUtil::getFileNames("wow-slider/data/images/"); $images = \Util\AppUtil::getFileNames("wow-slider/data/images/" . $type); $i = 0; foreach ($images as $img) { $src = BASE_URL . 'wow-slider/data/images/' . $type . '/' . $img; if ($i % 4 == 0) { echo '<tr class="ma-main-container col1-layout">'; } echo '<td style="border:thin; width:25%;"> <a href="product.php?product=' . $db->getProductProductCode(\Util\AppUtil::get_file_title($img)) . '"> <img src="' . $src . '" alt="' . $img . '" title="' . \Util\AppUtil::get_file_title($img) . '" id="wows1_0" height="240" width="210"/> </a> </td><td style="border:thin; width:25%;></td>'; $i++; if ($i % 4 == 0) { echo '</tr>'; } //'<a href="productList.php"><img src="'.$src.'" alt="'.$img.'" height="30" width="30"/>1</a>'; } ?> <br></tr> <tr style="border: 1"> <td> <div class="ma-footer-container"> <div class="footer"> <address>© 2013 ibiponi.com, All Rights Reserved. </address>