Coming from http://cssdeck.com/labs/progress-circle
A Pen by Clément Noterdaem on CodePen.
| <?php | |
| // Zeuxis Lo | |
| // Created at 2011-03-23 05:05 PM | |
| date_default_timezone_set("Asia/Hong_Kong"); | |
| function calculate_rank_sum($score, $created_at) { | |
| $order = log10(max(abs($score), 1)); | |
| if ($score > 0) { |
| <html> | |
| <html> | |
| <head> | |
| <title>jQuery Opening Hours</title> | |
| <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"> | |
| </head> | |
| <body> | |
| <div class="range-head"> | |
| <div class="range-values"> |
Coming from http://cssdeck.com/labs/progress-circle
A Pen by Clément Noterdaem on CodePen.
| <?php | |
| /** | |
| * TimThumb by Ben Gillbanks and Mark Maunder | |
| * Based on work done by Tim McDaniels and Darren Hoyt | |
| * http://code.google.com/p/timthumb/ | |
| * | |
| * GNU General Public License, version 2 | |
| * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
| * | |
| * Examples and documentation available on the project homepage |
| function get_last_part(string) { | |
| return string.indexOf("-")<0?"":string.slice(string.lastIndexOf("-")+1); | |
| } | |
| <?php | |
| /** | |
| * Formats string, removes accents from string | |
| * @param string $string String to format | |
| * @return string | |
| */ | |
| function strip_accent($string) | |
| { | |
| $accents = '/&([A-Za-z]{1,2})(grave|acute|circ|cedil|uml|lig);/'; |
A little experiment of our logo into pure CSS3 code ;-) http://misterjekyll.be
A Pen by Clément Noterdaem on CodePen.