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
echo '<pre>'; | |
print_r(get_category()); | |
echo '</pre>'; |
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 | |
if ( ! function_exists( 'get_function_files' ) ) { | |
function get_function_files($path){ | |
$function_files = glob($folder.$path, GLOB_BRACE); | |
foreach($function_files as $function_file){ | |
if (substr($function_file, -8) != '-off.php'){ | |
require_once($function_file); | |
} | |
} | |
} |
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
<!-- Don't forget to include jquery --> | |
<!-- the markup --> | |
<span class="counter" data-increment-value="0.07" data-increment-time="1000">1000.45</span> | |
<span class="counter" data-increment-value="0.03" data-increment-time="100">814.73</span> | |
<!-- the script --> | |
<script> | |
$( ".counter" ).each(function() { | |
// Get initial value (span value) as a number |
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 lambert93ToWgs84($x, $y){ | |
$x = number_format($x, 10, '.', ''); | |
$y = number_format($y, 10, '.', ''); | |
$b6 = 6378137.0000; | |
$b7 = 298.257222101; | |
$b8 = 1/$b7; | |
$b9 = 2*$b8-$b8*$b8; | |
$b10 = sqrt($b9); | |
$b13 = 3.000000000; |
NewerOlder