This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule ^(.*)$ index.php/$1 [L] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $root=(isset($_SERVER["HTTPS"]) ? "https://" : "http://").$_SERVER["HTTP_HOST"]; | |
| $root.= str_replace(basename($_SERVER["SCRIPT_NAME"]), "", $_SERVER["SCRIPT_NAME"]); | |
| $config["base_url"] = $root; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| password_hash('password',PASSWORD_BCRYPT,['cost'=>12]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $url); | |
| curl_setopt($ch, CURLOPT_HEADER, 0); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
| curl_setopt($ch, CURLOPT_HTTPHEADER, $header); | |
| curl_setopt($ch, CURLOPT_POST, 1); | |
| curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data_array)); | |
| $result_e = curl_exec($ch); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // input filter for number | |
| $.fn.inputFilter = function(inputFilter) { | |
| return this.on("input keydown keyup mousedown mouseup select contextmenu drop", function() { | |
| if (inputFilter(this.value)) { | |
| this.oldValue = this.value; | |
| this.oldSelectionStart = this.selectionStart; | |
| this.oldSelectionEnd = this.selectionEnd; | |
| } else if (this.hasOwnProperty("oldValue")) { | |
| this.value = this.oldValue; | |
| this.setSelectionRange(this.oldSelectionStart, this.oldSelectionEnd); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Clean Input Data | |
| * | |
| * This is a helper function. It escapes data and | |
| * standardizes newline characters to \n | |
| * | |
| * @access private | |
| * @param string | |
| * @return string | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $( document ).ready(function() { | |
| $('ul').on('click', function(){ | |
| var x=$(this).find('li.highlight > span.dial-code').text(); | |
| $("#phone").val(x); | |
| }); | |
| }); | |
| js/utils.js | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function printBot(){ | |
| static $nm = 1; | |
| if($nm >= 29){ | |
| return; | |
| } | |
| if($nm%2 !== 0){ | |
| echo $nm."\n"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Plug-in name :magnific popup | |
| ============================== | |
| <div class="col-xl-6 col-lg-6 d-none d-lg-block"> | |
| <div class="video-bg"> | |
| <img src="assets/img/video-bg.jpg" alt=""> | |
| <a href="https://www.youtube.com/watch?v=iMKTtbheCeQ" class="video-popup"> | |
| <i class="fa fa-play-circle"></i> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*----------------------------------------------------------------------------------- | |
| Template Name: HTML Template Name | |
| Template URI: URI | |
| Description: This is html5 template | |
| Author: HasTech | |
| Author URI: Author URI | |
| Version: 1.0 | |
| ----------------------------------------------------------------------------------- |