TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 19, 2024, 10:37:18 PM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,195
  • Total Topics: 21,220
  • Online today: 128
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 40
  • Total: 40

Islamic Date Block

Started by akulion, November 26, 2006, 03:42:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

akulion

hi,

ok in case someone wants this I am posting it here.

Islamic dates are basically calculated upon lunar cycles - and the Islamic calender begins from the period in history known as the 'hijrah' the time when the first Muslims in Arabia migrated from Mecca to Medina in order to escape persecution.

Anyways that was a short history for curious minds lol

A demo can be seen on my site http://path-to-peace.net/forum its just under that fancy lil clock in plain text

Here is the script - there is a buncha php files in the zip file - some of them are used to display the date in Arabic as well - but i have been unable to use that with TP since for some reason it inverts the whole page from right to left instead of being from left to right...i'm guessing its the character encoding.

However the English display will work just fine.

- download the file attached to this post

- unzip it and put all the files in it in ur forum root in a folder called arabicTools

- put this code in a side PHP block:


echo'<b><Font size=1 color=white><center>Islamic Date<br>';
include './arabicTools/hijriking.php';
echo'</center></font></b>';


change the color in the code to suit ur theme..

Activate and enjoy....

Sakuragi

I didn't see the file attached to this post !

akulion

i must be getting really old, i keep forgetting the attachments!

here it is

Sakuragi


akulion