



"MicroMonkey, post: 94058":this line is definitely wrong tiloup, and will not work when DST is in effect. Some of the timezones are labeled wrong, and while they will be correct for some of the year, when DST is in effect, they will not adjust themselves like they should
$tzs["-300"] = array("(GMT - 5:00 hours) Eastern Time (US & Canada), Bogota, Lima, Quito", "America/Lima");
<?php
$tzs = array();
$tzs["-720"] = array("(GMT - 12:00 hours) Enitwetok, Kwajalien", "Pacific/Kwajalein");
$tzs["-660"] = array("(GMT - 11:00 hours) Midway Island, Samoa", "Pacific/Samoa");
$tzs["-600"] = array("(GMT - 10:00 hours) Hawaii", "Pacific/Honolulu");
$tzs["-540"] = array("(GMT - 9:00 hours) Alaska", "America/Anchorage");
$tzs["-480"] = array("(GMT - 8:00 hours) Pacific Time (US & Canada)", "America/Los_Angeles");
$tzs["-420"] = array("(GMT - 7:00 hours) Mountain Time (US & Canada)", "America/Edmonton");
$tzs["-360"] = array("(GMT - 6:00 hours) Central Time (US & Canada), Mexico City", "America/Mexico_City");
$tzs["-300"] = array("(GMT - 5:00 hours) Eastern Time (US & Canada), Bogota, Lima, Quito", "America/Lima");
$tzs["-240"] = array("(GMT - 4:00 hours) Atlantic Time (Canada), Caracas, La Paz", "America/Guadeloupe");
$tzs["-210"] = array("(GMT - 3:30 hours) Newfoundland", "America/St_Johns");
$tzs["-180"] = array("(GMT - 3:00 hours) Brazil, Buenos Aires, Georgetown, Falkland Isl.", "Etc/GMT+3");
$tzs["-120"] = array("(GMT - 2:00 hours) Mid-Atlantic, Ascention Isl., St Helena", "Atlantic/St_Helena");
$tzs["-60"] = array("(GMT - 1:00 hour) Azores, Cape Verde Islands", "Atlantic/Azores");
$tzs["0"] = array("(GMT) Casablanca, Dublin, Edinburgh, London, Lisbon, Monrovia", "Europe/London");
$tzs["60"] = array("(GMT + 1:00 hour) Amsterdam, Berlin, Copenhagen, Madrid, Paris, Rome", "Europe/Rome");
$tzs["120"] = array("(GMT + 2:00 hours) Kaliningrad, South Africa, Warsaw", "Europe/Kaliningrad");
$tzs["180"] = array("(GMT + 3:00 hours) Baghdad, Riyadh, Moscow, Nairobi", "Africa/Nairobi");
$tzs["210"] = array("(GMT + 3:30 hours) Tehran", "Asia/Tehran");
$tzs["240"] = array("(GMT + 4:00 hours) Adu Dhabi, Baku, Muscat, Tbilisi", "Asia/Tbilisi");
$tzs["270"] = array("(GMT + 4:30 hours) Kabul", "Asia/Kabul");
$tzs["300"] = array("(GMT + 5:00 hours) Ekaterinburg, Islamabad, Karachi, Tashkent", "Asia/Tashkent");
$tzs["330"] = array("(GMT + 5:30 hours) Bombay, Calcutta, Madras, New Delhi", "Asia/Calcutta");
$tzs["360"] = array("(GMT + 6:00 hours) Almaty, Dhaka, Khulna", "Asia/Dhaka");
$tzs["420"] = array("(GMT + 7:00 hours) Bangkok, Hanoi, Jakarta", "Asia/Bangkok");
$tzs["480"] = array("(GMT + 8:00 hours) Beijing, Hong Kong, Perth, Singapore, Taipei", "Asia/Taipei");
$tzs["540"] = array("(GMT + 9:00 hours) Osaka, Sapporo, Seoul, Tokyo, Yakutsk", "Asia/Tokyo");
$tzs["570"] = array("(GMT + 9:30 hours) Adelaide, Darwin", "Australia/Adelaide");
$tzs["600"] = array("(GMT + 10:00 hours) Melbourne, Papua New Guinea, Sydney, Vladivostok", "Australia/Sydney");
$tzs["660"] = array("(GMT + 11:00 hours) Magadan, New Caledonia, Solomon Islands", "Asia/Magadan");
$tzs["720"] = array("(GMT + 12:00 hours) Auckland, Wellington, Fiji, Marshall Island", "Pacific/Auckland");
?>
"luis26x, post: 94037":Why do not change for me?
[ATTACH]7284.IPB[/ATTACH]
//[align=(center|left|right|justify)]text[/align]
$s = preg_replace("/\[align=([a-zA-Z]+)\]((\s|.)+?)\[\/align\]/i","<div style=\"text-align:\\1\">\\2</div>", $s);
// [left]Left[/left]
$s = preg_replace("/\[left\]((\s|.)+?)\[\/left\]/", "<div align=left>\\1</div>", $s);
$s = preg_replace("/\[LEFT\]((\s|.)+?)\[\/LEFT\]/", "<div align=left>\\1</div>", $s);
// [right]Right[/right]
$s = preg_replace("/\[right\]((\s|.)+?)\[\/right\]/", "<div align=right>\\1</div>", $s);
$s = preg_replace("/\[RIGHT\]((\s|.)+?)\[\/RIGHT\]/", "<div align=right>\\1</div>", $s);
// Center
$s = preg_replace("/\[center\]((\s|.)+?)\[\/center\]/", "<center>\\1</center>", $s);
$s = preg_replace("/\[CENTER\]((\s|.)+?)\[\/CENTER\]/", "<center>\\1</center>", $s);
Quote:I have no ide what you trying to do :ph34r: but you had this problem once before. Check this post [url="http://devscorner.xyz/index.php?/topic/14268-one-staffcp-for-all-the-staff-with-permission-or-not/#comment-77186"]here[/url]
Fatal error: Cannot redeclare navmenu() (previously declared in /home/XXXX/public_html/mailbox.php:145) in /home/XXXXX/public_html/backend/functions.php on line 2061[url="/monthly_2015_04/Capture.PNG.3c5aeabb7207c45170c4d7943c1fbc82.PNG"][img]/monthly_2015_04/Capture.thumb.PNG.1b26e2aba83280e5ffa1ea645feafdc7.PNG[/img][/url]"mitch84, post: 93848":While waiting for your config and your system goes into operation as you configure your config.
already checked
"mitch84, post: 93846":Check your config !
Hi, I installed the version of the first topic, everything works fine except that I have not received mp if I delete the file before the time, and the box hit and always on no, any idea?( the preview is just a sample for my problem) thank you
"mitch84, post: 93842":if you installed the mod H & R you have nothing to change
I do not know now what I need to change in the file annouce :blink:
"mitch84, post: 93839":not you install all! ;)
I don't understand, I have to make changes in announce.php and installing the hack hit & run, I have to remove what the hack snatchlist told me to put
"MicroMonkey, post: 93830":yesssss, thanks! :D
add windows 10 detection. Add to functions.php in the same place as you added the others
'/windows nt 10.0/i' => 'Windows 10',
add the below image to your images/oss folder
CREATE TABLE `os` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT,function get_poolsleft($i){
global $site_config, $THEME; if ($i == 0 || $i == 5 || $i == 10 || $i == 15) return "<img src=".$site_config['SITEURL']."/themes/$THEME/images/polls/bar1-l.png border="0">";.pollsanswer {
background:#D2DDEA;"fuzion, post: 93826":
hi, dear me its not working I have this error
Parse error: syntax error, unexpected T_STRING in /home/tracker/public_html/backend/functions.php on line 291
an idea?