Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Show date
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Mods Completed

Unknown User
2013-02-12 13:11:14


Open ../backend/functions.php file

go to file bottom and add cript before "?>"



//Show todays date

function show_today_date(){

$get_month = date('n');

$get_day = date('N');

$days_names = array("".T_("MONDAY")."", "".T_("TUESDAY")."", "".T_("WEDNESDAY")."", "".T_("THURSDAY")."", "".T_("FRIDAY")."", "".T_("SATUDAY")."", "".T_("SUNDAY")."");

$months_names = array("".T_("JANUARY")."", "".T_("FEBRUARY")."", "".T_("MARCH")."", "".T_("APRIL")."", "".T_("MAY")."", "".T_("JUNE")."", "".T_("JULY")."","".T_("AUGUST")."", "".T_("SEPTEMBER")."","".T_("OCTOBER")."", "".T_("NOVEMBER")."", "".T_("DECEMBER")."");

$date = date('Y ');

$date .= $months_names[$get_month-1];

$date .= date(' j d. ');

$date .= $days_names[$get_day-1];

return $date;

}//End date






Open your lang file exp. english.php and add this code:







//Yars Months

$LANG["JANUARY"] = "january";

$LANG["FEBRUARY"] = "february";

$LANG["MARCH"] = "march";

$LANG["APRIL"] = "april";

$LANG["MAY"] = "may";

$LANG["JUNE"] = "june";

$LANG["JULY"] = "july";

$LANG["AUGUST"] = "august";

$LANG["SEPTEMBER"] = "september";

$LANG["OCTOBER"] = "october";

$LANG["NOVEMBER"] = "november";

$LANG["DECEMBER"] = "december";

//Week days

$LANG["MONDAY"] = "monday";

$LANG["TUESDAY"] = "tuesday";

$LANG["WEDNESDAY"] = "wednesday";

$LANG["THURSDAY"] = "thursday";

$LANG["FRIDAY"] = "friday";

$LANG["SATUDAY"] = "satuday";

$LANG["SUNDAY"] = "sunday";






Add this code in your: ../theme.php file







.showday {

color:#dadada;

font-family:"Arial Black", Gadget, sans-serif;

font-size:14px;

font-weight:bold;

display:inline;

margin-left: 10px;

}






And add this code in your ../header.php file. place there where you want to show it.







<div class="showday"><?php echo show_today_date();?></div>

2013-02-17 03:33:00
Thanks You!! :)
2013-02-24 15:42:18
Ello ErvD !

Posible to day, date me, years ?

Thank you very much! :)
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728