コード例 #1
0
ファイル: config.php プロジェクト: MaitreyaBuddha/worklist
defineOnce('GOOGLE_ANALYTICS_TOKEN', '1/kTlFYUDNtShl_ejOORk1v8fAKhmj3FmIam1i-NTMyqE');
defineOnce('GOOGLE_ANALYTICS_PROFILE_ID', '46390018');
$countryurllist = array('AF' => 'Afghanistan', 'AL' => 'Albania', 'ag' => 'Algeria', 'Aq' => 'American Samoa', 'An' => 'Andorra', 'AO' => 'Angola', 'Av' => 'Anguilla', 'Ay' => 'Antarctica', 'Ac' => 'Antigua and Barbuda', 'AR' => 'Argentina', 'AM' => 'Armenia', 'aa' => 'Aruba', 'As' => 'Australia', 'Au' => 'Austria', 'Aj' => 'Azerbaijan', 'Bf' => 'Bahamas', 'ba' => 'Bahrain', 'Bg' => 'Bangladesh', 'BB' => 'Barbados', 'Bo' => 'Belarus', 'BE' => 'Belgium', 'Bh' => 'Belize', 'Bn' => 'Benin', 'Bd' => 'Bermuda', 'BT' => 'Bhutan', 'Bl' => 'Bolivia', 'Bk' => 'Bosnia and Herzegovina', 'Bc' => 'Botswana', 'BV' => 'Bouvet Island', 'BR' => 'Brazil', 'io' => 'British Indian Ocean Territory', 'bx' => 'Brunei Darussalam', 'Bu' => 'Bulgaria', 'uv' => 'Burkina Faso', 'By' => 'Burundi', 'cb' => 'Cambodia', 'CM' => 'Cameroon', 'CA' => 'Canada', 'CV' => 'Cape Verde', 'cj' => 'Cayman Islands', 'ct' => 'Central African Republic', 'cd' => 'Chad', 'Ci' => 'Chile', 'Ch' => 'China', 'kt' => 'Christmas Island', 'ck' => 'Cocos (Keeling) Islands', 'CO' => 'Colombia', 'cn' => 'Comoros', 'cf' => 'Congo', 'cg' => 'Congo (DR)', 'cw' => 'Cook Islands', 'cs' => 'Costa Rica', 'iv' => 'Cote D\'Ivoire', 'HR' => 'Croatia', 'CU' => 'Cuba', 'CY' => 'Cyprus', 'ez' => 'Czech Republic', 'Da' => 'Denmark', 'DJ' => 'Djibouti', 'Do' => 'Dominica', 'Dr' => 'Dominican Republic', 'EC' => 'Ecuador', 'EG' => 'Egypt', 'es' => 'El Salvador', 'ek' => 'Equatorial Guinea', 'ER' => 'Eritrea', 'en' => 'Estonia', 'ET' => 'Ethiopia', 'FK' => 'Falkland Islands (Malvinas)', 'FO' => 'Faroe Islands', 'FJ' => 'Fiji', 'FI' => 'Finland', 'FR' => 'France', 'GF' => 'French Guiana', 'fp' => 'French Polynesia', 'fs' => 'French Southern Territories', 'gb' => 'Gabon', 'ga' => 'Gambia', 'gg' => 'Georgia', 'gm' => 'Germany', 'GH' => 'Ghana', 'GI' => 'Gibraltar', 'GR' => 'Greece', 'GL' => 'Greenland', 'Gj' => 'Grenada', 'GP' => 'Guadeloupe', 'gq' => 'Guam', 'GT' => 'Guatemala', 'gv' => 'Guinea', 'pu' => 'Guinea-Bissau', 'GY' => 'Guyana', 'ha' => 'Haiti', 'HM' => 'Heard Island / Mcdonald Islands', 'Vt' => 'Holy See (Vatican City State)', 'Ho' => 'Honduras', 'HK' => 'Hong Kong', 'HU' => 'Hungary', 'ic' => 'Iceland', 'IN' => 'India', 'ID' => 'Indonesia', 'ir' => 'Iran, Islamic Republic of', 'Iz' => 'Iraq', 'ei' => 'Ireland', 'Is' => 'Israel', 'IT' => 'Italy', 'JM' => 'Jamaica', 'Ja' => 'Japan', 'JO' => 'Jordan', 'KZ' => 'Kazakhstan', 'KE' => 'Kenya', 'Kr' => 'Kiribati', 'Ku' => 'Kuwait', 'KG' => 'Kyrgyzstan', 'LA' => "Lao People's Democratic Republic", 'Lg' => 'Latvia', 'Le' => 'Lebanon', 'Lt' => 'Lesotho', 'Li' => 'Liberia', 'LY' => 'Libyan Arab Jamahiriya', 'ls' => 'Liechtenstein', 'Lh' => 'Lithuania', 'LU' => 'Luxembourg', 'mc' => 'Macao', 'mk' => 'Macedonia', 'Ma' => 'Madagascar', 'Mi' => 'Malawi', 'MY' => 'Malaysia', 'MV' => 'Maldives', 'ML' => 'Mali', 'MT' => 'Malta', 'rm' => 'Marshall Islands', 'MQ' => 'Martinique', 'MR' => 'Mauritania', 'Mp' => 'Mauritius', 'mf' => 'Mayotte', 'MX' => 'Mexico', 'FM' => 'Micronesia, Federated States of', 'md' => 'Moldova, Republic of', 'Mn' => 'Monaco', 'Mg' => 'Mongolia', 'Mj' => 'Montserrat', 'Mo' => 'Morocco', 'MZ' => 'Mozambique', 'MM' => 'Myanmar', 'wa' => 'Namibia', 'NR' => 'Nauru', 'NP' => 'Nepal', 'NL' => 'Netherlands', 'nl' => 'Netherlands Antilles', 'NC' => 'New Caledonia', 'NZ' => 'New Zealand', 'Nu' => 'Nicaragua', 'Ng' => 'Niger', 'Ni' => 'Nigeria', 'Ne' => 'Niue', 'NF' => 'Norfolk Island', 'KP' => 'North Korea', 'cq' => 'Northern Mariana Islands', 'NO' => 'Norway', 'mu' => 'Oman', 'PK' => 'Pakistan', 'Ps' => 'Palau', 'PS' => 'Palestine', 'Pm' => 'Panama', 'Pp' => 'Papua New Guinea', 'Pa' => 'Paraguay', 'PE' => 'Peru', 'rp' => 'Philippines', 'pc' => 'Pitcairn', 'PL' => 'Poland', 'Po' => 'Portugal', 'rq' => 'Puerto Rico', 'QA' => 'Qatar', 'RE' => 'Reunion', 'RO' => 'Romania', 'Rs' => 'Russian Federation', 'RW' => 'Rwanda', 'SH' => 'Saint Helena', 'sc' => 'Saint Kitts and Nevis', 'st' => 'Saint Lucia', 'sb' => 'Saint Pierre and Miquelon', 'VC' => 'Saint Vincent / Grenadines', 'WS' => 'Samoa', 'SM' => 'San Marino', 'tp' => 'Sao Tome and Principe', 'SA' => 'Saudi Arabia', 'sg' => 'Senegal', 'ri' => 'Serbia and Montenegro', 'se' => 'Seychelles', 'SL' => 'Sierra Leone', 'Sn' => 'Singapore', 'lo' => 'Slovakia', 'SI' => 'Slovenia', 'bp' => 'Solomon Islands', 'SO' => 'Somalia', 'sf' => 'South Africa', 'sx' => 'South Georgia and The South Sandwich Islands', 'KR' => 'South Korea', 'sp' => 'Spain', 'ce' => 'Sri Lanka', 'su' => 'Sudan', 'ns' => 'Suriname', 'sv' => 'Svalbard and Jan Mayen', 'wz' => 'Swaziland', 'sw' => 'Sweden', 'sz' => 'Switzerland', 'SY' => 'Syrian Arab Republic', 'TW' => 'Taiwan', 'TJ' => 'Tajikistan', 'TZ' => 'Tanzania, United Republic of', 'TH' => 'Thailand', 'tt' => 'Timor-Leste', 'to' => 'Togo', 'tl' => 'Tokelau', 'tn' => 'Tonga', 'td' => 'Trinidad and Tobago', 'ts' => 'Tunisia', 'tu' => 'Turkey', 'tx' => 'Turkmenistan', 'tk' => 'Turks and Caicos Islands', 'TV' => 'Tuvalu', 'UG' => 'Uganda', 'up' => 'Ukraine', 'AE' => 'United Arab Emirates', 'uk' => 'United Kingdom', 'US' => 'United States', 'um' => 'United States Minor Outlying Islands', 'UY' => 'Uruguay', 'UZ' => 'Uzbekistan', 'nh' => 'Vanuatu', 'VE' => 'Venezuela', 'vm' => 'Viet Nam', 'vq' => 'Virgin Islands, UK', 'vq' => 'Virgin Islands, US', 'WF' => 'Wallis and Futuna', 'wi' => 'Western Sahara', 'ym' => 'Yemen', 'za' => 'Zambia', 'zi' => 'Zimbabwe');
$countryurllist = array_flip($countryurllist);
// Flip the URL and CIA.gov code/url
$countrylist = array('AF' => 'Afghanistan', 'AL' => 'Albania', 'DZ' => 'Algeria', 'AS' => 'American Samoa', 'AD' => 'Andorra', 'AO' => 'Angola', 'AI' => 'Anguilla', 'AQ' => 'Antarctica', 'AG' => 'Antigua and Barbuda', 'AR' => 'Argentina', 'AM' => 'Armenia', 'AW' => 'Aruba', 'AU' => 'Australia', 'AT' => 'Austria', 'AZ' => 'Azerbaijan', 'BS' => 'Bahamas', 'BH' => 'Bahrain', 'BD' => 'Bangladesh', 'BB' => 'Barbados', 'BY' => 'Belarus', 'BE' => 'Belgium', 'BZ' => 'Belize', 'BJ' => 'Benin', 'BM' => 'Bermuda', 'BT' => 'Bhutan', 'BO' => 'Bolivia', 'BA' => 'Bosnia and Herzegovina', 'BW' => 'Botswana', 'BV' => 'Bouvet Island', 'BR' => 'Brazil', 'BI' => 'British Indian Ocean Territory', 'BN' => 'Brunei Darussalam', 'BG' => 'Bulgaria', 'BF' => 'Burkina Faso', 'BI' => 'Burundi', 'KH' => 'Cambodia', 'CM' => 'Cameroon', 'CA' => 'Canada', 'CV' => 'Cape Verde', 'KY' => 'Cayman Islands', 'CF' => 'Central African Republic', 'TD' => 'Chad', 'CL' => 'Chile', 'CN' => 'China', 'CX' => 'Christmas Island', 'CC' => 'Cocos (Keeling) Islands', 'CO' => 'Colombia', 'KM' => 'Comoros', 'CG' => 'Congo', 'CD' => 'Congo (DR)', 'CK' => 'Cook Islands', 'CR' => 'Costa Rica', 'CI' => 'Cote D\'Ivoire', 'HR' => 'Croatia', 'CU' => 'Cuba', 'CY' => 'Cyprus', 'CZ' => 'Czech Republic', 'DK' => 'Denmark', 'DJ' => 'Djibouti', 'DM' => 'Dominica', 'DO' => 'Dominican Republic', 'EC' => 'Ecuador', 'EG' => 'Egypt', 'SV' => 'El Salvador', 'GQ' => 'Equatorial Guinea', 'ER' => 'Eritrea', 'EE' => 'Estonia', 'ET' => 'Ethiopia', 'FK' => 'Falkland Islands (Malvinas)', 'FO' => 'Faroe Islands', 'FJ' => 'Fiji', 'FI' => 'Finland', 'FR' => 'France', 'GF' => 'French Guiana', 'PF' => 'French Polynesia', 'TF' => 'French Southern Territories', 'GA' => 'Gabon', 'GM' => 'Gambia', 'GE' => 'Georgia', 'DE' => 'Germany', 'GH' => 'Ghana', 'GI' => 'Gibraltar', 'GR' => 'Greece', 'GL' => 'Greenland', 'GD' => 'Grenada', 'GP' => 'Guadeloupe', 'GU' => 'Guam', 'GT' => 'Guatemala', 'GN' => 'Guinea', 'GW' => 'Guinea-Bissau', 'GY' => 'Guyana', 'HT' => 'Haiti', 'HM' => 'Heard Island / Mcdonald Islands', 'VA' => 'Holy See (Vatican City State)', 'HN' => 'Honduras', 'HK' => 'Hong Kong', 'HU' => 'Hungary', 'IS' => 'Iceland', 'IN' => 'India', 'ID' => 'Indonesia', 'IR' => 'Iran, Islamic Republic of', 'IQ' => 'Iraq', 'IE' => 'Ireland', 'IL' => 'Israel', 'IT' => 'Italy', 'JM' => 'Jamaica', 'JP' => 'Japan', 'JO' => 'Jordan', 'KZ' => 'Kazakhstan', 'KE' => 'Kenya', 'KI' => 'Kiribati', 'KW' => 'Kuwait', 'KG' => 'Kyrgyzstan', 'LA' => "Lao People's Democratic Republic", 'LV' => 'Latvia', 'LB' => 'Lebanon', 'LS' => 'Lesotho', 'LR' => 'Liberia', 'LY' => 'Libyan Arab Jamahiriya', 'LI' => 'Liechtenstein', 'LT' => 'Lithuania', 'LU' => 'Luxembourg', 'MO' => 'Macao', 'MK' => 'Macedonia', 'MG' => 'Madagascar', 'MW' => 'Malawi', 'MY' => 'Malaysia', 'MV' => 'Maldives', 'ML' => 'Mali', 'MT' => 'Malta', 'MH' => 'Marshall Islands', 'MQ' => 'Martinique', 'MR' => 'Mauritania', 'MU' => 'Mauritius', 'YT' => 'Mayotte', 'MX' => 'Mexico', 'FM' => 'Micronesia, Federated States of', 'MD' => 'Moldova, Republic of', 'MC' => 'Monaco', 'MN' => 'Mongolia', 'MS' => 'Montserrat', 'MA' => 'Morocco', 'MZ' => 'Mozambique', 'MM' => 'Myanmar', 'NA' => 'Namibia', 'NR' => 'Nauru', 'NP' => 'Nepal', 'NL' => 'Netherlands', 'AN' => 'Netherlands Antilles', 'NC' => 'New Caledonia', 'NZ' => 'New Zealand', 'NI' => 'Nicaragua', 'NE' => 'Niger', 'NG' => 'Nigeria', 'NU' => 'Niue', 'NF' => 'Norfolk Island', 'KP' => 'North Korea', 'MP' => 'Northern Mariana Islands', 'NO' => 'Norway', 'OM' => 'Oman', 'PK' => 'Pakistan', 'PW' => 'Palau', 'PS' => 'Palestine', 'PA' => 'Panama', 'PG' => 'Papua New Guinea', 'PY' => 'Paraguay', 'PE' => 'Peru', 'PH' => 'Philippines', 'PN' => 'Pitcairn', 'PL' => 'Poland', 'PT' => 'Portugal', 'PR' => 'Puerto Rico', 'QA' => 'Qatar', 'RE' => 'Reunion', 'RO' => 'Romania', 'RU' => 'Russian Federation', 'RW' => 'Rwanda', 'SH' => 'Saint Helena', 'KN' => 'Saint Kitts and Nevis', 'LC' => 'Saint Lucia', 'PM' => 'Saint Pierre and Miquelon', 'VC' => 'Saint Vincent / Grenadines', 'WS' => 'Samoa', 'SM' => 'San Marino', 'ST' => 'Sao Tome and Principe', 'SA' => 'Saudi Arabia', 'SN' => 'Senegal', 'CS' => 'Serbia and Montenegro', 'SC' => 'Seychelles', 'SL' => 'Sierra Leone', 'SG' => 'Singapore', 'SK' => 'Slovakia', 'SI' => 'Slovenia', 'SB' => 'Solomon Islands', 'SO' => 'Somalia', 'ZA' => 'South Africa', 'GS' => 'South Georgia and The South Sandwich Islands', 'KR' => 'South Korea', 'ES' => 'Spain', 'LK' => 'Sri Lanka', 'SD' => 'Sudan', 'SR' => 'Suriname', 'SJ' => 'Svalbard and Jan Mayen', 'SZ' => 'Swaziland', 'SE' => 'Sweden', 'CH' => 'Switzerland', 'SY' => 'Syrian Arab Republic', 'TW' => 'Taiwan', 'TJ' => 'Tajikistan', 'TZ' => 'Tanzania, United Republic of', 'TH' => 'Thailand', 'TL' => 'Timor-Leste', 'TG' => 'Togo', 'TK' => 'Tokelau', 'TO' => 'Tonga', 'TT' => 'Trinidad and Tobago', 'TN' => 'Tunisia', 'TR' => 'Turkey', 'TM' => 'Turkmenistan', 'TC' => 'Turks and Caicos Islands', 'TV' => 'Tuvalu', 'UG' => 'Uganda', 'UA' => 'Ukraine', 'AE' => 'United Arab Emirates', 'GB' => 'United Kingdom', 'US' => 'United States', 'PU' => 'United States Minor Outlying Islands', 'UY' => 'Uruguay', 'UZ' => 'Uzbekistan', 'VU' => 'Vanuatu', 'VE' => 'Venezuela', 'VN' => 'Viet Nam', 'VG' => 'Virgin Islands, UK', 'VI' => 'Virgin Islands, US', 'WF' => 'Wallis and Futuna', 'EH' => 'Western Sahara', 'YE' => 'Yemen', 'ZM' => 'Zambia', 'ZW' => 'Zimbabwe');
$smslist = array('US' => array('3 River Wireless' => '{n}@sms.3rivers.net', '7-11 Speakout' => '{n}@cingularme.com', 'Advantage Communications' => '{n}@advantagepaging.com', 'Airtouch Pagers' => '{n}@airtouch.net', 'Airtouch Pagers' => '{n}@airtouch.net', 'Airtouch Pagers' => '{n}@airtouchpaging.com', 'Airtouch Pagers' => '{n}@alphapage.airtouch.com', 'Airtouch Pagers' => '{n}@myairmail.com', 'AllTel' => '{n}@message.alltel.com', 'Alltel PCS' => '{n}@message.alltel.com', 'Alltel' => '{n}@alltelmessage.com', 'AirVoice' => '{n}@mmode.com', 'Ameritech' => '{n}@pagin.acswireless.com', 'Aql' => '{n}@text.aql.com', 'Arch Pagers (PageNet)' => '{n}@archwireless.net', 'Arch Pagers (PageNet)' => '{n}@epage.arch.com', 'AT&T Wireless' => '{n}@txt.att.net', 'Bell South' => '{n}@blsdcs.net', 'Bell South Blackberry' => '{n}@bellsouthtips.com', 'Bell South Mobility' => '{n}@blsdcs.net', 'Bell South SMS' => '{n}@sms.bellsouth.com', 'Bell South Wireless' => '{n}@wireless.bellsouth.com', 'Bluegrass Cellular' => '{n}@sms.bluecell.com', 'Boost Mobile' => '{n}@myboostmobile.com', 'Boost' => '{n}@myboostmobile.com', 'CallPlus' => '{n}@mmode.com', 'Carolina Mobile Communications' => '{n}@cmcpaging.com', 'Cellular One' => '{n}@message.cellone-sf.com', 'Cellular One East Coast' => '{n}@phone.cellone.net', 'Cellular One Mobile' => '{n}@mobile.celloneusa.com', 'Cellular One PCS' => '{n}@paging.cellone-sf.com', 'Cellular One SBC' => '{n}@sbcemail.com', 'Cellular One South West' => '{n}@swmsg.com', 'Cellular One West' => '{n}@mycellone.com', 'Cellular South' => '{n}@csouth1.com', 'Central Vermont Communications' => '{n}@cvcpaging.com', 'CenturyTel' => '{n}@messaging.centurytel.net', 'Cingular (GSM)' => '{n}@cingularme.com', 'Cingular (TDMA)' => '{n}@mmode.com', 'Cingular Wireless' => '{n}@mobile.mycingular.net', 'Cingular' => '{n}@cingularme.com', 'Communication Specialists' => '{n}@pageme.comspeco.net', 'Cook Paging' => '{n}@cookmail.com', 'Corr Wireless Communications' => '{n}@corrwireless.net', 'Cricket' => '{n}@sms.mycricket.com', 'Dobson Communications Corporation' => '{n}@mobile.dobson.net', 'Dobson-Alex Wireless / Dobson-Cellular One' => '{n}@mobile.cellularone.com', 'Edge Wireless' => '{n}@sms.edgewireless.com', 'Galaxy Corporation' => '{n}@sendabeep.net', 'GCS Paging' => '{n}@webpager.us', 'Globalstart' => '{n}@msg.globalstarusa.com', 'GTE' => '{n}@gte.pagegate.net', 'GTE' => '{n}@messagealert.com', 'GrayLink / Porta-Phone' => '{n}@epage.porta-phone.com', 'Houston Cellular' => '{n}@text.houstoncellular.net', 'Illinois Valley Cellular' => '{n}@ivctext.com', 'Inland Cellular Telephone' => '{n}@inlandlink.com', 'Iridium' => '{n}@msg.iridium.com', 'JSM Tele-Page' => '{n}@jsmtel.com', 'Lauttamus Communication' => '{n}@e-page.net', 'MCI Phone' => '{n}@mci.com', 'MCI' => '{n}@pagemci.com', 'Metro PCS' => '{n}@mymetropcs.com', 'Metrocall' => '{n}@page.metrocall.com', 'Metrocall 2-way' => '{n}@my2way.com', 'Midwest Wireless' => '{n}@clearlydigital.com', 'Mobilecom PA' => '{n}@page.mobilcom.net', 'Mobilfone' => '{n}@page.mobilfone.com', 'MobiPCS' => '{n}@mobipcs.net', 'Morris Wireless' => '{n}@beepone.net', 'Nextel' => '{n}@messaging.nextel.com', 'NPI Wireless' => '{n}@npiwireless.com', 'Ntelos' => '{n}@pcs.ntelos.com', 'O2' => '{n}@mobile.celloneusa.com', 'Omnipoint' => '{n}@omnipoint.com', 'Omnipoint' => '{n}@omnipointpcs.com', 'OnlineBeep' => '{n}@onlinebeep.net', 'Orange' => '{n}@mobile.celloneusa.com', 'PCS One' => '{n}@pcsone.net', 'Pacific Bell' => '{n}@pacbellpcs.net', 'PageMart' => '{n}@pagemart.net', 'PageOne NorthWest' => '{n}@page1nw.com', 'Pioneer / Enid Cellular' => '{n}@msg.pioneerenidcellular.com', 'Price Communications' => '{n}@mobilecell1se.com', 'ProPage' => '{n}@page.propage.net', 'Public Service Cellular' => '{n}@sms.pscel.com', 'Qualcomm' => '*****@*****.**', 'Qwest' => '{n}@qwestmp.com', 'RAM Page' => '{n}@ram-page.com', 'Rogers Wireless' => '{n}@pcs.rogers.com', 'Safaricom' => '{n}@safaricomsms.com', 'Satelindo GSM' => '{n}@satelindogsm.com', 'Satellink' => '{n}.pageme@satellink.net', 'Simple Freedom' => '{n}@text.simplefreedom.net', 'Skytel Pagers' => '{n}@email.skytel.com', 'Skytel Pagers' => '{n}@skytel.com', 'Smart Telecom' => '{n}@mysmart.mymobile.ph', 'Southern LINC' => '{n}@page.southernlinc.com', 'Southwestern Bell' => '{n}@email.swbw.com', 'Sprint PCS' => '{n}@messaging.sprintpcs.com', 'ST Paging' => '*****@*****.**', 'SunCom' => '{n}@tms.suncom.com', 'Surewest Communications' => '{n}@mobile.surewest.com', 'T-Mobile' => '{n}@tmomail.net', 'Teleflip' => '{n}@teleflip.com', 'Teletouch' => '{n}@pageme.teletouch.com', 'Telus' => '{n}@msg.telus.com', 'The Indiana Paging Co' => '{n}@pager.tdspager.com', 'Tracfone' => '{n}@mmst5.tracfone.com', 'Triton' => '{n}@tms.suncom.com', 'TIM' => '{n}@timnet.com', 'TSR Wireless' => '{n}@alphame.com', 'TSR Wireless' => '{n}@beep.com', 'US Cellular' => '{n}@email.uscc.net', 'USA Mobility' => '{n}@mobilecomm.net', 'Unicel' => '{n}@utext.com', 'Verizon' => '{n}@vtext.com', 'Verizon PCS' => '{n}@myvzw.com', 'Verizon Pagers' => '{n}@myairmail.com', 'Virgin Mobile' => '{n}@vmobl.com', 'WebLink Wireless' => '{n}@pagemart.net', 'West Central Wireless' => '{n}@sms.wcc.net', 'Western Wireless' => '{n}@cellularonewest.com', 'Wyndtell' => '{n}@wyndtell.com'), 'AR' => array('CTI' => '{n}@sms.ctimovil.com.ar', 'Movicom' => '{n}@sms.movistar.net.ar', 'Nextel' => 'TwoWay.11{n}@nextel.net.ar', 'Personal' => '{n}@alertas.personal.com.ar'), 'AW' => array('Setar Mobile' => '297+{n}@mas.aw'), 'AU' => array('Blue Sky Frog' => '{n}@blueskyfrog.com', 'Optus Mobile' => '0{n}@optusmobile.com.au', 'SL Interactive' => '{n}@slinteractive.com.au'), 'AT' => array('MaxMobil' => '{n}x@max.mail.at', 'One Connect' => '{n}@onemail.at', 'Provider' => 'E-mail to SMS address format', 'T-Mobile' => '43676{n}@sms.t-mobile.at'), 'BE' => array('Mobistar' => '{n}@mobistar.be'), 'BM' => array('Mobility' => '{n}@ml.bm'), 'BR' => array('Claro' => '{n}@clarotorpedo.com.br', 'Nextel' => '{n}@nextel.com.br'), 'BG' => array('Globul' => '{n}@sms.globul.bg', 'Mtel' => '{n}@sms.mtel.net'), 'CA' => array('Aliant' => '{n}@wirefree.informe.ca', 'Bell Mobility' => '{n}@txt.bellmobility.ca', 'Fido' => '{n}@fido.ca', 'Koodo Mobile' => '{n}@msg.koodomobile.com', 'Microcell' => '{n}@fido.ca', 'MTS Mobility' => '{n}@text.mtsmobility.com', 'NBTel' => '{n}@wirefree.informe.ca', 'PageMart' => '{n}@pmcl.net', 'PageNet' => '{n}@pagegate.pagenet.ca', 'Presidents Choice' => '{n}@mobiletxt.ca', 'Rogers Wireless' => '{n}@pcs.rogers.com', 'Sasktel Mobility' => '{n}@pcs.sasktelmobility.com', 'Telus' => '{n}@msg.telus.com', 'Virgin Mobile' => '{n}@vmobile.ca'), 'CL' => array('Bell South' => '{n}@bellsouth.cl'), 'CO' => array('Comcel' => '{n}@comcel.com.co', 'Moviastar' => '{n}@movistar.com.co'), 'CZ' => array('Eurotel' => '*****@*****.**', 'Oskar' => '{n}@mujoskar.cz'), 'DK' => array('Sonofon' => '{n}@note.sonofon.dk', 'Tele Danmark Mobil' => '{n}@sms.tdk.dk', 'Telia Denmark' => '{n}@gsm1800.telia.dk'), 'EE' => array('EMT' => '{n}@sms.emt.ee'), 'FR' => array('SFR' => '{n}@sfr.fr'), 'DE' => array('E-Plus' => '0{n}.sms@eplus.de', 'Mannesmann Mobilefunk' => '0{n}@d2-message.de', 'O2' => '0{n}@o2online.de', 'T-Mobile' => '0{n}@t-d1-sms.de', 'Vodafone' => '0{n}@vodafone-sms.de'), 'HU' => array('PGSM' => '3620{n}@sms.pgsm.hu'), 'IS' => array('OgVodafone' => '{n}@sms.is', 'Siminn' => '{n}@box.is'), 'IN' => array('Andhra Pradesh AirTel' => '91{n}@airtelap.com', 'Andhra Pradesh Idea Cellular' => '9848{n}@ideacellular.net', 'BPL mobile' => '{n}@bplmobile.com', 'Chennai Skycell / Airtel' => '919840{n}@airtelchennai.com', 'Chennai RPG Cellular' => '9841{n}@rpgmail.net', 'Delhi Airtel' => '919810{n}@airtelmail.com', 'Delhi Hutch' => '9811{n}@delhi.hutch.co.in', 'Gujarat Idea Cellular' => '9824{n}@ideacellular.net', 'Gujarat Airtel' => '919898{n}@airtelmail.com', 'Gujarat Celforce / Fascel' => '9825{n}@celforce.com', 'Goa Airtel' => '919890{n}@airtelmail.com', 'Goa BPL Mobile' => '9823{n}@bplmobile.com', 'Goa Idea Cellular' => '9822{n}@ideacellular.net', 'Haryana Airtel' => '919896{n}@airtelmail.com', 'Haryana Escotel' => '9812{n}@escotelmobile.com', 'Himachal Pradesh Airtel' => '919816{n}@airtelmail.com', 'Idea Cellular' => '{n}@ideacellular.net', 'Karnataka Airtel' => '919845{n}@airtelkk.com', 'Kerala Airtel' => '919895{n}@airtelkerala.com', 'Kerala Escotel' => '9847{n}@escotelmobile.com', 'Kerala BPL Mobile' => '9846{n}@bplmobile.com', 'Kolkata Airtel' => '919831{n}@airtelkol.com', 'Madhya Pradesh Airtel' => '919893{n}@airtelmail.com', 'Maharashtra Airtel' => '919890{n}@airtelmail.com', 'Maharashtra BPL Mobile' => '9823{n}@bplmobile.com', 'Maharashtra Idea Cellular' => '9822{n}@ideacellular.net', 'Mumbai Airtel' => '919892{n}@airtelmail.com', 'Mumbai BPL Mobile' => '9821{n}@bplmobile.com', 'Orange' => '{n}@orangemail.co.in', 'Punjab Airtel' => '919815{n}@airtelmail.com', 'Pondicherry BPL Mobile' => '9843{n}@bplmobile.com', 'Tamil Nadu Airtel' => '919894{n}@airtelmail.com', 'Tamil Nadu BPL Mobile' => '919843{n}@bplmobile.com', 'Tamil Nadu Aircel' => '9842{n}@airsms.com', 'Uttar Pradesh West Escotel' => '9837{n}@escotelmobile.com'), 'IE' => array('Meteor' => '{n}@sms.mymeteor.ie', 'Meteor MMS' => '{n}@mms.mymeteor.ie'), 'IT' => array('Telecom Italia Mobile' => '33{n}@posta.tim.it', 'Vodafone' => '{n}@sms.vodafone.it', 'Vodafone Omnitel' => '34{n}@vizzavi.it'), 'JP' => array('AU by KDDI' => '{n}@ezweb.ne.jp', 'NTT DoCoMo' => '{n}@docomo.ne.jp', 'Vodafone Chuugoku/Western' => '{n}@n.vodafone.ne.jp', 'Vodafone Hokkaido' => '{n}@d.vodafone.ne.jp', 'Vodafone Hokuriko/Central North' => '{n}@r.vodafone.ne.jp', 'Vodafone Kansai/West, including Osaka' => '{n}@k.vodafone.ne.jp', 'Vodafone Kanto/Koushin/East, including Tokyo' => '{n}@t.vodafone.ne.jp', 'Vodafone Kyuushu/Okinawa' => '{n}@q.vodafone.ne.jp', 'Vodafone Shikoku' => '{n}@s.vodafone.ne.jp', 'Vodafone Touhoku/Niigata/North' => '{n}@h.vodafone.ne.jp', 'Vodafone Toukai/Central' => '{n}@c.vodafone.ne.jp', 'Willcom' => '{n}@pdx.ne.jp', 'Willcom di' => '{n}@di.pdx.ne.jp', 'Willcom dj' => '{n}@dj.pdx.ne.jp', 'Willcom dk' => '{n}@dk.pdx.ne.jp'), 'LV' => array('Kyivstar' => '{n}@smsmail.lmt.lv', 'LMT' => '9{n}@smsmail.lmt.lv', 'Tele2' => '{n}@sms.tele2.lv'), 'LB' => array('Cellis / LibanCell' => '9613{n}@ens.jinny.com.lb'), 'LU' => array('P&T Luxembourg' => '{n}@sms.luxgsm.lu'), 'MY' => array('Celcom' => '019{n}@sms.celcom.com.my'), 'MU' => array('Emtel' => '{n}@emtelworld.net'), 'MX' => array('Iusacell' => '{n}@rek2.com.mx'), 'NI' => array('Claro' => '{n}@ideasclaro-ca.com'), 'NP' => array('Mero Mobile' => '{n}@sms.spicenepal.com'), 'NL' => array('Dutchtone / Orange-NL' => '{n}@sms.orange.nl', 'T-Mobile' => '31{n}@gin.nl'), 'NO' => array('Netcom' => '{n}@sms.netcom.no', 'Telenor' => '{n}@mobilpost.no'), 'PA' => array('Cable and Wireless' => '{n}@cwmovil.com'), 'PL' => array('Orange Polska' => '{n}@orange.pl', 'Plus GSM' => '+4860{n}@text.plusgsm.pl'), 'PT' => array('Telcel' => '91{n}@sms.telecel.pt', 'Optimus' => '93{n}@sms.optimus.pt', 'TMN' => '96{n}@mail.tmn.pt'), 'RU' => array('BeeLine GSM' => '{n}@sms.beemail.ru', 'MTS' => '7{n}x@sms.mts.ru', 'Personal Communication' => 'sms@pcom.ru (number in subject line)', 'Primtel' => '{n}@sms.primtel.ru', 'SCS-900' => '{n}@scs-900.ru', 'Uraltel' => '{n}@sms.uraltel.ru', 'Vessotel' => '{n}@pager.irkutsk.ru', 'YCC' => '{n}@sms.ycc.ru'), 'CS' => array('Mobtel Srbija' => '{n}@mobtel.co.yu'), 'SG' => array('M1' => '{n}@m1.com.sg'), 'SI' => array('Mobitel' => '{n}@linux.mobitel.si', 'Si Mobil' => '{n}@simobil.net'), 'ZA' => array('MTN' => '{n}@sms.co.za', 'Vodacom' => '{n}@voda.co.za'), 'ES' => array('Telefonica Movistar' => '{n}@movistar.net', 'Vodafone' => '{n}@vodafone.es'), 'LK' => array('Mobitel' => '{n}@sms.mobitel.lk'), 'SE' => array('Comviq GSM' => '467{n}@sms.comviq.se', 'Europolitan' => '4670{n}@europolitan.se', 'Tele2' => '0{n}@sms.tele2.se'), 'CH' => array('Sunrise Mobile' => '{n}@freesurf.ch', 'Sunrise Mobile' => '{n}@mysunrise.ch', 'Swisscom' => '{n}@bluewin.ch'), 'TZ' => array('Mobitel' => '{n}@sms.co.tz'), 'UA' => array('Golden Telecom' => '{n}@sms.goldentele.com', 'Kyivstar' => '{n}x@2sms.kyivstar.net', 'UMC' => '{n}@sms.umc.com.ua'), 'GB' => array('BigRedGiant Mobile' => '{n}@tachyonsms.co.uk', 'O2' => '44{n}@mobile.celloneusa.com', 'O2 (M-mail)' => '44{n}@mmail.co.uk', 'Orange' => '0{n}@orange.net', 'T-Mobile' => '0{n}@t-mobile.uk.net', 'Virgin Mobile' => '0{n}@vmobl.com', 'Vodafone' => '0{n}@vodafone.net'));
$timezoneTable = array("-1200" => "(GMT -12:00) Eniwetok, Kwajalein", "-1100" => "(GMT -11:00) Midway Island, Samoa", "-1000" => "(GMT -10:00) Hawaii", "-0900" => "(GMT -9:00) Alaska", "-0800" => "(GMT -8:00) Pacific Time (US & Canada)", "-0700" => "(GMT -7:00) Mountain Time (US & Canada)", "-0600" => "(GMT -6:00) Central Time (US & Canada), Mexico City", "-0500" => "(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima", "-0400" => "(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz", "-0330" => "(GMT -3:30) Newfoundland", "-0300" => "(GMT -3:00) Brazil, Buenos Aires, Georgetown", "-0200" => "(GMT -2:00) Mid-Atlantic", "-0100" => "(GMT -1:00 hour) Azores, Cape Verde Islands", "+0000" => "(GMT) Western Europe Time, London, Lisbon, Casablanca", "+0100" => "(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris", "+0200" => "(GMT +2:00) Kaliningrad, South Africa", "+0300" => "(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg", "+0330" => "(GMT +3:30) Tehran", "+0400" => "(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi", "+0430" => "(GMT +4:30) Kabul", "+0500" => "(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent", "+0530" => "(GMT +5:30) Bombay, Calcutta, Madras, New Delhi", "+0600" => "(GMT +6:00) Almaty, Dhaka, Colombo", "+0700" => "(GMT +7:00) Bangkok, Hanoi, Jakarta", "+0800" => "(GMT +8:00) Beijing, Perth, Singapore, Hong Kong", "+0900" => "(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk", "+0930" => "(GMT +9:30) Adelaide, Darwin", "+1000" => "(GMT +10:00) Eastern Australia, Guam, Vladivostok", "+1100" => "(GMT +11:00) Magadan, Solomon Islands, New Caledonia", "+1200" => "(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka");
defineOnce('DEFAULT_TIMEZONE', 'UTC');
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__));
date_default_timezone_set(DEFAULT_TIMEZONE);
defineOnce('GITHUB_API_URL', 'https://api.github.com/');
defineOnce('GITHUB_ORGANIZATION', 'dev-worklist-org');
defineOnce('GITHUB_OAUTH2_CLIENT_ID', '495b642ee85e89184f2a');
defineOnce('GITHUB_OAUTH2_CLIENT_SECRET', 'acb111f00815cdff51aa6f4ac8a41bafcafa9d67');
defineOnce('GITHUB_AUTHORIZE_URL', 'https://github.com/login/oauth/authorize');
defineOnce('GITHUB_TOKEN_URL', 'https://github.com/login/oauth/access_token');
defineOnce('MODELS_DIR', dirname(__FILE__) . '/models');
defineOnce('VIEWS_DIR', dirname(__FILE__) . '/views');
defineOnce('CONTROLLERS_DIR', dirname(__FILE__) . '/controllers');
defineOnce('MUSTACHE_DIR', VIEWS_DIR . '/mustache');
defineOnce('TEMP_DIR', dirname(__FILE__) . '/tmp');
defineOnce('CACHE_DIR', TEMP_DIR . '/cache');
defineOnce('DEFAULT_CONTROLLER_NAME', 'Home');
defineOnce('DEFAULT_CONTROLLER_METHOD', 'run');
defineOnce('PAYPAL_ENVIRONMENT', 'sandbox');
// 'sandbox' or 'beta-sandbox' or 'live'
// hifi,stack-manager,hifi-docs,hifi-website,worklist,data,base8,baseios,DSDNS,love
defineOnce('PROJECT_LISTING_PRIORITY', '181,231,230,215,99,229,211,217,218,80');
require_once 'vendor/autoload.php';
require_once 'lib/Core.php';
コード例 #2
0
ファイル: config.php プロジェクト: Triplelexx/hifi-web
{
    if (!defined($key)) {
        define($key, $value);
    }
}
defineOnce('WORKLIST_URL', 'https://dev.worklist.net/worklist/');
defineOnce('CONTACT_EMAIL_ADDRESS', '*****@*****.**');
defineOnce('MC_ACCOUNT_ID', '6fed7d4aeb9076c82690f8f02');
defineOnce('MC_LIST_ID', '340beb1967');
defineOnce('SUBSCRIBE_URL', sprintf("https://highfidelity.us2.list-manage.com/subscribe/post?u=%s&id=%s", MC_ACCOUNT_ID, MC_LIST_ID));
defineOnce('JOBLIST_FEEDS_URL', WORKLIST_URL . 'feeds');
defineOnce('JOBLIST_PROJECTS', 'JoTester,korderotest1');
defineOnce('JOBLIST_MAX_LIMIT', 5);
defineOnce('VIEWS_DIR', dirname(__FILE__) . '/views/');
defineOnce('GITHUB_API_TOKEN', '');
defineOnce('GITHUB_REPO', 'highfidelity/hifi');
defineOnce('GITHUB_CUSTOM_STOPWORDS', 'pull,push,request,merge,fork,repo,master,build,github');
defineOnce('TEMP_DIR', dirname(__FILE__) . '/tmp');
defineOnce('MC_ALPHA_SUBSCRIBE_API_KEY', 'c8b29f2f7e16cd5292a1b04b4310216f-us2');
defineOnce('MC_ALPHA_SUBSCRIBE_LIST_ID', '56eb53e74a');
defineOnce('VIMEO_NICKNAME', 'highfidelityinc');
// screenshots settings
define('SCREENSHOTS_COUNT', 30);
define('DISCOURSE_API_PADDING', 15);
define('SCREENSHOTS_URL', 'https://alphas.highfidelity.io/t/random-picture-thread/244/%u.json?api_key=%s&api_username=%s');
define('DISCOURSE_URL', 'https://alphas.highfidelity.io/');
define('SCREENSHOT_FILE_PATH', dirname(__FILE__) . "/media/slideshow.json");
defineOnce('DISCOURSE_API_KEY', 'api_key');
defineOnce('DISCOURSE_API_USERNAME', 'api_username');
require_once 'vendor/autoload.php';
require_once 'functions.php';