Exemplo n.º 1
0
                }
                $init++;
            }
        }
        return $css;
    }
    static function show_icons($css)
    {
        $html = "<div class='panel panel-default'/>\n";
        $html .= "<div class='panel-body'>\n";
        $html .= "<div class='row'/>\n";
        $i = 0;
        foreach ($css as $arr => $class) {
            if ($i == 6) {
                $i = 0;
                $html .= "</div><div class='row'>\n";
            }
            $un_class = str_replace('.', '', $class);
            $html .= "<div class='col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center' style='padding:10px; 0px;'>\n";
            $html .= "<i style='font-size:230%;' class='entypo {$un_class}'></i><br/>.entypo {$un_class}";
            $html .= "</div>\n";
            $i++;
        }
        $html .= "</div>\n";
        $html .= "</div></div>\n";
        return $html;
    }
}
$css_file = icon::get_css('entypo.css');
echo icon::show_icons($css_file);
require_once THEMES . "templates/footer.php";