User Login

Please enter user name and password into following boxes!

If you are not registered yet, please click

Forget Password

If you forget your password, please click


  • Simple Pagination in Php

    Php Codes <div class="pagination-wrapper"> <ul class="pagination"> <li><a href="?page=<?= $page > 1 ? ( $page - 1 ) : '1' ?>" aria-label="Previous"><span aria-hidden="true"><i class="fa fa-long-arrow-left"></i> Önceki Sayfa</span></a></li> <?php $databaseUtil = new \hatim\Libraries\DatabaseUtil(); $limit = 2; $total = $databaseUtil->count( "hatim" ); $pages = ceil( $total / $limit ); // What page are we currently on? $page = get_query_var( "page" ); $page = $page == 0 ? 1 : $page; // Calculate...Continue Reading

    Jquery Marquee Plugin Usage

    By using following codes, we can get rid of marquee element. For more information please click <style type="text/css"> .wordwrap { white-space: -moz-pre-wrap; /* Firefox */ white-space: -pre-wrap; /* Opera <7 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* IE */ } .marquee,.marquee-left { overflow: hidden; } </style> <script type="text/javascript" src="/Scripts/marquee.js"></script> <script type="text/javascript" src="/Scripts/...Continue Reading

    How To Break Foreach Loop in JSP

    Jsp Page In Jsp, there is no break element to break foreach loop, so we have used begin, end and var attributes. When parentPage is null, then count variable will be set to end attribute value to break foreach loop as follows: <section class="in_sec_nrd"> <article class="art_loop_nrd"> Where I am: <c:forEach begin="0" end="100" var="count"> <c:if test="${not empty parentPage}"> <a title="${parentPage.title}" href="<c:url value="/content/${parentPage.url}" />"> ${par...Continue Reading

    A Design Trick For Mobile Web Application

    If you design mobile web application, your layout should look like as follows: Css: //you can use other html elements that needs word-wrap h1,h2,h3,h4,p,span,label{ word-wrap: break-word; } .page { height: 100%; padding: 10px; } .topic { text-align: justify; } Html: <div class='page'"> <div class='topic'> <!--other html elements--> </div> </div>...Continue Reading