[PHP][Config.php] SimpleTimer - A customizable coming soon template with a timer 1.0.2

A customizable coming soon template with a timer
desc.png


Simple and customizable coming soon template
any customization can be done with a config file

screenshots.png


3654552bf612797a8fadafb3ff69020c.gif


d2d6c8ab1da5f17ebcfe5afe4e68f360.gif


6037a590070575c77a60ffe8ddec04fb.gif


Demo.png


You can check it out here

configuration.png
Config.php
Code:
<?php

    /**
    * You can use following variables
    * {{COPYRIGHT}} : will give you copyright symbol
    * {{THISYEAR}} : will give you current YEAR
    * {{THISMONTH}} : will give you current MONTH
    * {{THISDAY}} : will give you current DAY
    * {{THISWEEK}} : will give you current DAY
    * {{DATE}} : will give you current DATE
    * {{MAINURL}} : will give you main domain
    **/

    /*
    * Timezone
    * You can get list down bellow
    *
    * Africa: http://php.net/manual/en/timezones.africa.php
    * America: http://php.net/manual/en/timezones.america.php
    * Antarctica: http://php.net/manual/en/timezones.antarctica.php
    * Arctic: http://php.net/manual/en/timezones.arctic.php
    * Asia: http://php.net/manual/en/timezones.asia.php
    * Atlantic: http://php.net/manual/en/timezones.atlantic.php
    * Australia: http://php.net/manual/en/timezones.australia.php
    * Europe: http://php.net/manual/en/timezones.europe.php
    * Indian: http://php.net/manual/en/timezones.indian.php
    * Pacific: http://php.net/manual/en/timezones.pacific.php
    * Others: http://php.net/manual/en/timezones.others.php
    *
    * Default: Europe/London
    */
    $GLOBALS['config']['timezone'] = 'Europe/London';

    /**
    * Choose a title for your website
    **/
    $GLOBALS['config']['title'] = 'Example';

    /**
    * Choose a fav icon for your website
    * leave it empty for default favicon
    **/
    $GLOBALS['config']['favicon'] = 'https://google.com/favicon.ico';

    /**
    * Name of your Network or Company
    **/
    $GLOBALS['config']['name'] = 'Demo Timer';

    /**
    * URL of background image
    * Leave it blank if you don't have a background
    **/
    $GLOBALS['config']['background_image'] = '';

    /**
    * Choose a bacground color or if background image was included will be applied to box
    * Default: Black
    **/
    $GLOBALS['config']['background_color'] = '#002d8c';

    /**
    * URL of background image
    * Leave it empty if you don't have a logo
    **/
    $GLOBALS['config']['logo_image'] = '';

    /**
    * Size of your logo
    * big,medium,small or number for custom size
    * Default: Big
    **/
    $GLOBALS['config']['logo_size'] = 'big';

    /**
    * Does it include timer?
    * true = yes, false = no
    * Default: no
    **/
    $GLOBALS['config']['timer'] = 'true';

    /**
    * Date, that you sure is going to be released
    * Use folowing format: August 10 2017 21:00:00
    **/
    $GLOBALS['config']['date'] = 'August 9 2018 01:30:00';

    /**
    * Choose a custom timer animation
    * normal,circle,odometer
    * Default: normal
    **/
    $GLOBALS['config']['timer_animation'] = 'odometer';

    /**
    * Choose a color for a timer
    * Default: White
    **/
    $GLOBALS['config']['timer_color'] = 'white';

    /**
    * Choose a size for a timer
    * big,medium,small or number for custom size
    * Default: Medium
    **/
    $GLOBALS['config']['timer_size'] = 'big';

    /**
    * Color for circle animation
    * Default: White
    **/
    $GLOBALS['config']['circle_color'] = 'white';


    /**
    * Url, that will redirect you after the date is passed
    * Leave it empty if no redirection going to happen
    **/
    $GLOBALS['config']['url_redirection'] = '';

    /**
    * Text Color
    * Default: White
    **/
    $GLOBALS['config']['text_color'] = '#fff';

    /**
    * Body Content
    * It can contain HTML
    **/
    $GLOBALS['config']['body_content'] = 'This is a demo page. its customizable by using config.php.';

    /*
    * Link color
    * Default: same color for Text
    */
    $GLOBALS['config']['link_color'] = 'purple';

    /**
    * Text Size
    * big,medium,small or number for custom size
    **/
    $GLOBALS['config']['text_size'] = 'small';

    /**
    * Footer Content
    * It can be contain HTML
    **/
    $GLOBALS['config']['footer_content'] = '{{COPYRIGHT}} example {{THISYEAR}}';

    /**
    *
    * Navigation
    * example
    * 'Name' => 'url',
    * 'Name2' => 'url2'
    *
    **/
    $GLOBALS['config']['navigation'] = [
        'Link1' => '#',
        'Link2' => '#',
        'Link3' => '#',
        'Link4' => '#'
    ];

    /**
    *
    * Navigation Background Color
    *
    **/
    $GLOBALS['config']['navigation_bg'] = '#032875';

    /**
    *
    * Navigation Background Text Color
    *
    **/
    $GLOBALS['config']['navigation_color'] = 'white';

    /**
    *
    * Navigation Background Text Color on Hover
    *
    **/
    $GLOBALS['config']['navigation_color_hover'] = '#032875';


    /**
    *
    * Navigation Button Background Color
    *
    **/
    $GLOBALS['config']['navigation_btn'] = '#032875';

    /**
    *
    * Navigation Button Background Color on Hover
    *
    **/
    $GLOBALS['config']['navigation_btn_hover'] = 'white';

    /**
    * Additional CSS code
    * Example path/to/example.css (You can also insert URL)
    * Leave it empty if you dont have an additional CSS file
    **/
    $GLOBALS['config']['additional_css'] = '';

    /**
    * Additional JS code
    * Example path/to/example.js (You can also insert URL)
    * Leave it empty if you dont have an additional JS file
    **/
    $GLOBALS['config']['additional_js'] = '';
?>

TO DO LIST:
+ Add navigation [COMPLETED]
= SEO optimization
Got any suggestions? let me know at Discussion section.

Contactme.png
Dm me here if you got any questions/issues.

Latest updates

  1. Version 1.0.2 *Quick Fix*

    Quick fix i made on current version sorry for double update.
  2. Version 1.0.2 11/29/2017

    + Added Navigation bar (with config and structure) + Fixed Small bugs If you got any...
  3. Version 1.0.1 11/21/2017

    + To include additional Javascript or CSS code you need to include the path instead of code...

Author

Petscop

Owner
Author
Petscop
Downloads
5
Type
Digital product
License duration
Unlimited
Price
2.99 USD
Views
1,149
First release
Last update
Rating
0.00 star(s) 0 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.