Example #1
0
function dateGenerator($date)
{
    // Explode of the date
    $day = date('j', $date);
    $month = number2month(date('m', $date));
    $year = date('Y', $date);
    // Returne formated date
    return $day . ' ' . $month . ' ' . $year;
}
Example #2
0
						</div>
						<div class="postContent">
							<?php 
        echo $content;
        ?>
						</div>
						<?php 
        if (!empty($modDate)) {
            ?>
							<p style="font-style: italic;
                              font-size: 12px; ">
								Modifié le <?php 
            echo $modDay;
            ?>
 <?php 
            echo number2month($modMonth);
            ?>
 <?php 
            echo $modYear;
            ?>
							</p>
						<?php 
        }
        ?>
					</div>
				<?php 
    }
    // Else there is no posts
} else {
    ?>
				<div class="panel">