예제 #1
0
 protected function side_menu()
 {
     echo '<div class="menu-top"><a href="#" >Start Selling Today</a></div>';
     $menu = new NewMainMenu();
     $menu->render();
     //Contributors
     $contributors = new WeeklyContributors();
     $contributors->render();
 }
예제 #2
0
    protected function side_menu()
    {
        //Show menu
        echo '<div class="menu-top"><a href="#" >Start Selling Today</a></div>';
        $menu = new NewMainMenu();
        $menu->render();
        //Contributors
        $contributors = new WeeklyContributors();
        $contributors->render();
        ?>
<!--        Also sold by whoever-->
        <div class="also-sold-wrapper">
            <h2>Also sold by John Smith</h2>
            <hr />

<!--            Card-->
            <img src="/images/placeholder-product-image-large.png" />
            <h3><a href="#">Some Product Name</a></h3>
            <div class="also-sold-by-wrapper">
                <div class="also-sold-by-left">
                    by Jane Smith
                </div>
                <div class="also-sold-by-right">
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                </div>
            </div>
            <div class="also-sold-by-cart-wrapper">
                <div class="also-sold-by-cart-left">
                    <input type="submit" name="btnSomeName" value="Add to Cart" />
                </div>
                <div class="also-sold-by-cart-right">
                    $00.00
                </div>
            </div>

            <hr class="dashed-hr" />

            <!--            Card-->
            <img src="/images/placeholder-product-image-large.png" />
            <h3><a href="#">Some Product Name</a></h3>
            <div class="also-sold-by-wrapper">
                <div class="also-sold-by-left">
                    by Jane Smith
                </div>
                <div class="also-sold-by-right">
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                </div>
            </div>
            <div class="also-sold-by-cart-wrapper">
                <div class="also-sold-by-cart-left">
                    <input type="submit" name="btnSomeName" value="Add to Cart" />
                </div>
                <div class="also-sold-by-cart-right">
                    $00.00
                </div>
            </div>

            <hr class="dashed-hr" />

            <!--            Card-->
            <img src="/images/placeholder-product-image-large.png" />
            <h3><a href="#">Some Product Name</a></h3>
            <div class="also-sold-by-wrapper">
                <div class="also-sold-by-left">
                    by Jane Smith
                </div>
                <div class="also-sold-by-right">
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                </div>
            </div>
            <div class="also-sold-by-cart-wrapper">
                <div class="also-sold-by-cart-left">
                    <input type="submit" name="btnSomeName" value="Add to Cart" />
                </div>
                <div class="also-sold-by-cart-right">
                    $00.00
                </div>
            </div>

        </div>

        <!--        Similar Items-->
        <div class="also-sold-wrapper">
            <h2>Similar Items</h2>
            <hr />

            <!--            Card-->
            <img src="/images/placeholder-product-image-large.png" />
            <h3><a href="#">Some Product Name</a></h3>
            <div class="also-sold-by-wrapper">
                <div class="also-sold-by-left">
                    by Jane Smith
                </div>
                <div class="also-sold-by-right">
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                </div>
            </div>
            <div class="also-sold-by-cart-wrapper">
                <div class="also-sold-by-cart-left">
                    <input type="submit" name="btnSomeName" value="Add to Cart" />
                </div>
                <div class="also-sold-by-cart-right">
                    $00.00
                </div>
            </div>

            <hr class="dashed-hr" />

            <!--            Card-->
            <img src="/images/placeholder-product-image-large.png" />
            <h3><a href="#">Some Product Name</a></h3>
            <div class="also-sold-by-wrapper">
                <div class="also-sold-by-left">
                    by Jane Smith
                </div>
                <div class="also-sold-by-right">
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                </div>
            </div>
            <div class="also-sold-by-cart-wrapper">
                <div class="also-sold-by-cart-left">
                    <input type="submit" name="btnSomeName" value="Add to Cart" />
                </div>
                <div class="also-sold-by-cart-right">
                    $00.00
                </div>
            </div>

            <hr class="dashed-hr" />

            <!--            Card-->
            <img src="/images/placeholder-product-image-large.png" />
            <h3><a href="#">Some Product Name</a></h3>
            <div class="also-sold-by-wrapper">
                <div class="also-sold-by-left">
                    by Jane Smith
                </div>
                <div class="also-sold-by-right">
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                    <img src="/images/icons/star.png" />
                </div>
            </div>
            <div class="also-sold-by-cart-wrapper">
                <div class="also-sold-by-cart-left">
                    <input type="submit" name="btnSomeName" value="Add to Cart" />
                </div>
                <div class="also-sold-by-cart-right">
                    $00.00
                </div>
            </div>

        </div>

        <?php 
    }