Project / Support Center
Welcome, Guest. Please login or register. September 19, 2019, 10:39: PM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Recent Posts
Pages: [1] 2 3 4 5 6 ... 10

 1 
 on: August 29, 2019, 07:15: PM 
Started by admin - Last post by admin
use this as the class for a DIV wrap of the section or element you do not what to show when printing.

<div align="center" class="d-print-none">  Content or Element </div>

class="d-print-none" is built into Bootstrap 4 so no need to add it to your print.css file if you have one  class="d-print-none" will stop something from printing.

Example:This will stop a button from showing when printing.

<div class="d-print-none"><div style="text-align: center; "><a href="new_listing.php?ag=<?php echo $_GET['ag']; ?>"  class="SBAbuttongreen3 noprint">Click here[/url]</div></div>


To hide on screen and show on print

<div class="d-none d-print-block"> </div>




<div class="d-print-none">Screen Only (Hide on print only)</div>
<div class="d-none d-print-block">Print Only (Hide on screen only)</div>
<div class="d-none d-lg-block d-print-block">Hide up to large on screen, but always show on print</div>

 2 
 on: July 18, 2019, 02:02: PM 
Started by admin - Last post by admin
This is not a definitive guide but it worked for us, google developer area is very confusing at times and seems to be geared towards high developers only/mostly.

Steps needed to get an API key for your website.

https://cloud.google.com/maps-platform/#get-started

Create Google account (email account is fine)

Enter developer area for Maps:
https://cloud.google.com/maps-platform/

You'll need to add a billing Credit Card but since most small sites will not reach the 100,000 loading level and the fact that Googles gives you a $200 credit each months - effectively means no cost to you.Google also will not charge you with out notifying you first.

Create a project for your account and then

In order to get the API key for mapping you'll need to add and verify the domains you want to place maps on. Not sure how many you can add , at least 20 though. you verify by adding an HTML page they generate for you to the top level of your server for each domain you want maps on.

https://developers.google.com/maps/documentation/javascript/get-api-key

Once you have verified your domains you can then generate an API key to use.

We chose the Javascripting API method.

To add to your page add this script to your head area

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBdFXzsyyUuwVl1eNvaOpjEd5IG3fzE&libraries=geometry">
</script>

Replace the Bold Red section with your Google API code

<iframe width="95%" height="400" frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/search?q=<?php echo $row_rsaddisplay['ad_address11']; ?>,<?php echo $row_rsaddisplay['ad_city2']; ?>,<?php echo $row_rsaddisplay['state_name']; ?>,<?php echo $row_rsaddisplay['ad_zip2']; ?>&key=AIzaSyBdFXzsyyUuwVl1eNvaOpjEd5IG3fzE" allowfullscreen></iframe>

Code in Blue (Address) in our case generates the search address for the map dynamically - the Red Code is your Google API key
The orange settings you can change to what ever you want too.

Thats basically it for have a google map on your site - simple.

You can change the Blue code to a static address if you want also.

 3 
 on: June 19, 2019, 06:46: PM 
Started by admin - Last post by admin
This will enter what you want the trick is to use the display:block - images can then use this.

the width can be removed if you want too.

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

 4 
 on: April 17, 2019, 04:42: PM 
Started by admin - Last post by admin
first make sure to upload the ckeditor and ckfinder to the same directory the form page is

next add this to the header area:

<script type="text/javascript" src="ckeditor/ckeditor.js">
<script type="text/javascript">
   //<![CDATA[

// Uncomment the following code to test the "Timeout Loading Method".
// CKEDITOR.loadFullCoreTimeout = 5;

window.onload = function()
{
   // Listen to the double click event.
   if ( window.addEventListener )
      document.body.addEventListener( 'dblclick', onDoubleClick, false );
   else if ( window.attachEvent )
      document.body.attachEvent( 'ondblclick', onDoubleClick );

};

function onDoubleClick( ev )
{
   // Get the element which fired the event. This is not necessarily the
   // element to which the event has been attached.
   var element = ev.target || ev.srcElement;

   // Find out the div that holds this element.
   var name;
   do
   {
      element = element.parentNode;
   }
   while ( element && ( name = element.nodeName.toLowerCase() ) && ( name != 'div' || element.className.indexOf( 'editable' ) == -1 ) && name != 'body' )


   if ( name == 'div' && element.className.indexOf( 'editable' ) != -1 )
      replaceDiv( element );
}

var editor;

function replaceDiv( div )
{
   if ( editor )
      editor.destroy();

   editor = CKEDITOR.replace( div );
}

   //]]>
   </script>


Next add this just after the textarea (must be a textarea field)

Change Bold to your field name

You might have to play around with the Green Bold if you have plugins or need custom tool bar

 <script type="text/javascript">
   CKEDITOR.replace( 'marketing_email_message',
   {
toolbar : 'ad',
extraPlugins : 'tableresize',
extraPlugins : 'stylesheetparser'
});
                                                      </script>
                                                                <script type="text/javascript">
   CKEDITOR.config.filebrowserBrowseUrl = 'ckfinder/ckfinder.html';
   CKEDITOR.config.filebrowserImageBrowseUrl = 'ckfinder/ckfinder.html?type=Images';
   CKEDITOR.config.filebrowserUploadUrl = 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files';
   CKEDITOR.config.filebrowserImageUploadUrl = 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images';
CKEDITOR.config.colorButton_enableMore=true;
CKEDITOR.config.width ='98%';
CKEDITOR.config.height='450px';
/*CKEDITOR.config.skin = 'office2003';*/
/*CKEDITOR.config.skin = 'v2';*/
CKEDITOR.config.skin = 'kama';
                                                      </script>
 

 5 
 on: April 15, 2019, 03:56: PM 
Started by admin - Last post by admin
DELETE t1 FROM table_name t1
INNER JOIN
table_name (same as t1) t2
WHERE
t1.column_id < t2.column_id AND t1.column_name = t2.column_name;

leave the t1 & t2 in - what you're doing is creating temp tables and deleting the duplicates from the t2  

 6 
 on: April 08, 2019, 04:01: PM 
Started by admin - Last post by admin
-- copy everything from CREATE TABLE downward and use the sql feature with Mysql to create and insert all records listed below into the table.


-- Table structure for table `TimeZone`
--

CREATE TABLE `TimeZone` (
  `timezone_id` int(11) NOT NULL,
  `timezone_GMT_Diff` varchar(11) NOT NULL,
  `timezone_Zone` text NOT NULL,
  `timezone_Area` text NOT NULL,
  `timezone_default_name` text NOT NULL,
  `timezone_flag` text,
  `timezone_note` text
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `TimeZone`
--

INSERT INTO `TimeZone` (`timezone_id`, `timezone_GMT_Diff`, `timezone_Zone`, `timezone_Area`, `timezone_default_name`, `timezone_flag`, `timezone_note`) VALUES
(1, '-11:00', 'Pacific', 'Midway Island ', 'Pacific/Midway', NULL, NULL),
(2, '-11:00', 'Pacific', 'Samoa ', 'Pacific/Samoa', NULL, NULL),
(3, '-10:00', 'Pacific', 'Hawaii ', 'Pacific/Honolulu', NULL, NULL),
(4, '-9:00', 'US', 'Alaska ', 'US/Alaska', NULL, NULL),
(5, '-8:00', 'US', 'Pacific Time  ', 'America/Los_Angeles', NULL, NULL),
(6, '8:00', 'America', 'Tijuana', 'America/Tijuana', NULL, NULL),
(7, '-7:00', 'US', 'Arizona', 'US/Arizona', NULL, NULL),
(8, '-7:00', 'America', 'Chihuahua', 'America/Chihuahua', NULL, NULL),
(9, '-7:00', 'America', 'La Paz ', 'America/Chihuahua', NULL, NULL),
(10, '-7:00', 'America', 'Mazatlan', 'America/Mazatlan', NULL, NULL),
(11, '-7:00', 'US & Canada', 'Mountain Time ', 'US/Mountain', NULL, NULL),
(12, '-6:00', 'America', 'Central America', 'America/Managua', NULL, NULL),
(13, '-6:00', 'US & Canada', 'Central Time  ', 'US/Central', NULL, NULL),
(14, '-6:00', 'America', 'Guadalajara', 'America/Mexico_City', NULL, NULL),
(15, '-6:00', 'Amewrica', 'Mexico City ', 'America/Mexico_City', NULL, NULL),
(16, '-6:00', 'America', 'Monterrey', 'America/Monterrey', NULL, NULL),
(17, '-6:00', 'Canada', 'Saskatchewan', 'Canada/Saskatchewan', NULL, NULL),
(18, '-5:00', 'America', 'Bogota ', 'America/Bogota', NULL, NULL),
(19, '-5:00', 'US & Canada', 'Eastern Time ', 'US/Eastern', NULL, NULL),
(20, '-5:00', 'US', 'Indiana (East)', 'US/East-Indiana', NULL, NULL),
(21, '-5:00', 'America', 'Lima ', 'America/Lima', NULL, NULL),
(22, '-5:00', 'America', 'Quito ', 'America/Bogota', NULL, NULL),
(23, '-4:30', 'America', 'Caracas ', 'America/Caracas', NULL, NULL),
(24, '-4:00', 'Canada', 'Atlantic Time (Canada) ', 'Canada/Atlantic', NULL, NULL),
(25, '-4:00', 'America', 'La Paz ', 'America/La_Paz', NULL, NULL),
(26, '-4:00', 'America', 'Santiago', 'America/Santiago', NULL, NULL),
(27, '-3:30', 'Canada', 'Newfoundland', 'Canada/Newfoundland', NULL, NULL),
(28, '-3:00', 'America', 'Brasilia', 'America/Sao_Paulo', NULL, NULL),
(29, '-3:00', 'America', 'Buenos Aires ', 'America/Argentina/Buenos_Aires', NULL, NULL),
(30, '-3:00', 'America', 'Georgetown ', 'America/Argentina/Buenos_Aires', NULL, NULL),
(31, '-3:00', 'America', 'Greenland', 'America/Godthab', NULL, NULL),
(32, '-2:00', 'America', 'Mid-Atlantic', 'America/Noronha', NULL, NULL),
(33, '-1:00', 'Atlantic', 'Azores ', 'Atlantic/Azores', NULL, NULL),
(34, '-1:00', 'Atlantic', 'Cape Verde Is.', 'Atlantic/Cape_Verde', NULL, NULL),
(35, '0:00', 'Africa', 'Casablanca ', 'Africa/Casablanca', NULL, NULL),
(36, '0:00', 'Europe', 'Edinburgh', 'Europe/London', NULL, NULL),
(37, '0:00', 'GMT', 'Greenwich Mean Time : Dublin ', 'Etc/Greenwich', NULL, NULL),
(38, '0:00', 'Europe', 'Lisbon ', 'Europe/Lisbon', NULL, NULL),
(39, '0:00', 'Europe', 'London', 'Europe/London', NULL, NULL),
(40, '0:00', 'Africa', 'Monrovia ', 'Africa/Monrovia', NULL, NULL),
(41, '0:00', 'UTC', 'UTC ', 'UTC', NULL, NULL),
(42, '+1:00', 'Europe', 'Amsterdam ', 'Europe/Amsterdam', NULL, NULL),
(43, '+1:00', 'Europe', 'Belgrade', 'Europe/Belgrade', NULL, NULL),
(44, '+1:00', 'Europe', 'Berlin ', 'Europe/Berlin', NULL, NULL),
(45, '+1:00', 'Europe', 'Bern ', 'Europe/Berlin', NULL, NULL),
(46, '+1:00', 'Europe', 'Bratislava ', 'Europe/Bratislava', NULL, NULL),
(47, '+1:00', 'Europe', 'Brussels ', 'Europe/Brussels', NULL, NULL),
(48, '+1:00', 'Europe', 'Budapest ', 'Europe/Budapest', NULL, NULL),
(49, '+1:00', 'Europe', 'Copenhagen', 'Europe/Copenhagen', NULL, NULL),
(50, '+1:00', 'Europe', 'Ljubljana ', 'Europe/Ljubljana', NULL, NULL),
(51, '+1:00', 'Europe', 'Madrid ', 'Europe/Madrid', NULL, NULL),
(52, '+1:00', 'Europe', 'Paris ', 'Europe/Paris', NULL, NULL),
(53, '+1:00', 'Europe', 'Prague ', 'Europe/Prague', NULL, NULL),
(54, '+1:00', 'Europe', 'Rome ', 'Europe/Rome', NULL, NULL),
(55, '+1:00', 'Europe', 'Sarajevo', 'Europe/Sarajevo', NULL, NULL),
(56, '+1:00', 'Europe', 'Skopje ', 'Europe/Skopje', NULL, NULL),
(57, '+1:00', 'Europe', 'Stockholm ', 'Europe/Stockholm', NULL, NULL),
(58, '+1:00', 'Europe', 'Vienna ', 'Europe/Vienna', NULL, NULL),
(59, '+1:00', 'Europe', 'Warsaw ', 'Europe/Warsaw', NULL, NULL),
(60, '+1:00', 'Europe', 'West Central Africa ', 'Africa/Lagos', NULL, NULL),
(61, '+1:00', 'Europe', 'Zagreb', 'Europe/Zagreb', NULL, NULL),
(62, '+2:00', 'Europe', 'Athens', 'Europe/Athens', NULL, NULL),
(63, '+2:00', 'Europe', 'Bucharest', 'Europe/Bucharest', NULL, NULL),
(64, '+2:00', 'Africa', 'Cairo ', 'Africa/Cairo', NULL, NULL),
(65, '+2:00', 'Africa', 'Harare ', 'Africa/Harare', NULL, NULL),
(66, '+2:00', 'Europe', 'Helsinki ', 'Europe/Helsinki', NULL, NULL),
(67, '+2:00', 'Europe', 'Istanbul ', 'Europe/Istanbul', NULL, NULL),
(68, '+2:00', 'Asia', 'Jerusalem ', 'Asia/Jerusalem', NULL, NULL),
(69, '+2:00', 'Europe', 'Kyiv ', 'Europe/Helsinki', NULL, NULL),
(70, '+2:00', 'Africa', 'Pretoria ', 'Africa/Johannesburg', NULL, NULL),
(71, '+2:00', 'Europe', 'Riga ', 'Europe/Riga', NULL, NULL),
(72, '+2:00', 'Europe', 'Sofia ', 'Europe/Sofia', NULL, NULL),
(73, '+2:00', 'Europe', 'Tallinn', 'Europe/Tallinn', NULL, NULL),
(74, '+2:00', 'Europe', 'Vilnius ', 'Europe/Vilnius', NULL, NULL),
(75, '+3:00', 'Asia', 'Baghdad ', 'Asia/Baghdad', NULL, NULL),
(76, '+3:00', 'Asia', 'Kuwait', 'Asia/Kuwait', NULL, NULL),
(77, '+3:00', 'Europe', 'Minsk ', 'Europe/Minsk', NULL, NULL),
(78, '+3:00', 'Africa', 'Nairobi', 'Africa/Nairobi', NULL, NULL),
(79, '+3:00', 'Asia', 'Riyadh', 'Asia/Riyadh', NULL, NULL),
(80, '+3:00', 'Europe', 'Volgograd ', 'Europe/Volgograd', NULL, NULL),
(81, '+3:30', 'Asia', 'Tehran ', 'Asia/Tehran', NULL, NULL),
(82, '+4:00', 'Asia', 'Abu Dhabi ', 'Asia/Muscat', NULL, NULL),
(83, '+4:00', 'Asia', 'Baku ', 'Asia/Baku', NULL, NULL),
(84, '+4:00', 'Europe', 'Moscow ', 'Europe/Moscow', NULL, NULL),
(85, '+4:00', 'Asia', 'Muscat', 'Asia/Muscat', NULL, NULL),
(86, '+4:00', 'Europe', 'St. Petersburg', 'Europe/Moscow', NULL, NULL),
(87, '+4:00', 'Asia', 'Tbilisi ', 'Asia/Tbilisi', NULL, NULL),
(88, '+4:00', 'Asia', 'Yerevan ', 'Asia/Yerevan', NULL, NULL),
(89, '+4:30', 'Asia', 'Kabul ', 'Asia/Kabul', NULL, NULL),
(90, '+5:00', 'Asia', 'Islamabad', 'Asia/Karachi', NULL, NULL),
(91, '+5:00', 'Asia', 'Karachi ', 'Asia/Karachi', NULL, NULL),
(92, '+5:00', 'Asia', 'Tashkent ', 'Asia/Tashkent', NULL, NULL),
(93, '+5:30', 'Asia', 'Chennai ', 'Asia/Calcutta', NULL, NULL),
(94, '+5:30', 'Asia', 'Kolkata ', 'Asia/Kolkata', NULL, NULL),
(95, '+5:30', 'Asia', 'Mumbai ', 'Asia/Calcutta', NULL, NULL),
(96, '+5:30', 'Asia', 'New Delhi ', 'Asia/Calcutta', NULL, NULL),
(97, '+5:30', 'Asia', 'Sri Jayawardenepura ', 'Asia/Calcutta', NULL, NULL),
(98, '+5:45', 'Asia', 'Kathmandu ', 'Asia/Katmandu', NULL, NULL),
(99, '+6:00', 'Asia', 'Almaty ', 'Asia/Almaty', NULL, NULL),
(100, '+6:00', 'Asia', 'Astana', 'Asia/Dhaka', NULL, NULL),
(101, '+6:00', 'Asia', 'Dhaka ', 'Asia/Dhaka', NULL, NULL),
(102, '+6:00', 'Asia', 'Ekaterinburg ', 'Asia/Yekaterinburg', NULL, NULL),
(103, '+6:30', 'Asia', 'Rangoon ', 'Asia/Rangoon', NULL, NULL),
(104, '+7:00', 'Asia', 'Bangkok ', 'Asia/Bangkok', NULL, NULL),
(105, '+7:00', 'Asia', 'Hanoi', 'Asia/Bangkok', NULL, NULL),
(106, '+7:00', 'Asia', 'Jakarta ', 'Asia/Jakarta', NULL, NULL),
(107, '+7:00', 'Asia', 'Novosibirsk ', 'Asia/Novosibirsk', NULL, NULL),
(108, '+8:00', 'Asia', 'Beijing ', 'Asia/Hong_Kong', NULL, NULL),
(109, '+8:00', 'Asia', 'Chongqing ', 'Asia/Chongqing', NULL, NULL),
(110, '+8:00', 'Asia', 'Hong Kong ', 'Asia/Hong_Kong', NULL, NULL),
(111, '+8:00', 'Asia', 'Krasnoyarsk', 'Asia/Krasnoyarsk', NULL, NULL),
(112, '+8:00', 'Asia', 'Kuala Lumpur ', 'Asia/Kuala_Lumpur', NULL, NULL),
(113, '+8:00', 'Australia', 'Perth ', 'Australia/Perth', NULL, NULL),
(114, '+8:00', 'Asia', 'Singapore ', 'Asia/Singapore', NULL, NULL),
(115, '+8:00', 'Asia', 'Taipei ', 'Asia/Taipei', NULL, NULL),
(116, '+8:00', 'Asia', 'Ulaan Bataar ', 'Asia/Ulan_Bator', NULL, NULL),
(117, '+8:00', 'Asia', 'Urumqi', 'Asia/Urumqi', NULL, NULL),
(118, '+9:00', 'Asia', 'Irkutsk ', 'Asia/Irkutsk', NULL, NULL),
(119, '+9:00', 'Asia', ' Osaka', 'Asia/Tokyo', NULL, NULL),
(120, '+9:00', 'Asia', ' Sapporo ', 'Asia/Tokyo', NULL, NULL),
(121, '+9:00', 'Asia', 'Seoul ', 'Asia/Seoul', NULL, NULL),
(122, '+9:00', 'Asia', 'Tokyo', 'Asia/Tokyo', NULL, NULL),
(123, '+9:30', 'Australia', 'Adelaide', 'Australia/Adelaide', NULL, NULL),
(124, '+9:30', 'Australia', 'Darwin ', 'Australia/Darwin', NULL, NULL),
(125, '+10:00', 'Australia', 'Brisbane ', 'Australia/Brisbane', NULL, NULL),
(126, '+10:00', 'Australia', 'Canberra ', 'Australia/Canberra', NULL, NULL),
(127, '+10:00', 'Pacific', 'Guam ', 'Pacific/Guam', NULL, NULL),
(128, '+10:00', 'Australia', 'Hobart  ', 'Australia/Hobart', NULL, NULL),
(129, '+10:00', 'Australia', 'Melbourne ', 'Australia/Melbourne', NULL, NULL),
(130, '+10:00', 'Pacific', 'Port Moresby ', 'Pacific/Port_Moresby', NULL, NULL),
(131, '+10:00', 'Australia', 'Sydney ', 'Australia/Sydney', NULL, NULL),
(132, '+10:00', 'Asia', 'Yakutsk ', 'Asia/Yakutsk', NULL, NULL),
(133, '+11:00', 'Asia', 'Vladivostok ', 'Asia/Vladivostok', NULL, NULL),
(134, '+12:00', 'Pacific', 'Auckland ', 'Pacific/Auckland', NULL, NULL),
(135, '+12:00', 'Pacific', 'Fiji ', 'Pacific/Fiji', NULL, NULL),
(136, '+12:00', 'Pacific/IDL', 'International Date Line West ', 'Pacific/Kwajalein', NULL, NULL),
(137, '+12:00', 'Asia', 'Kamchatka ', 'Asia/Kamchatka', NULL, NULL),
(138, '+12:00', 'Asia', 'Magadan', 'Asia/Magadan', NULL, NULL),
(139, '+12:00', 'Asia', 'Marshall Is. ', 'Pacific/Fiji', NULL, NULL),
(140, '+12:00', 'Asia', 'New Caledonia ', 'Asia/Magadan', NULL, NULL),
(141, '+12:00', 'Asia', 'Solomon Is.', 'Asia/Magadan', NULL, NULL),
(142, '+12:00', 'Pacific', 'Wellington ', 'Pacific/Auckland', NULL, NULL),
(143, '+13:00', 'Pacific', 'Nuku-alofa ', 'Pacific/Tongatapu', NULL, NULL);

 7 
 on: April 05, 2019, 08:22: PM 
Started by admin - Last post by admin
This code will render

 <strong><?php echo date('l') ?>, <?php echo date('F') ?> <?php echo date('j') ?>, <?php echo date('Y') ?>  &nbsp;&nbsp; <?php


   date_default_timezone_set('US/Eastern');
   $hour=date('g');
   $min=date('i');
   $ampm=date('a');
   echo "$hour:$min $ampm";
   echo "  EST";

?>

in this format
Friday, April 5, 2019    3:13 pm EST


Here a list of an array I found of timezones

<?php
$timezones = array (
'(GMT-11:00) Midway Island' => 'Pacific/Midway',
'(GMT-11:00) Samoa' => 'Pacific/Samoa',
'(GMT-10:00) Hawaii' => 'Pacific/Honolulu',
'(GMT-09:00) Alaska' => 'US/Alaska',
'(GMT-08:00) Pacific Time (US &amp; Canada)' => 'America/Los_Angeles',
'(GMT-08:00) Tijuana' => 'America/Tijuana',
'(GMT-07:00) Arizona' => 'US/Arizona',
'(GMT-07:00) Chihuahua' => 'America/Chihuahua',
'(GMT-07:00) La Paz' => 'America/Chihuahua',
'(GMT-07:00) Mazatlan' => 'America/Mazatlan',
'(GMT-07:00) Mountain Time (US &amp; Canada)' => 'US/Mountain',
'(GMT-06:00) Central America' => 'America/Managua',
'(GMT-06:00) Central Time (US &amp; Canada)' => 'US/Central',
'(GMT-06:00) Guadalajara' => 'America/Mexico_City',
'(GMT-06:00) Mexico City' => 'America/Mexico_City',
'(GMT-06:00) Monterrey' => 'America/Monterrey',
'(GMT-06:00) Saskatchewan' => 'Canada/Saskatchewan',
'(GMT-05:00) Bogota' => 'America/Bogota',
'(GMT-05:00) Eastern Time (US &amp; Canada)' => 'US/Eastern',
'(GMT-05:00) Indiana (East)' => 'US/East-Indiana',
'(GMT-05:00) Lima' => 'America/Lima',
'(GMT-05:00) Quito' => 'America/Bogota',
'(GMT-04:00) Atlantic Time (Canada)' => 'Canada/Atlantic',
'(GMT-04:30) Caracas' => 'America/Caracas',
'(GMT-04:00) La Paz' => 'America/La_Paz',
'(GMT-04:00) Santiago' => 'America/Santiago',
'(GMT-03:30) Newfoundland' => 'Canada/Newfoundland',
'(GMT-03:00) Brasilia' => 'America/Sao_Paulo',
'(GMT-03:00) Buenos Aires' => 'America/Argentina/Buenos_Aires',
'(GMT-03:00) Georgetown' => 'America/Argentina/Buenos_Aires',
'(GMT-03:00) Greenland' => 'America/Godthab',
'(GMT-02:00) Mid-Atlantic' => 'America/Noronha',
'(GMT-01:00) Azores' => 'Atlantic/Azores',
'(GMT-01:00) Cape Verde Is.' => 'Atlantic/Cape_Verde',
'(GMT+00:00) Casablanca' => 'Africa/Casablanca',
'(GMT+00:00) Edinburgh' => 'Europe/London',
'(GMT+00:00) Greenwich Mean Time : Dublin' => 'Etc/Greenwich',
'(GMT+00:00) Lisbon' => 'Europe/Lisbon',
'(GMT+00:00) London' => 'Europe/London',
'(GMT+00:00) Monrovia' => 'Africa/Monrovia',
'(GMT+00:00) UTC' => 'UTC',
'(GMT+01:00) Amsterdam' => 'Europe/Amsterdam',
'(GMT+01:00) Belgrade' => 'Europe/Belgrade',
'(GMT+01:00) Berlin' => 'Europe/Berlin',
'(GMT+01:00) Bern' => 'Europe/Berlin',
'(GMT+01:00) Bratislava' => 'Europe/Bratislava',
'(GMT+01:00) Brussels' => 'Europe/Brussels',
'(GMT+01:00) Budapest' => 'Europe/Budapest',
'(GMT+01:00) Copenhagen' => 'Europe/Copenhagen',
'(GMT+01:00) Ljubljana' => 'Europe/Ljubljana',
'(GMT+01:00) Madrid' => 'Europe/Madrid',
'(GMT+01:00) Paris' => 'Europe/Paris',
'(GMT+01:00) Prague' => 'Europe/Prague',
'(GMT+01:00) Rome' => 'Europe/Rome',
'(GMT+01:00) Sarajevo' => 'Europe/Sarajevo',
'(GMT+01:00) Skopje' => 'Europe/Skopje',
'(GMT+01:00) Stockholm' => 'Europe/Stockholm',
'(GMT+01:00) Vienna' => 'Europe/Vienna',
'(GMT+01:00) Warsaw' => 'Europe/Warsaw',
'(GMT+01:00) West Central Africa' => 'Africa/Lagos',
'(GMT+01:00) Zagreb' => 'Europe/Zagreb',
'(GMT+02:00) Athens' => 'Europe/Athens',
'(GMT+02:00) Bucharest' => 'Europe/Bucharest',
'(GMT+02:00) Cairo' => 'Africa/Cairo',
'(GMT+02:00) Harare' => 'Africa/Harare',
'(GMT+02:00) Helsinki' => 'Europe/Helsinki',
'(GMT+02:00) Istanbul' => 'Europe/Istanbul',
'(GMT+02:00) Jerusalem' => 'Asia/Jerusalem',
'(GMT+02:00) Kyiv' => 'Europe/Helsinki',
'(GMT+02:00) Pretoria' => 'Africa/Johannesburg',
'(GMT+02:00) Riga' => 'Europe/Riga',
'(GMT+02:00) Sofia' => 'Europe/Sofia',
'(GMT+02:00) Tallinn' => 'Europe/Tallinn',
'(GMT+02:00) Vilnius' => 'Europe/Vilnius',
'(GMT+03:00) Baghdad' => 'Asia/Baghdad',
'(GMT+03:00) Kuwait' => 'Asia/Kuwait',
'(GMT+03:00) Minsk' => 'Europe/Minsk',
'(GMT+03:00) Nairobi' => 'Africa/Nairobi',
'(GMT+03:00) Riyadh' => 'Asia/Riyadh',
'(GMT+03:00) Volgograd' => 'Europe/Volgograd',
'(GMT+03:30) Tehran' => 'Asia/Tehran',
'(GMT+04:00) Abu Dhabi' => 'Asia/Muscat',
'(GMT+04:00) Baku' => 'Asia/Baku',
'(GMT+04:00) Moscow' => 'Europe/Moscow',
'(GMT+04:00) Muscat' => 'Asia/Muscat',
'(GMT+04:00) St. Petersburg' => 'Europe/Moscow',
'(GMT+04:00) Tbilisi' => 'Asia/Tbilisi',
'(GMT+04:00) Yerevan' => 'Asia/Yerevan',
'(GMT+04:30) Kabul' => 'Asia/Kabul',
'(GMT+05:00) Islamabad' => 'Asia/Karachi',
'(GMT+05:00) Karachi' => 'Asia/Karachi',
'(GMT+05:00) Tashkent' => 'Asia/Tashkent',
'(GMT+05:30) Chennai' => 'Asia/Calcutta',
'(GMT+05:30) Kolkata' => 'Asia/Kolkata',
'(GMT+05:30) Mumbai' => 'Asia/Calcutta',
'(GMT+05:30) New Delhi' => 'Asia/Calcutta',
'(GMT+05:30) Sri Jayawardenepura' => 'Asia/Calcutta',
'(GMT+05:45) Kathmandu' => 'Asia/Katmandu',
'(GMT+06:00) Almaty' => 'Asia/Almaty',
'(GMT+06:00) Astana' => 'Asia/Dhaka',
'(GMT+06:00) Dhaka' => 'Asia/Dhaka',
'(GMT+06:00) Ekaterinburg' => 'Asia/Yekaterinburg',
'(GMT+06:30) Rangoon' => 'Asia/Rangoon',
'(GMT+07:00) Bangkok' => 'Asia/Bangkok',
'(GMT+07:00) Hanoi' => 'Asia/Bangkok',
'(GMT+07:00) Jakarta' => 'Asia/Jakarta',
'(GMT+07:00) Novosibirsk' => 'Asia/Novosibirsk',
'(GMT+08:00) Beijing' => 'Asia/Hong_Kong',
'(GMT+08:00) Chongqing' => 'Asia/Chongqing',
'(GMT+08:00) Hong Kong' => 'Asia/Hong_Kong',
'(GMT+08:00) Krasnoyarsk' => 'Asia/Krasnoyarsk',
'(GMT+08:00) Kuala Lumpur' => 'Asia/Kuala_Lumpur',
'(GMT+08:00) Perth' => 'Australia/Perth',
'(GMT+08:00) Singapore' => 'Asia/Singapore',
'(GMT+08:00) Taipei' => 'Asia/Taipei',
'(GMT+08:00) Ulaan Bataar' => 'Asia/Ulan_Bator',
'(GMT+08:00) Urumqi' => 'Asia/Urumqi',
'(GMT+09:00) Irkutsk' => 'Asia/Irkutsk',
'(GMT+09:00) Osaka' => 'Asia/Tokyo',
'(GMT+09:00) Sapporo' => 'Asia/Tokyo',
'(GMT+09:00) Seoul' => 'Asia/Seoul',
'(GMT+09:00) Tokyo' => 'Asia/Tokyo',
'(GMT+09:30) Adelaide' => 'Australia/Adelaide',
'(GMT+09:30) Darwin' => 'Australia/Darwin',
'(GMT+10:00) Brisbane' => 'Australia/Brisbane',
'(GMT+10:00) Canberra' => 'Australia/Canberra',
'(GMT+10:00) Guam' => 'Pacific/Guam',
'(GMT+10:00) Hobart' => 'Australia/Hobart',
'(GMT+10:00) Melbourne' => 'Australia/Melbourne',
'(GMT+10:00) Port Moresby' => 'Pacific/Port_Moresby',
'(GMT+10:00) Sydney' => 'Australia/Sydney',
'(GMT+10:00) Yakutsk' => 'Asia/Yakutsk',
'(GMT+11:00) Vladivostok' => 'Asia/Vladivostok',
'(GMT+12:00) Auckland' => 'Pacific/Auckland',
'(GMT+12:00) Fiji' => 'Pacific/Fiji',
'(GMT+12:00) International Date Line West' => 'Pacific/Kwajalein',
'(GMT+12:00) Kamchatka' => 'Asia/Kamchatka',
'(GMT+12:00) Magadan' => 'Asia/Magadan',
'(GMT+12:00) Marshall Is.' => 'Pacific/Fiji',
'(GMT+12:00) New Caledonia' => 'Asia/Magadan',
'(GMT+12:00) Solomon Is.' => 'Asia/Magadan',
'(GMT+12:00) Wellington' => 'Pacific/Auckland',
'(GMT+13:00) Nuku\'alofa' => 'Pacific/Tongatapu'
);
?>

 8 
 on: February 21, 2019, 05:14: PM 
Started by admin - Last post by admin
I wanted to hide a uploaded graphic header on a smartphone because it took up too much space, yet I wanted the uploaded graphic header to show on larger screens. Although I saw a lot complicated ways to do it , this method below was by far the simplest.

On the page I added this style into the head area.

 <style>
    @media all and (max-width: 479px) {
    .header_upload {display:none;}
}</style>


Then what ever I wanted to hide I wrapped it in a Div tag with the class of the element name (in red) :

<div class="header_upload">
         <?php
// Show IF Conditional region2
if (@$row_rsgroup_prefences_session['group_pref_website_header'] != "") {
?>
              <?php include("Main_File_1/inc_pages/header_logo.php"); ?><?php }
// endif Conditional region2
?>
         <?php
// Show IF Conditional region3
if (@$row_rsgroup_preferences_url['group_pref_website_header'] != "") {
?>
              <?php include("Main_File_1/inc_pages/header_logo.php"); ?>
              <?php }
// endif Conditional region3
?>
      </div>  

You can add as many <Div class"Element_Name"> </Div> wrappers on a page as you need too it seems.

just add this to the Media style for each element you want to hide.
 .Element_Name {display:none;}

 9 
 on: July 05, 2018, 04:14: PM 
Started by admin - Last post by admin
put this at the top of the page before anything else

<?php
ob_start();
error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED));
?>

 10 
 on: June 15, 2018, 01:44: AM 
Started by admin - Last post by admin
<style type="text/css">
table {
  table-layout: fixed;
  width: 100%
}

 td {

    /* css-3 */
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
}
</style>

or try this

<table style="table-layout: fixed; width: 100%">
<td style=" white-space: -o-pre-wrap;
    word-wrap: break-word;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap; ">

<?php echo $row_rsnotes['note']; ?>

</td>
</table>

White space is the trick here

Pages: [1] 2 3 4 5 6 ... 10
Web Global Net Web Application & Web Development Project Center  |  Recent Posts


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!